Comments (2)
At some point the code empties the array when its being fed it to the stream. While its against normal best practices (such as defensive programming and such) I opted not to copy the array immediately since at times we are talking about very long arrays.
In this particular we rely on the client (i.e you) to use defensive programming.
Will update the documentation about this.
from node-regedit.
ok, for my case I want to keep the keys after the creation so I cloned the array before.
Thank you for your explanation.
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.