Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

regedit

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regedit - npm Package Compare versions

Comparing version 2.2.4 to 2.2.5

test/issues.test.js

21

index.js

@@ -51,3 +51,3 @@ var util = require('util')

if (typeof callback === 'function') {
if (typeof callback === 'function') {
execute(toCommandArgs('regList.wsf', architecture, keys), callback)

@@ -122,4 +122,4 @@ } else {

var values = []
for (var key in map) {
for (var key in map) {
var keyValues = map[key]

@@ -247,3 +247,4 @@

handleErrorsAndClose(child, callback)
handleErrorsAndClose(child, callback)
helper.writeArrayToStream(keys, child.stdin)

@@ -300,2 +301,8 @@ })

case 'REG_SZ':
if (value === '') {
return '\0'
}
return value
default:

@@ -309,8 +316,8 @@ return value

var result = baseCommand(cmd, arch)
if (typeof keys === 'string') {
if (typeof keys === 'string') {
result.push(keys)
} else if (util.isArray(keys)) {
} else if (util.isArray(keys)) {
result = result.concat(keys)
} else {
debug('creating command without using keys %s', keys ? keys : '')
debug('creating command without using keys %s', keys ? keys : '')
}

@@ -317,0 +324,0 @@

@@ -20,3 +20,3 @@ var debug = require('debug')('regedit')

function write(m) {
if (m) {
if (m !== undefined) {
var b = module.exports.encode(m)

@@ -26,2 +26,4 @@ debug(b)

}
return false
}

@@ -28,0 +30,0 @@

{
"name": "regedit",
"version": "2.2.4",
"version": "2.2.5",
"description": "Read, Write, List and do all sorts of funky stuff to the windows registry using node.js and windows script host",

@@ -5,0 +5,0 @@ "keywords": [

var should = require('should')
var index = require('../index')
describe('benchmark test', function (done) {
describe.skip('benchmark test', function (done) {
this.timeout(40000)

@@ -12,3 +12,3 @@

it.only('create', function (done) {
it('create', function (done) {

@@ -15,0 +15,0 @@ console.time('start create')

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc