New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-router-loader

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-router-loader - npm Package Compare versions

Comparing version

to
0.8.5

2

package.json
{
"name": "angular-router-loader",
"version": "0.8.4",
"version": "0.8.5",
"description": "A webpack loader for Angular that enables string-based module loading with the Angular Router",

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

@@ -51,3 +51,3 @@ var should = require('should');

' resolve(require(\'./path/to/file.module\')[\'FileModule\']);',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',

@@ -82,3 +82,3 @@ ' });',

' resolve(require(\'./path/to/file.module\')[\'FileModule\']);',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',

@@ -107,3 +107,3 @@ ' });',

' resolve(require(\'./path/to/file.module\')[\'FileModule\']);',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',

@@ -161,3 +161,3 @@ ' });',

' resolve(require(\'./path/to/file.module\')[\'FileModule\']);',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',

@@ -230,3 +230,3 @@ ' }, \'name\');',

checkResult(loadedString, result);
});
});

@@ -240,3 +240,3 @@ it('should return a loadChildren async require statement with default', function() {

' resolve(require(\'./path/to/file.module\')[\'default\']);',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',

@@ -260,3 +260,3 @@ ' });',

' resolve(require(\'./path/to/file.module\')[\'FileModule\']);',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',

@@ -283,3 +283,3 @@ ' });',

' resolve(require(\'.\\\\path\\\\to\\\\file.module\')[\'FileModule\']);',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',

@@ -305,3 +305,3 @@ ' });',

' resolve(require(\'path/to/file.module\')[\'FileModule\']);',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',

@@ -330,5 +330,5 @@ ' });',

' resolve(require(\'./path/to/file.module.ngfactory\')[\'FileModuleNgFactory\']);',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',
' });',
' });',
'}) }'

@@ -395,5 +395,5 @@ ];

' resolve(require(\'./path/to/file.module' + moduleSuffix + '\')[\'FileModuleNgFactory\']);',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',
' });',
' });',
'}) }'

@@ -417,3 +417,3 @@ ];

' resolve(require(\'./path/to/file.module.ngfactory\')[\'FileModule' + factorySuffix + '\']);',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',

@@ -437,5 +437,5 @@ ' });',

' resolve(require(\'path/to/file.module.ngfactory\')[\'FileModuleNgFactory\']);',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',
' });',
' });',
'}) }'

@@ -466,3 +466,3 @@ ];

' resolve(require(\'../../../compiled/src/app/groups/inventory/index.ngfactory\')[\'InventoryModuleNgFactory\']);',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',

@@ -469,0 +469,0 @@ ' });',

@@ -38,3 +38,3 @@ var should = require('should');

' resolve(' + getRequireString(path, name) + ');',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',

@@ -52,3 +52,3 @@ ' }, \'name\');',

' resolve(' + getRequireString(path, name) + ');',
' }, function(e) {',
' }, function(e: any) {',
' reject({ loadChunkError: true, details: e });',

@@ -55,0 +55,0 @@ ' });',

@@ -27,3 +27,3 @@ var os = require('os');

' resolve(' + requireString + ');',
' }, function(e) {',
' }, function(' + (isJs ? 'e' : 'e: any') + ') {',
' reject({ loadChunkError: true, details: e });',

@@ -30,0 +30,0 @@ ' }' + module.exports.getChunkName('require', chunkName) + ');',