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

angular-es-utils

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-es-utils - npm Package Compare versions

Comparing version 1.2.15 to 1.2.16

4

index.js

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

});
exports.Mediator = exports.Injector = exports.Animation = exports.Deferred = exports.ModuleHelper = exports.FactoryCreator = undefined;
exports.Mediator = exports.getInjector = exports.Animation = exports.Deferred = exports.ModuleHelper = exports.FactoryCreator = undefined;

@@ -51,3 +51,3 @@ var _decorators = require('./decorators');

exports.Animation = _animation2.default;
exports.Injector = _injector2.default;
exports.getInjector = _injector2.default;
exports.Mediator = _mediator2.default; /**

@@ -54,0 +54,0 @@ * @author Kuitos

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

});
exports.getInjector = getInjector;
exports.default = getInjector;

@@ -15,4 +15,2 @@ var _angular = require('angular');

var injector = null;
/**

@@ -22,8 +20,2 @@ * 获取应用的injector,默认查询被ng-app标记的节点,否则从document.body开始找

*/
/**
* @author Kuitos
* @homepage https://github.com/kuitos/
* @since 2016-04-25
*/
function getInjector() {

@@ -52,14 +44,6 @@ var rootElement = arguments.length <= 0 || arguments[0] === undefined ? document.querySelector('[ng-app]') || document.body : arguments[0];

return null;
}
// make commonjs have the same behavior with es6 module
Object.defineProperty(exports, 'default', {
set: function set(value) {
injector = value;
},
get: function get() {
return injector || getInjector();
}
});
exports.default = injector;
} /**
* @author Kuitos
* @homepage https://github.com/kuitos/
* @since 2016-04-25
*/
{
"name": "angular-es-utils",
"version": "1.2.15",
"version": "1.2.16",
"description": "es utils design for angular1.x",

@@ -5,0 +5,0 @@ "main": "./index.js",

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