@cypress/registry-js
Advanced tools
Comparing version 1.3.2-patch1 to 1.3.2-patch12
"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-patch1", | ||
"version": "1.3.2-patch12", | ||
"description": "A simple and opinionated library for working with the Windows registry", | ||
@@ -8,19 +8,17 @@ "main": "dist/lib/index.js", | ||
"scripts": { | ||
"install": "prebuild-install || node-gyp rebuild", | ||
"install": "yarn run prebuild-install || yarn run gyp-rebuild", | ||
"prebuild-install": "prebuild-install -t 8.2.1 -r node && move build build-node && prebuild-install -t 1.8.2 -r electron && move build build-electron && prebuild-install", | ||
"gyp-rebuild": "node-gyp rebuild && move build build-node", | ||
"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 --strip --path ./build-node", | ||
"prebuild-node-ia32": "prebuild -t 8.2.1 -a ia32 --strip --path ./build-node", | ||
"prebuild-electron": "prebuild -t 1.8.2 -r electron --strip --path ./build-electron", | ||
"prebuild-electron-ia32": "prebuild -t 1.8.2 -r electron -a ia32 --strip --path ./build-electron", | ||
"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" | ||
}, | ||
@@ -31,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": { | ||
@@ -36,0 +34,0 @@ "@types/benchmark": "^1.0.31", |
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
250531
1