Socket
Socket
Sign inDemoInstall

angular-remove-di-loaders

Package Overview
Dependencies
0
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.4

4

loaders/angular-es6-interop-loader.js

@@ -35,3 +35,3 @@ var util = require('../lib/util');

var registersES6Exports = content.match(/export (var|let|function|constant|class) \$\w+/);
var registersES6Exports = content.match(/export (var|let|function|const|class) \$\w+/);

@@ -54,3 +54,3 @@ if (registersAngularProviders && registersES6Exports) {

var exp = util.findAll('export\\s+(?:var|let|function|constant|class)\\s+([a-zA-Z0-9\\$_]+)', content);
var exp = util.findAll('export\\s+(?:var|let|function|const|class)\\s+([a-zA-Z0-9\\$_]+)', content);

@@ -57,0 +57,0 @@ // Map them to angular providers using our angular.provider shorthand

{
"name": "angular-remove-di-loaders",
"version": "1.0.2",
"version": "1.0.4",
"description": "Remove DI for angular, support ES6 modules",

@@ -5,0 +5,0 @@ "scripts": {

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