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

nw

Package Overview
Dependencies
Maintainers
0
Versions
677
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nw - npm Package Compare versions

Comparing version 0.89.0 to 0.90.0-1-sdk

LICENSE

24

package.json
{
"name": "nw",
"version": "0.89.0",
"description": "An installer for nw.js",
"version": "0.90.0-1-sdk",
"description": "An installer for NW.js",
"repository": {

@@ -17,8 +17,5 @@ "type": "git",

"test": "vitest run",
"test:cov": "vitest --coverage.enabled true",
"demo": "nw ./test/app --log-level=verbose"
"test:coverage": "vitest --coverage.enabled true"
},
"files": [
"bin",
"lib",
"src"

@@ -38,6 +35,6 @@ ],

"dependencies": {
"axios": "^1.7.2",
"axios": "^1.7.4",
"commander": "^12.1.0",
"semver": "^7.6.2",
"tar": "^7.4.0",
"semver": "^7.6.3",
"tar": "^7.4.3",
"yauzl-promise": "^4.0.0"

@@ -58,6 +55,7 @@ },

"devDependencies": {
"@vitest/coverage-v8": "^1.6.0",
"selenium-webdriver": "^4.22.0",
"vitest": "^1.6.0"
"@vitest/coverage-v8": "^2.0.5",
"patch-package": "^8.0.0",
"selenium-webdriver": "^4.23.0",
"vitest": "^2.0.2"
}
}
}

@@ -39,3 +39,3 @@ # nw

> Optionally set `nwjs_build_type=sdk` in `.npmrc` or `NWJS_BUILD_TYPE=sdk` environment variable.
Or set `nwjs_build_type=sdk` in `.npmrc` or `NWJS_BUILD_TYPE=sdk` environment variable.

@@ -42,0 +42,0 @@ ### Specify platform:

@@ -99,2 +99,8 @@ import fs from "node:fs";

await verify(
`${options.downloadUrl}/v${options.version}/SHASUMS256.txt`,
`${options.cacheDir}/shasum/${options.version}.txt`,
options.cacheDir,
);
await fs.promises.symlink(nwDirPath, './nwjs', );

@@ -101,0 +107,0 @@

@@ -0,1 +1,2 @@

import child_process from 'node:child_process';
import fs from 'node:fs';

@@ -11,2 +12,10 @@ import process from 'node:process';

const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
const patchPackagePath = path.resolve(path.join(__dirname, '..', 'node_modules', 'patch-package'));
if (fs.existsSync(patchPackagePath)) {
child_process.execSync('node ' + patchPackagePath);
}
await postinstall()

@@ -13,0 +22,0 @@ .catch((error) => {

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