livepack
livepack copied to clipboard
Serialize live running code to Javascript
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.23.6 to 7.24.0. Release notes Sourced from @babel/types's releases. v7.24.0 (2024-02-28) Thanks @ajihyf for your first PR! Release post with summary and highlights: https://babeljs.io/7.24.0 :rocket: New Feature...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.23.6 to 7.24.0. Release notes Sourced from @babel/core's releases. v7.24.0 (2024-02-28) Thanks @ajihyf for your first PR! Release post with summary and highlights: https://babeljs.io/7.24.0 :rocket: New Feature...
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.23.6 to 7.24.0. Release notes Sourced from @babel/parser's releases. v7.24.0 (2024-02-28) Thanks @ajihyf for your first PR! Release post with summary and highlights: https://babeljs.io/7.24.0 :rocket: New Feature...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.23.6 to 7.24.0. Release notes Sourced from @babel/traverse's releases. v7.24.0 (2024-02-28) Thanks @ajihyf for your first PR! Release post with summary and highlights: https://babeljs.io/7.24.0 :rocket: New Feature...
Bumps [tinypool](https://github.com/tinylibs/tinypool) from 0.8.1 to 0.8.2. Commits 6ca7bb4 0.8.2 0eb5e0c fix: use internal workerId for child_process runtime (#81) ac2e839 fix: pass argv to child_process (#79) 8e941b5 Update README.md 00a9f2c docs:...
Input: ```js const obj = { ['__proto__']: {x: 123} }; assert(obj.x === undefined); assert(Object.getPrototypeOf(obj) === Object.prototype); assert(Object.keys(obj)[0] === '__proto__'); export default obj; ``` Current output: ```js export default Object.defineProperty({}, "__proto__",...
Livepack's output often includes a lot of verbose `Object.defineProperties()` calls like: ```js Object.defineProperties( obj, { x: { value: 123, writable: true, configurable: true }, y: { value: 456, writable: true,...
### Problem Input: ```js export default class C { x = 1; } ``` Output: ```js export default class C {} ``` The class property has been ignored. `new C().x`...
Class private fields are supported in Node v12, and private methods in Node v14. Livepack currently ignores both. Support would be tricky to implement. By definition, both are not accessible...
When serializing any non-primitive value, it is looked up in the `globals` Map, to check if it's a global property or property of a NodeJS built-in module e.g. `Object.is` or...