Comments (5)
this.push(JSON.parse(chunk))
When chunk
including \t
, the \t
must be escaped with \
according to RFC4627 JSON https://www.ietf.org/rfc/rfc4627.txt, page 4.
Check:
coffee> JSON.parse('["\\t"]')
[ '\t' ]
coffee> JSON.parse('["\t"]')
SyntaxError: Unexpected token
at Object.parse (native)
[...]
from node-regedit.
Additional replacement processes to escape extended characters (e.g., tab, backspace, etc.) are needed in Function JsonSafe.
The replacement rule are written in RFC 4627 Section "2.5. Strings" https://www.ietf.org/rfc/rfc4627.txt, page 4.
from node-regedit.
Hi @mh61503891
Would you be so kind as to post a small code snippet that replicates this problem so we can work on it?
Thanks
Yaniv
from node-regedit.
@mh61503891 bump
from node-regedit.
No response from submitting party, closing this issue for now
from node-regedit.
Related Issues (20)
- need to move arch.promisified into promisified
- unsupported hive HOT 3
- Missing types for stream and listUnexpandedValues
- Error: vbscript process reported unknown error code 161 HOT 2
- Command failed HOT 2
- Changelog? HOT 1
- regedit.putValue():error:unsupported hive HOT 7
- Unsupported Hive HOT 6
- Set External VBS Location HOT 1
- Undefined childProcess.execFile HOT 1
- Cannot read properties of undefined (reading 'list32')
- How do I use ES6 syntax? HOT 5
- regedit is either undefined or returns unknown error code 1 for electron HOT 1
- regList.wsf(0, 2) (null): 0x80041002 HOT 3
- Can't find wsf files in development mode HOT 3
- use nodebyte compiled: putValue Error
- any way to send hex values instead of binary? HOT 1
- Version published on NPM is missing the type definitions HOT 3
- regedit
- update TS types with new feature HOT 2
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 node-regedit.