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

angular-es6

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-es6 - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

4

dist/createDirectiveFactory.js

@@ -9,3 +9,3 @@ 'use strict';

var _isFunction = require('lodash/lang/isFunction');
var _isFunction = require('lodash/isFunction');

@@ -20,3 +20,3 @@ var _isFunction2 = _interopRequireDefault(_isFunction);

var $inject = arguments.length <= 0 || arguments[0] === undefined ? [] : arguments[0];
var instance = arguments[1];
var instance = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
var args = arguments[2];

@@ -23,0 +23,0 @@ var varName = arguments.length <= 3 || arguments[3] === undefined ? '$inject' : arguments[3];

@@ -16,6 +16,2 @@ 'use strict';

var _capitalize = require('lodash/string/capitalize');
var _capitalize2 = _interopRequireDefault(_capitalize);
var _angular = require('angular');

@@ -33,2 +29,6 @@

function capitalizeFirstLetter(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}
function firstToLowerCase(str) {

@@ -75,3 +75,3 @@ return str.substr(0, 1).toLowerCase() + str.substr(1);

var Controller = req(filePath);
module.controller((0, _capitalize2.default)(name), Controller.default ? Controller.default : Controller);
module.controller(capitalizeFirstLetter(name), Controller.default ? Controller.default : Controller);
});

@@ -108,3 +108,3 @@ }

var factory = req(filePath);
module.factory((0, _capitalize2.default)(name), factory.default ? factory.default : factory);
module.factory(capitalizeFirstLetter(name), factory.default ? factory.default : factory);
});

@@ -111,0 +111,0 @@ }

{
"name": "angular-es6",
"description": "Angular ES6 utility library. Write directives, controllers and services as ES6 classes.",
"version": "3.0.4",
"version": "3.0.5",
"private": false,

@@ -39,23 +39,26 @@ "author": {

"dependencies": {
"lodash": "^3.10.1"
"lodash": "^4.11.2"
},
"devDependencies": {
"angular": "^1.4.9",
"babel-cli": "^6.4.5",
"babel-core": "^6.4.5",
"babel-eslint": "^4.1.3",
"babel-loader": "^6.2.1",
"babel-plugin-transform-class-properties": "^6.4.0",
"babel-preset-es2015": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
"babel-preset-stage-1": "^6.3.13",
"eslint": "^1.10.3",
"eslint-config-airbnb": "^0.1.1",
"eslint-loader": "^1.2.0",
"eslint-plugin-react": "^3.15.0",
"gulp": "^3.9.0",
"gulp-babel": "^6.1.1",
"angular": "^1.5.5",
"babel-cli": "^6.8.0",
"babel-core": "^6.8.0",
"babel-eslint": "^6.0.4",
"babel-loader": "^6.2.4",
"babel-plugin-transform-class-properties": "^6.8.0",
"babel-preset-es2015": "^6.6.0",
"babel-preset-stage-0": "^6.5.0",
"babel-preset-stage-1": "^6.5.0",
"eslint": "^2.9.0",
"eslint-config-airbnb": "^8.0.0",
"eslint-loader": "^1.3.0",
"eslint-plugin-react": "^5.0.1",
"eslint-plugin-jsx-a11y": "^1.0.2",
"eslint-plugin-import": "^1.6.0",
"gulp": "^3.9.1",
"gulp-babel": "^6.1.2",
"gulp-mocha": "^2.2.0",
"gulp-util": "^3.0.7",
"should": "^8.2.0"
"should": "^8.3.1",
"webpack": "^1.13.0"
},

@@ -62,0 +65,0 @@ "peerDependencies": {

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