@cypress/registry-js
Advanced tools
Comparing version 1.3.2-patch2 to 1.3.2-patch20
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const requirePath = process.versions.electron | ||
? '../../build-electron/Release/registry.node' | ||
: '../../build-node/Release/registry.node'; | ||
const nativeModule = process.platform === "win32" | ||
? require(requirePath) | ||
: null; | ||
? "../../build-electron/Release/registry.node" | ||
: process.versions.node === "8.2.1" | ||
? "../../build-node/Release/registry.node" | ||
: "../build/Release/registry.node"; | ||
const nativeModule = process.platform === "win32" ? require(requirePath) : null; | ||
/** | ||
@@ -10,0 +10,0 @@ * Utility function used to achieve exhaustive type checks at compile time. |
{ | ||
"name": "@cypress/registry-js", | ||
"version": "1.3.2-patch2", | ||
"version": "1.3.2-patch20", | ||
"description": "A simple and opinionated library for working with the Windows registry", | ||
@@ -9,20 +9,16 @@ "main": "dist/lib/index.js", | ||
"install": "yarn run prebuild-install || yarn run gyp-rebuild", | ||
"prebuild-install": "prebuild-install -t 8.2.1 -r node && mv build build-node && prebuild-install -t 1.8.2 -r electron && mv build build-electron && prebuild-install", | ||
"gyp-rebuild": "node-gyp rebuild && mv build build-node", | ||
"prebuild-install": "node script/prebuild-install.js", | ||
"gyp-rebuild": "node-gyp rebuild && move build build-node || true", | ||
"build": "tsc", | ||
"pretest": "yarn build", | ||
"test": "jest -c jest.json", | ||
"prepublish": "yarn build", | ||
"postpublish": "git push --follow-tags", | ||
"benchmark": "ts-node benchmarks/reg.ts", | ||
"prettier": "prettier --write lib/*.ts test/*.ts", | ||
"check-prettier": "prettier --list-different lib/*.ts test/*.ts", | ||
"prebuild-node": "prebuild -t 8.2.1 -t 8.9.0 -t 9.4.0 -t 10.11.0 -t 11.9.0 --strip", | ||
"prebuild-node-ia32": "prebuild -t 8.2.1 -t 8.9.0 -t 9.4.0 -t 10.11.0 -t 11.9.0 -a ia32 --strip", | ||
"prebuild-electron": "prebuild -t 1.8.2 -t 2.0.0 -t 3.0.0 -t 4.0.4 -r electron --strip", | ||
"prebuild-electron-ia32": "prebuild -t 1.8.2 -t 2.0.0 -t 3.0.0 -t 4.0.4 -r electron -a ia32 --strip", | ||
"upload": "node ./script/upload.js" | ||
"check-prettier": "prettier --list-different lib/*.ts test/*.ts" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/desktop/registry-js.git" | ||
"url": "git+https://github.com/cypress-io/registry-js.git" | ||
}, | ||
@@ -33,5 +29,5 @@ "keywords": [], | ||
"bugs": { | ||
"url": "https://github.com/desktop/registry-js/issues" | ||
"url": "https://github.com/cypress-io/registry-js/issues" | ||
}, | ||
"homepage": "https://github.com/desktop/registry-js#readme", | ||
"homepage": "https://github.com/cypress-io/registry-js#readme", | ||
"devDependencies": { | ||
@@ -52,2 +48,2 @@ "@types/benchmark": "^1.0.31", | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
1
205198
16