Comments (2)
Nop, it DOES go deeper with replacer
; however, no other bigint but 0n
passes through the replacer without being serialized due to the following condition, which returns the 0n
directly.
Lines 86 to 88 in 343abd9
Other bigints are serialized as expected.
Also see #154
from serialize-javascript.
This repo seems quiet so I'll just post why and close:
Because big
is nested in an object, it doesn't go deeper and so BigInt is never serialized
from serialize-javascript.
Related Issues (20)
- How to fix these vulnerabilities by manual review ? HOT 1
- Unable to resolve module `buffer` in react-native HOT 2
- Line returns added in serialized function when running through jest HOT 2
- Manually fixing vulnerabilitites
- Any plans to support circular structures? HOT 3
- key filter support?
- Bug when used an object with a function and a variable with a function and destructuring HOT 1
- Can't used in browser? HOT 3
- `Error` objects are serialized to `{}` HOT 4
- The regExp of IS_PURE_FUNCTION & IS_ARROW_FUNCTION seem to be extra???
- The published npm package contains `.vscode`
- BigInt `0n` Throws Error HOT 2
- Use Function Objects for deserialization, instead of eval
- Is it deterministic?
- Security vulnerability for non-HTTP URLs HOT 3
- error secure random number generation is not supported by this browser HOT 3
- TypeError: randomBytes is not a function HOT 3
- Version 3.1.0 is not working in React-Native when is not in debugging mode or when is generating release HOT 7
- high severity vulnerability in package serialize-javascript HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serialize-javascript.