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

ember

Package Overview
Dependencies
Maintainers
8
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

40

index.js

@@ -1,10 +0,32 @@

console.log('====================================================================');
const { spawn } = require('child_process');
const [_node, _bin, ...args] = process.argv;
if (args.includes('--postinstall')) {
console.log(
'===================================================================='
);
console.log('');
console.log(
' The `ember` node module is a placeholder, you may be looking for:'
);
console.log('');
console.log(' * `ember-cli` (the command line tool) ');
console.log(' * `ember-source` (the framework code) ');
console.log('');
console.log(' Visit https://emberjs.com/ for more details');
console.log('');
console.log(
'===================================================================='
);
return;
}
console.log('');
console.log(' The `ember` node module is a placeholder, you may be looking for:');
console.log('');
console.log(' * `ember-cli` (the command line tool) ');
console.log(' * `ember-source` (the framework code) ');
console.log('');
console.log(' Visit http://emberjs.com/ for more details');
console.log('');
console.log('====================================================================');
console.log(
` Forwarding request to ember-cli via \`npx ember-cli ${args.join(' ')}\``
);
spawn('npx', ['ember-cli', ...args], {
stdio: 'inherit',
}).on('exit', code => process.exit(code));
{
"name": "ember",
"version": "1.0.3",
"version": "1.1.0",
"description": "A framework for creating ambitious web applications.",
"main": "index.js",
"scripts": {
"postinstall": "node ./index.js"
"postinstall": "node ./index.js --postinstall",
"test": "rm -rf ./my-app/; node ./index.js",
"test:app": "npm run test -- new my-app --skip-git --skip-npm"
},

@@ -9,0 +11,0 @@ "repository": {

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