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.3

5

CHANGELOG.md

@@ -0,1 +1,6 @@

<a name="0.8.3"></a>
## [0.8.3](https://github.com/brandonroberts/angular-router-loader/compare/v0.8.2...v0.8.3) (2018-04-05)
<a name="0.8.2"></a>

@@ -2,0 +7,0 @@ ## [0.8.2](https://github.com/brandonroberts/angular-router-loader/compare/v0.8.1...v0.8.2) (2018-01-03)

2

package.json
{
"name": "angular-router-loader",
"version": "0.8.2",
"version": "0.8.3",
"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,4 +51,4 @@ var should = require('should');

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

@@ -82,4 +82,4 @@ '}) }'

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

@@ -107,4 +107,4 @@ '}) }'

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

@@ -127,4 +127,4 @@ '}) }'

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

@@ -162,4 +162,4 @@ '}) }'

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

@@ -180,3 +180,3 @@ '}) }'

'loadChildren: function() { return System.import(\'./path/to/file.module\')',
' .then(module => module[\'FileModule\'], () => { throw({ loadChunkError: true }); }) }'
' .then(module => module[\'FileModule\'], e => { throw({ loadChunkError: true, details: e }); }) }'
];

@@ -195,3 +195,3 @@

'loadChildren: function() { return System.import(/* webpackChunkName: "name" */ \'./path/to/file.module\')',
' .then(module => module[\'FileModule\'], () => { throw({ loadChunkError: true }); }) }'
' .then(module => module[\'FileModule\'], e => { throw({ loadChunkError: true, details: e }); }) }'
];

@@ -210,3 +210,3 @@

'loadChildren: function() { return import(\'./path/to/file.module\')',
' .then(module => module[\'FileModule\'], () => { throw({ loadChunkError: true }); }) }'
' .then(module => module[\'FileModule\'], e => { throw({ loadChunkError: true, details: e }); }) }'
];

@@ -225,3 +225,3 @@

'loadChildren: function() { return import(/* webpackChunkName: "name" */ \'./path/to/file.module\')',
' .then(module => module[\'FileModule\'], () => { throw({ loadChunkError: true }); }) }'
' .then(module => module[\'FileModule\'], e => { throw({ loadChunkError: true, details: e }); }) }'
];

@@ -244,4 +244,4 @@

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

@@ -264,4 +264,4 @@ '}) }'

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

@@ -287,4 +287,4 @@ '}) }'

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

@@ -309,4 +309,4 @@ '}) }'

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

@@ -334,4 +334,4 @@ '}) }'

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

@@ -367,3 +367,3 @@ '}) }'

'loadChildren: function() { return System.import(\'./path/to/file.module.ngfactory\')',
' .then(module => module[\'FileModuleNgFactory\'], () => { throw({ loadChunkError: true }); }) }'
' .then(module => module[\'FileModuleNgFactory\'], e => { throw({ loadChunkError: true, details: e }); }) }'
];

@@ -382,3 +382,3 @@

'loadChildren: function() { return import(\'./path/to/file.module.ngfactory\')',
' .then(module => module[\'FileModuleNgFactory\'], () => { throw({ loadChunkError: true }); }) }'
' .then(module => module[\'FileModuleNgFactory\'], e => { throw({ loadChunkError: true, details: e }); }) }'
];

@@ -401,4 +401,4 @@

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

@@ -423,4 +423,4 @@ '}) }'

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

@@ -443,4 +443,4 @@ '}) }'

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

@@ -472,4 +472,4 @@ '}) }'

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

@@ -476,0 +476,0 @@ '}) }'

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

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

@@ -52,4 +52,4 @@ '}) }'

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

@@ -66,4 +66,4 @@ '}) }'

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

@@ -83,3 +83,3 @@ '}) }'

'loadChildren: function() { return System.import(\'' + path + '\')',
' .then(module => module[\'' + name + '\'], () => { throw({ loadChunkError: true }); }) }'
' .then(module => module[\'' + name + '\'], e => { throw({ loadChunkError: true, details: e }); }) }'
];

@@ -97,3 +97,3 @@

'loadChildren: function() { return import(\'' + path + '\')',
' .then(module => module[\'' + name + '\'], () => { throw({ loadChunkError: true }); }) }'
' .then(module => module[\'' + name + '\'], e => { throw({ loadChunkError: true, details: e }); }) }'
];

@@ -100,0 +100,0 @@

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

' resolve(' + requireString + ');',
' }, function() {',
' reject({ loadChunkError: true });',
' }, function(e) {',
' reject({ loadChunkError: true, details: e });',
' }' + module.exports.getChunkName('require', chunkName) + ');',

@@ -40,3 +40,3 @@ '}) }'

'loadChildren: function() { return System.import(' + module.exports.getChunkName('system', chunkName) + '\'' + filePath + '\')',
' .then(module => module[\'' + moduleName + '\'], () => { throw({ loadChunkError: true }); }) }'
' .then(module => module[\'' + moduleName + '\'], e => { throw({ loadChunkError: true, details: e }); }) }'
];

@@ -50,3 +50,3 @@

'loadChildren: function() { return import(' + module.exports.getChunkName('import', chunkName) + '\'' + filePath + '\')',
' .then(module => module[\'' + moduleName + '\'], () => { throw({ loadChunkError: true }); }) }'
' .then(module => module[\'' + moduleName + '\'], e => { throw({ loadChunkError: true, details: e }); }) }'
];

@@ -53,0 +53,0 @@