serialize-javascript icon indicating copy to clipboard operation
serialize-javascript copied to clipboard

Serialize JavaScript to a superset of JSON that includes regular expressions and functions.

Results 46 serialize-javascript issues
Sort by recently updated
recently updated
newest added

*properly When using shorthand to define a function as a method in an object literal, serialization assigns a named function expression, which fails to evaluate. ```$ var serialize = require('serialize-javascript');...

I just wanted to open a dedicated issue for the conversation [here](https://github.com/yahoo/serialize-javascript/pull/27#commitcomment-23198016), so that it doesn't get lost.

I am wondering if you cannot save a few cycles and bytes by not escaping `>`. As far as I can tell, is has no influence on `` termination?

Hello, Would it be feasible to implement support for typed arrays ?

Bumps [chai](https://github.com/chaijs/chai) from 4.3.7 to 5.1.0. Release notes Sourced from chai's releases. v5.1.0 What's Changed Remove useless guards and add parentheses to constuctors by @​koddsson in chaijs/chai#1593 Cleanup jsdoc comments...

dependencies

Bumps [mocha](https://github.com/mochajs/mocha) from 10.2.0 to 10.3.0. Release notes Sourced from mocha's releases. v10.3.0 This is a stable release equivalent to v10.3.0-preminor.0. What's Changed Fix deprecated warn gh actions by @​outsideris...

dependencies

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary...

Hi! I want to know if the result is deterministic, so reproducible across different environments (e.g. different node version, OS, etc). Thanks :)

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary...

Use Function Objects for deserialization, instead of unsafe eval