Xì Gà

Results 28 issues of Xì Gà

I got multiple problems when using DomUtils with `typescript` 1. ```typescript DomUtils.findAll(el => el.name === 'div' && el.parent?.name === 'body', dom.children') ``` > TS2339: Property 'name' does not exist on...

update some minors different between firefox, chrome, cookiejar cookies + try to import cookies as array, instead of {cookies: array} + default cookie value set: httpOnly,hostOnly,secure + for cookieJar: set...

missing package-lock

```js var prompts = require("prompts") prompts({ type: 'select', // initial greater than choices's size or initial is string will crash initial: 9, message: 'Hello world', choices: [ {title: 'Python', value:...

add `dirty-json.d.ts`

It's easy to allow action's keygen function access `ctx`, just need to add `ctx` as 6th param at https://github.com/0x0a0d/moleculer/blob/master/src/cachers/base.js#L351 In my case, I need to access `ctx.caller` How do you...

Type: Enhancement
Module: Cacher

## Current Behavior 1. do something likes `actions.find()` and `actions.find({sort: 'undefined'})` will return same cache 2. I dont understand [line 196 `isObject(val) || Array.isArray(val)`](https://github.com/moleculerjs/moleculer/blob/master/src/cachers/base.js#L196), because `typeof [] === "object"`, means...

Type: Bug
Module: Cacher
Breaking changes

Hi @icebob, Currently, how `populate` receive & send params, is predefined on `settings.populates`, I wonder if we can make it more flexible. Instead of `populate: string[]`, we can accept populate...

https://github.com/moleculerjs/moleculer-db/blob/024e74066528b61797011935425b70747c14a8d1/packages/moleculer-db/src/index.js#L790-L791 Before document(s) sent to entity events ``` entityCreated entityUpdated entityRemoved ``` and before sent to `entityChanged`, the raw document (return from adapter) was transformed This pull will allow access...