Socket
Socket
Sign inDemoInstall

@neutralinojs/neu

Package Overview
Dependencies
139
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.5.0 to 9.5.1

8

.tmprz/release_notes.md
## What's new
### DevOps
- Implement a way to test plugins locally.
### Bugfixes/Improvements
- Use the `decompress` library instead of `unzipper` to fix issues with latest Node.js runtime versions.
- Generate the Mac universal binary with the `neu build` command.
Install the latest (`v9.5.0`) [npm package](https://www.npmjs.com/package/@neutralinojs/neu):
Install the latest (`v9.5.1`) [npm package](https://www.npmjs.com/package/@neutralinojs/neu):
```

@@ -11,0 +13,0 @@ npm i -g @neutralinojs/neu

@@ -9,2 +9,9 @@ # Changelog

## v9.5.1
### Bugfixes/Improvements
- Use the `decompress` library instead of `unzipper` to fix issues with latest Node.js runtime versions.
- Generate the Mac universal binary with the `neu build` command.
## v9.5.0

@@ -11,0 +18,0 @@

{
"name": "@neutralinojs/neu",
"version": "9.5.0",
"version": "9.5.1",
"description": "neu CLI for Neutralinojs",

@@ -36,2 +36,3 @@ "main": "./bin/neu.js",

"configstore": "^5.0.1",
"decompress": "^4.2.1",
"edit-json-file": "^1.6.2",

@@ -42,3 +43,2 @@ "figlet": "^1.5.0",

"recursive-readdir": "^2.2.2",
"unzipper": "^0.10.11",
"uuid": "^8.3.2",

@@ -45,0 +45,0 @@ "websocket": "^1.0.34"

@@ -31,4 +31,7 @@ const assert = require('assert');

binaries.includes('test-app-linux_arm64') &&
binaries.includes('test-app-linux_armhf') &&
binaries.includes('test-app-linux_x64') &&
binaries.includes('test-app-mac_x64') &&
binaries.includes('test-app-mac_arm64') &&
binaries.includes('test-app-mac_universal') &&
binaries.includes('test-app-win_x64.exe'));

@@ -35,0 +38,0 @@ });

@@ -20,3 +20,4 @@ module.exports = {

x64: "neutralino-mac_x64",
arm64: "neutralino-mac_arm64"
arm64: "neutralino-mac_arm64",
universal: "neutralino-mac_universal"
},

@@ -23,0 +24,0 @@ win32: {

@@ -5,5 +5,5 @@ const fs = require('fs');

const constants = require('../constants');
const unzipper = require('unzipper');
const config = require('./config');
const utils = require('../utils');
const decompress = require('decompress');

@@ -39,3 +39,4 @@ let getBinaryDownloadUrl = () => {

fs.mkdirSync('.tmp', { recursive: true });
const file = fs.createWriteStream('.tmp/binaries.zip');
const zipFilename = '.tmp/binaries.zip';
const file = fs.createWriteStream(zipFilename);
utils.log('Downloading Neutralinojs binaries..');

@@ -45,8 +46,6 @@ https.get(getBinaryDownloadUrl(), function (response) {

response.on('end', () => {
utils.log('Extracting zip file..');
fs.createReadStream('.tmp/binaries.zip')
.pipe(unzipper.Extract({ path: '.tmp/' }))
.promise()
.then(() => resolve())
.catch((e) => reject(e));
utils.log('Extracting zip file...');
decompress(zipFilename, '.tmp/')
.then(() => resolve())
.catch((e) => reject(e));
});

@@ -76,16 +75,15 @@ });

fs.mkdirSync('.tmp', { recursive: true });
const file = fs.createWriteStream('.tmp/template.zip');
const zipFilename = '.tmp/template.zip';
const file = fs.createWriteStream(zipFilename);
https.get(templateUrl, function (response) {
response.pipe(file);
response.on('end', () => {
utils.log('Extracting template zip file..');
fs.createReadStream('.tmp/template.zip')
.pipe(unzipper.Extract({ path: '.tmp/' }))
.promise()
.then(() => {
fse.copySync(`.tmp/${getRepoNameFromTemplate(template)}-main`, '.');
utils.clearCache();
resolve();
})
.catch((e) => reject(e));
utils.log('Extracting template zip file...');
decompress(zipFilename, '.tmp/')
.then(() => {
fse.copySync(`.tmp/${getRepoNameFromTemplate(template)}-main`, '.');
utils.clearCache();
resolve();
})
.catch((e) => reject(e));
});

@@ -92,0 +90,0 @@ });

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc