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

electron-named-image

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-named-image - npm Package Compare versions

Comparing version 1.0.4 to 2.0.0

.prebuildrc

18

package.json
{
"name": "electron-named-image",
"version": "1.0.4",
"version": "2.0.0",
"description": "Node.js bridge to Objective-C [NSImage imageNamed]. Simplifies using default macOS images in Electron apps.",
"main": "index.js",
"scripts": {
"install": "node-gyp rebuild",
"install": "prebuild-install || node-gyp rebuild",
"test-electron": "electron test/electron-test.js",
"test-node": "node test/node-test.js",
"compile-for-node": "node-gyp rebuild -d",
"compile-for-electron": "HOME=~/.electron-gyp node-gyp rebuild -d --target=1.7.6 --arch=x64 --dist-url=https://atom.io/download/electron",
"get-images": "node bin/generate-images"
"compile-for-electron": "HOME=~/.electron-gyp node-gyp rebuild -d --target=1.8.4 --arch=x64 --dist-url=https://atom.io/download/electron",
"get-images": "node bin/generate-images",
"prebuild": "prebuild --all --strip --verbose"
},

@@ -30,8 +31,11 @@ "keywords": [

"bindings": "^1.3.0",
"nan": "^2.6.2"
"nan": "^2.6.2",
"prebuild-install": "^2.5.1"
},
"devDependencies": {
"electron": "^1.7.6",
"electron-rebuild": "^1.6.0"
"electron": "^1.8.4",
"electron-rebuild": "^1.6.0",
"prebuild": "^7.4.0",
"prebuild-ci": "^2.2.3"
}
}

@@ -0,1 +1,6 @@

# This is deprecated because this functionality is now in Electron core.
See https://github.com/electron/electron/pull/10727
---
# electron-named-image

@@ -2,0 +7,0 @@ Native node.js addon that returns Objective-C `[NSImage imageNamed]` calls as a PNG buffer, which simplifies using default macOS images in Electron apps.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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