Socket
Socket
Sign inDemoInstall

ember-cli-moment-shim

Package Overview
Dependencies
205
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.0 to 0.6.0

5

blueprints/ember-cli-moment-shim/index.js

@@ -13,4 +13,7 @@ 'use strict';

// ignores `moment-timezone/builds/*`
return this.addBowerPackageToProject('moment-timezone');
return this.addBowerPackagesToProject([
{ name: 'moment', target: '>= 2.8.0' },
{ name: 'moment-timezone', target: '>= 0.1.0' }
]);
}
};

6

index.js

@@ -9,4 +9,2 @@ 'use strict';

var momentPath = path.dirname(require.resolve('moment'));
module.exports = {

@@ -79,2 +77,4 @@ name: 'moment',

var momentPath = path.join(this.project.bowerDirectory, 'moment');
trees.push(new Funnel(momentPath, {

@@ -112,3 +112,3 @@ destDir: 'moment',

default:
throw new Error("Ember Moment: Please specify the moment-timezone dataset to include as either 'all', '2010-2020', or 'none'.");
throw new Error("ember-moment: Please specify the moment-timezone dataset to include as either 'all', '2010-2020', or 'none'.");
break;

@@ -115,0 +115,0 @@ }

{
"name": "ember-cli-moment-shim",
"version": "0.5.0",
"version": "0.6.0",
"description": "Brings moment and moment-timezone into your Ember applications",

@@ -28,4 +28,3 @@ "scripts": {

"ember-cli-babel": "^5.0.0",
"lodash.defaults": "^3.1.2",
"moment": "~2.8.4"
"lodash.defaults": "^3.1.2"
},

@@ -32,0 +31,0 @@ "devDependencies": {

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