@ngx-loading-bar/router
Advanced tools
Comparing version 5.0.0-alpha.0 to 5.0.0-alpha.1
@@ -7,18 +7,221 @@ (function (global, factory) { | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: router.module.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */ | ||
/* global Reflect, Promise */ | ||
var extendStatics = function(d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
function __extends(d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
} | ||
var __assign = function() { | ||
__assign = Object.assign || function __assign(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
function __rest(s, e) { | ||
var t = {}; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) | ||
t[p] = s[p]; | ||
if (s != null && typeof Object.getOwnPropertySymbols === "function") | ||
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { | ||
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) | ||
t[p[i]] = s[p[i]]; | ||
} | ||
return t; | ||
} | ||
function __decorate(decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
} | ||
function __param(paramIndex, decorator) { | ||
return function (target, key) { decorator(target, key, paramIndex); } | ||
} | ||
function __metadata(metadataKey, metadataValue) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); | ||
} | ||
function __awaiter(thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
}); | ||
} | ||
function __generator(thisArg, body) { | ||
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; | ||
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; | ||
function verb(n) { return function (v) { return step([n, v]); }; } | ||
function step(op) { | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
if (y = 0, t) op = [op[0] & 2, t.value]; | ||
switch (op[0]) { | ||
case 0: case 1: t = op; break; | ||
case 4: _.label++; return { value: op[1], done: false }; | ||
case 5: _.label++; y = op[1]; op = [0]; continue; | ||
case 7: op = _.ops.pop(); _.trys.pop(); continue; | ||
default: | ||
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } | ||
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } | ||
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } | ||
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } | ||
if (t[2]) _.ops.pop(); | ||
_.trys.pop(); continue; | ||
} | ||
op = body.call(thisArg, _); | ||
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } | ||
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; | ||
} | ||
} | ||
function __exportStar(m, exports) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
function __values(o) { | ||
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; | ||
if (m) return m.call(o); | ||
if (o && typeof o.length === "number") return { | ||
next: function () { | ||
if (o && i >= o.length) o = void 0; | ||
return { value: o && o[i++], done: !o }; | ||
} | ||
}; | ||
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); | ||
} | ||
function __read(o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
} | ||
function __spread() { | ||
for (var ar = [], i = 0; i < arguments.length; i++) | ||
ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
} | ||
function __spreadArrays() { | ||
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; | ||
for (var r = Array(s), k = 0, i = 0; i < il; i++) | ||
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) | ||
r[k] = a[j]; | ||
return r; | ||
}; | ||
function __await(v) { | ||
return this instanceof __await ? (this.v = v, this) : new __await(v); | ||
} | ||
function __asyncGenerator(thisArg, _arguments, generator) { | ||
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); | ||
var g = generator.apply(thisArg, _arguments || []), i, q = []; | ||
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; | ||
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } | ||
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } | ||
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } | ||
function fulfill(value) { resume("next", value); } | ||
function reject(value) { resume("throw", value); } | ||
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } | ||
} | ||
function __asyncDelegator(o) { | ||
var i, p; | ||
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; | ||
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } | ||
} | ||
function __asyncValues(o) { | ||
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); | ||
var m = o[Symbol.asyncIterator], i; | ||
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); | ||
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } | ||
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } | ||
} | ||
function __makeTemplateObject(cooked, raw) { | ||
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } | ||
return cooked; | ||
}; | ||
function __importStar(mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result.default = mod; | ||
return result; | ||
} | ||
function __importDefault(mod) { | ||
return (mod && mod.__esModule) ? mod : { default: mod }; | ||
} | ||
function __classPrivateFieldGet(receiver, privateMap) { | ||
if (!privateMap.has(receiver)) { | ||
throw new TypeError("attempted to get private field on non-instance"); | ||
} | ||
return privateMap.get(receiver); | ||
} | ||
function __classPrivateFieldSet(receiver, privateMap, value) { | ||
if (!privateMap.has(receiver)) { | ||
throw new TypeError("attempted to set private field on non-instance"); | ||
} | ||
privateMap.set(receiver, value); | ||
return value; | ||
} | ||
var LoadingBarRouterModule = /** @class */ (function () { | ||
function LoadingBarRouterModule(router$1, loader) { | ||
var _this = this; | ||
/** @type {?} */ | ||
var state = loader.useRef('router'); | ||
router$1.events.subscribe((/** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
function (event) { | ||
/** @type {?} */ | ||
router$1.events.subscribe(function (event) { | ||
var navState = _this.getCurrentNavigationState(router$1); | ||
@@ -34,17 +237,6 @@ if (navState && navState.ignoreLoadingBar) { | ||
} | ||
})); | ||
}); | ||
} | ||
/** | ||
* @private | ||
* @param {?} router | ||
* @return {?} | ||
*/ | ||
LoadingBarRouterModule.prototype.getCurrentNavigationState = /** | ||
* @private | ||
* @param {?} router | ||
* @return {?} | ||
*/ | ||
function (router) { | ||
LoadingBarRouterModule.prototype.getCurrentNavigationState = function (router) { | ||
// `getCurrentNavigation` only available in angular `7.2` | ||
/** @type {?} */ | ||
var currentNavigation = router.getCurrentNavigation && router.getCurrentNavigation(); | ||
@@ -56,15 +248,2 @@ if (currentNavigation && currentNavigation.extras) { | ||
}; | ||
LoadingBarRouterModule.decorators = [ | ||
{ type: core.NgModule, args: [{ | ||
imports: [ | ||
router.RouterModule, | ||
core$1.LoadingBarModule, | ||
], | ||
exports: [ | ||
router.RouterModule, | ||
core$1.LoadingBarModule, | ||
], | ||
},] } | ||
]; | ||
/** @nocollapse */ | ||
LoadingBarRouterModule.ctorParameters = function () { return [ | ||
@@ -74,2 +253,15 @@ { type: router.Router }, | ||
]; }; | ||
LoadingBarRouterModule = __decorate([ | ||
core.NgModule({ | ||
imports: [ | ||
router.RouterModule, | ||
core$1.LoadingBarModule, | ||
], | ||
exports: [ | ||
router.RouterModule, | ||
core$1.LoadingBarModule, | ||
], | ||
}), | ||
__metadata("design:paramtypes", [router.Router, core$1.LoadingBarService]) | ||
], LoadingBarRouterModule); | ||
return LoadingBarRouterModule; | ||
@@ -76,0 +268,0 @@ }()); |
@@ -1,2 +0,16 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/router"),require("@ngx-loading-bar/core")):"function"==typeof define&&define.amd?define("@ngx-loading-bar/router",["exports","@angular/core","@angular/router","@ngx-loading-bar/core"],r):r(((e=e||self)["ngx-loading-bar"]=e["ngx-loading-bar"]||{},e["ngx-loading-bar"].router={}),e.ng.core,e.ng.router,e.core$1)}(this,(function(e,r,t,o){"use strict";var n=function(){function e(e,r){var o=this,n=r.useRef("router");e.events.subscribe((function(r){var a=o.getCurrentNavigationState(e);a&&a.ignoreLoadingBar||(r instanceof t.NavigationStart&&n.start(),(r instanceof t.NavigationError||r instanceof t.NavigationEnd||r instanceof t.NavigationCancel)&&n.complete())}))}return e.prototype.getCurrentNavigationState=function(e){var r=e.getCurrentNavigation&&e.getCurrentNavigation();return r&&r.extras?r.extras.state:{}},e.decorators=[{type:r.NgModule,args:[{imports:[t.RouterModule,o.LoadingBarModule],exports:[t.RouterModule,o.LoadingBarModule]}]}],e.ctorParameters=function(){return[{type:t.Router},{type:o.LoadingBarService}]},e}();e.LoadingBarRouterModule=n,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/router"),require("@ngx-loading-bar/core")):"function"==typeof define&&define.amd?define("@ngx-loading-bar/router",["exports","@angular/core","@angular/router","@ngx-loading-bar/core"],t):t(((e=e||self)["ngx-loading-bar"]=e["ngx-loading-bar"]||{},e["ngx-loading-bar"].router={}),e.ng.core,e.ng.router,e.core$1)}(this,(function(e,t,r,n){"use strict"; | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */function o(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var a=function(){function e(e,t){var n=this,o=t.useRef("router");e.events.subscribe((function(t){var a=n.getCurrentNavigationState(e);a&&a.ignoreLoadingBar||(t instanceof r.NavigationStart&&o.start(),(t instanceof r.NavigationError||t instanceof r.NavigationEnd||t instanceof r.NavigationCancel)&&o.complete())}))}return e.prototype.getCurrentNavigationState=function(e){var t=e.getCurrentNavigation&&e.getCurrentNavigation();return t&&t.extras?t.extras.state:{}},e.ctorParameters=function(){return[{type:r.Router},{type:n.LoadingBarService}]},e=function(e,t,r,n){var o,a=arguments.length,i=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i}([t.NgModule({imports:[r.RouterModule,n.LoadingBarModule],exports:[r.RouterModule,n.LoadingBarModule]}),o("design:paramtypes",[r.Router,n.LoadingBarService])],e)}();e.LoadingBarRouterModule=a,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=ngx-loading-bar-router.umd.min.js.map |
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: ngx-loading-bar-router.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
export { LoadingBarRouterModule } from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWxvYWRpbmctYmFyLXJvdXRlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtbG9hZGluZy1iYXIvcm91dGVyLyIsInNvdXJjZXMiOlsibmd4LWxvYWRpbmctYmFyLXJvdXRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLHVDQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ== | ||
export * from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWxvYWRpbmctYmFyLXJvdXRlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtbG9hZGluZy1iYXIvcm91dGVyLyIsInNvdXJjZXMiOlsibmd4LWxvYWRpbmctYmFyLXJvdXRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuIl19 |
@@ -1,7 +0,2 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: public_api.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
export { LoadingBarRouterModule } from './router.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtbG9hZGluZy1iYXIvcm91dGVyLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgTG9hZGluZ0JhclJvdXRlck1vZHVsZSB9IGZyb20gJy4vcm91dGVyLm1vZHVsZSc7XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtbG9hZGluZy1iYXIvcm91dGVyLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IExvYWRpbmdCYXJSb3V0ZXJNb2R1bGUgfSBmcm9tICcuL3JvdXRlci5tb2R1bGUnO1xuIl19 |
@@ -1,23 +0,9 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: router.module.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
import { __decorate, __metadata } from "tslib"; | ||
import { NgModule } from '@angular/core'; | ||
import { RouterModule, Router, NavigationStart, NavigationError, NavigationEnd, NavigationCancel } from '@angular/router'; | ||
import { LoadingBarModule, LoadingBarService } from '@ngx-loading-bar/core'; | ||
export class LoadingBarRouterModule { | ||
/** | ||
* @param {?} router | ||
* @param {?} loader | ||
*/ | ||
let LoadingBarRouterModule = class LoadingBarRouterModule { | ||
constructor(router, loader) { | ||
/** @type {?} */ | ||
const state = loader.useRef('router'); | ||
router.events.subscribe((/** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
event => { | ||
/** @type {?} */ | ||
router.events.subscribe(event => { | ||
const navState = this.getCurrentNavigationState(router); | ||
@@ -33,12 +19,6 @@ if (navState && navState.ignoreLoadingBar) { | ||
} | ||
})); | ||
}); | ||
} | ||
/** | ||
* @private | ||
* @param {?} router | ||
* @return {?} | ||
*/ | ||
getCurrentNavigationState(router) { | ||
// `getCurrentNavigation` only available in angular `7.2` | ||
/** @type {?} */ | ||
const currentNavigation = router.getCurrentNavigation && router.getCurrentNavigation(); | ||
@@ -50,16 +30,3 @@ if (currentNavigation && currentNavigation.extras) { | ||
} | ||
} | ||
LoadingBarRouterModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
exports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
},] } | ||
]; | ||
/** @nocollapse */ | ||
}; | ||
LoadingBarRouterModule.ctorParameters = () => [ | ||
@@ -69,2 +36,16 @@ { type: Router }, | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtbG9hZGluZy1iYXIvcm91dGVyLyIsInNvdXJjZXMiOlsicm91dGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLEVBQUUsZUFBZSxFQUFFLGVBQWUsRUFBRSxhQUFhLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMxSCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQVk1RSxNQUFNLE9BQU8sc0JBQXNCOzs7OztJQUNqQyxZQUFZLE1BQWMsRUFBRSxNQUF5Qjs7Y0FDN0MsS0FBSyxHQUFHLE1BQU0sQ0FBQyxNQUFNLENBQUMsUUFBUSxDQUFDO1FBQ3JDLE1BQU0sQ0FBQyxNQUFNLENBQUMsU0FBUzs7OztRQUFDLEtBQUssQ0FBQyxFQUFFOztrQkFDeEIsUUFBUSxHQUFHLElBQUksQ0FBQyx5QkFBeUIsQ0FBQyxNQUFNLENBQUM7WUFDdkQsSUFBSSxRQUFRLElBQUksUUFBUSxDQUFDLGdCQUFnQixFQU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XG5cbiAgcHJpdmF0ZSBnZXRDdXJyZW50TmF2aWdhdGlvblN0YXRlKHJvdXRlcjogYW55KSB7XG4gICAgLy8gYGdldEN1cnJlbnROYXZpZ2F0aW9uYCBvbmx5IGF2YWlsYWJsZSBpbiBhbmd1bGFyIGA3LjJgXG4gICAgY29uc3QgY3VycmVudE5hdmlnYXRpb24gPSByb3V0ZXIuZ2V0Q3VycmVudE5hdmlnYXRpb24gJiYgcm91dGVyLmdldEN1cnJlbnROYXZpZ2F0aW9uKCk7XG4gICAgaWYgKGN1cnJlbnROYXZpZ2F0aW9uICYmIGN1cnJlbnROYXZpZ2F0aW9uLmV4dHJhcykge1xuICAgICAgcmV0dXJuIGN1cnJlbnROYXZpZ2F0aW9uLmV4dHJhcy5zdGF0ZTtcbiAgICB9XG5cbiAgICByZXR1cm4ge307XG4gIH1cbn1cbiJdfQ== | ||
LoadingBarRouterModule = __decorate([ | ||
NgModule({ | ||
imports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
exports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
}), | ||
__metadata("design:paramtypes", [Router, LoadingBarService]) | ||
], LoadingBarRouterModule); | ||
export { LoadingBarRouterModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtbG9hZGluZy1iYXIvcm91dGVyLyIsInNvdXJjZXMiOlsicm91dGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sRUFBRSxlQUFlLEVBQUUsZUFBZSxFQUFFLGFBQWEsRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzFILE9BQU8sRUF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+IHtcbiAgICAgIGNvbnN0IG5hdlN0YXRlID0gdGhpcy5nZXRDdXJyZW50TmF2aWdhdGlvblN0YXRlKHJvdXRlcik7XG4gICAgICBpZiAobmF2U3RhdGUgJiYgbmF2U3RhdGUuaWdub3JlTG9hZGluZ0Jhcikge1xuICAgICAgICByZXR1cm47XG4gICAgICB9XG5cbiAgICAgIGlmIChldmVudCBpbnN0YW5jZW9mIE5hdmlnYXRpb25TdGFydCkge1xuICAgICAgICBzdGF0ZS5zdGFydCgpO1xuICAgICAgfVxuXG4gICAgICBpZiAoKGV2ZW50IGluc3RhbmNlb2YgTmF2aWdhdGlvbkVycm9yIHx8IGV2ZW50IGluc3RhbmNlb2YgTmF2aWdhdGlvbkVuZCB8fCBldmVudCBpbnN0YW5jZW9mIE5hdmlnYXRpb25DYW5jZWwpKSB7XG4gICAgICAgIHN0YXRlLmNvbXBsZXRlKCk7XG4gICAgICB9XG4gICAgfSk7XG4gIH1cblxuICBwcml2YXRlIGdldEN1cnJlbnROYXZpZ2F0aW9uU3RhdGUocm91dGVyOiBhbnkpIHtcbiAgICAvLyBgZ2V0Q3VycmVudE5hdmlnYXRpb25gIG9ubHkgYXZhaWxhYmxlIGluIGFuZ3VsYXIgYDcuMmBcbiAgICBjb25zdCBjdXJyZW50TmF2aWdhdGlvbiA9IHJvdXRlci5nZXRDdXJyZW50TmF2aWdhdGlvbiAmJiByb3V0ZXIuZ2V0Q3VycmVudE5hdmlnYXRpb24oKTtcbiAgICBpZiAoY3VycmVudE5hdmlnYXRpb24gJiYgY3VycmVudE5hdmlnYXRpb24uZXh0cmFzKSB7XG4gICAgICByZXR1cm4gY3VycmVudE5hdmlnYXRpb24uZXh0cmFzLnN0YXRlO1xuICAgIH1cblxuICAgIHJldHVybiB7fTtcbiAgfVxufVxuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: ngx-loading-bar-router.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
export { LoadingBarRouterModule } from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWxvYWRpbmctYmFyLXJvdXRlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtbG9hZGluZy1iYXIvcm91dGVyLyIsInNvdXJjZXMiOlsibmd4LWxvYWRpbmctYmFyLXJvdXRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLHVDQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ== | ||
export * from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWxvYWRpbmctYmFyLXJvdXRlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtbG9hZGluZy1iYXIvcm91dGVyLyIsInNvdXJjZXMiOlsibmd4LWxvYWRpbmctYmFyLXJvdXRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuIl19 |
@@ -1,7 +0,2 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: public_api.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
export { LoadingBarRouterModule } from './router.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtbG9hZGluZy1iYXIvcm91dGVyLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgTG9hZGluZ0JhclJvdXRlck1vZHVsZSB9IGZyb20gJy4vcm91dGVyLm1vZHVsZSc7XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtbG9hZGluZy1iYXIvcm91dGVyLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IExvYWRpbmdCYXJSb3V0ZXJNb2R1bGUgfSBmcm9tICcuL3JvdXRlci5tb2R1bGUnO1xuIl19 |
@@ -1,6 +0,2 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: router.module.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
import { __decorate, __metadata } from "tslib"; | ||
import { NgModule } from '@angular/core'; | ||
@@ -12,10 +8,4 @@ import { RouterModule, Router, NavigationStart, NavigationError, NavigationEnd, NavigationCancel } from '@angular/router'; | ||
var _this = this; | ||
/** @type {?} */ | ||
var state = loader.useRef('router'); | ||
router.events.subscribe((/** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
function (event) { | ||
/** @type {?} */ | ||
router.events.subscribe(function (event) { | ||
var navState = _this.getCurrentNavigationState(router); | ||
@@ -31,17 +21,6 @@ if (navState && navState.ignoreLoadingBar) { | ||
} | ||
})); | ||
}); | ||
} | ||
/** | ||
* @private | ||
* @param {?} router | ||
* @return {?} | ||
*/ | ||
LoadingBarRouterModule.prototype.getCurrentNavigationState = /** | ||
* @private | ||
* @param {?} router | ||
* @return {?} | ||
*/ | ||
function (router) { | ||
LoadingBarRouterModule.prototype.getCurrentNavigationState = function (router) { | ||
// `getCurrentNavigation` only available in angular `7.2` | ||
/** @type {?} */ | ||
var currentNavigation = router.getCurrentNavigation && router.getCurrentNavigation(); | ||
@@ -53,15 +32,2 @@ if (currentNavigation && currentNavigation.extras) { | ||
}; | ||
LoadingBarRouterModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
exports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
},] } | ||
]; | ||
/** @nocollapse */ | ||
LoadingBarRouterModule.ctorParameters = function () { return [ | ||
@@ -71,5 +37,18 @@ { type: Router }, | ||
]; }; | ||
LoadingBarRouterModule = __decorate([ | ||
NgModule({ | ||
imports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
exports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
}), | ||
__metadata("design:paramtypes", [Router, LoadingBarService]) | ||
], LoadingBarRouterModule); | ||
return LoadingBarRouterModule; | ||
}()); | ||
export { LoadingBarRouterModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtbG9hZGluZy1iYXIvcm91dGVyLyIsInNvdXJjZXMiOlsicm91dGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs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FueSkge1xuICAgIC8vIGBnZXRDdXJyZW50TmF2aWdhdGlvbmAgb25seSBhdmFpbGFibGUgaW4gYW5ndWxhciBgNy4yYFxuICAgIGNvbnN0IGN1cnJlbnROYXZpZ2F0aW9uID0gcm91dGVyLmdldEN1cnJlbnROYXZpZ2F0aW9uICYmIHJvdXRlci5nZXRDdXJyZW50TmF2aWdhdGlvbigpO1xuICAgIGlmIChjdXJyZW50TmF2aWdhdGlvbiAmJiBjdXJyZW50TmF2aWdhdGlvbi5leHRyYXMpIHtcbiAgICAgIHJldHVybiBjdXJyZW50TmF2aWdhdGlvbi5leHRyYXMuc3RhdGU7XG4gICAgfVxuXG4gICAgcmV0dXJuIHt9O1xuICB9XG59XG4iXX0= |
@@ -0,24 +1,10 @@ | ||
import { __decorate, __metadata } from 'tslib'; | ||
import { NgModule } from '@angular/core'; | ||
import { NavigationStart, NavigationError, NavigationEnd, NavigationCancel, RouterModule, Router } from '@angular/router'; | ||
import { LoadingBarModule, LoadingBarService } from '@ngx-loading-bar/core'; | ||
import { NavigationStart, NavigationError, NavigationEnd, NavigationCancel, Router, RouterModule } from '@angular/router'; | ||
import { LoadingBarService, LoadingBarModule } from '@ngx-loading-bar/core'; | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: router.module.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
class LoadingBarRouterModule { | ||
/** | ||
* @param {?} router | ||
* @param {?} loader | ||
*/ | ||
let LoadingBarRouterModule = class LoadingBarRouterModule { | ||
constructor(router, loader) { | ||
/** @type {?} */ | ||
const state = loader.useRef('router'); | ||
router.events.subscribe((/** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
event => { | ||
/** @type {?} */ | ||
router.events.subscribe(event => { | ||
const navState = this.getCurrentNavigationState(router); | ||
@@ -34,12 +20,6 @@ if (navState && navState.ignoreLoadingBar) { | ||
} | ||
})); | ||
}); | ||
} | ||
/** | ||
* @private | ||
* @param {?} router | ||
* @return {?} | ||
*/ | ||
getCurrentNavigationState(router) { | ||
// `getCurrentNavigation` only available in angular `7.2` | ||
/** @type {?} */ | ||
const currentNavigation = router.getCurrentNavigation && router.getCurrentNavigation(); | ||
@@ -51,16 +31,3 @@ if (currentNavigation && currentNavigation.extras) { | ||
} | ||
} | ||
LoadingBarRouterModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
exports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
},] } | ||
]; | ||
/** @nocollapse */ | ||
}; | ||
LoadingBarRouterModule.ctorParameters = () => [ | ||
@@ -70,16 +37,21 @@ { type: Router }, | ||
]; | ||
LoadingBarRouterModule = __decorate([ | ||
NgModule({ | ||
imports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
exports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
}), | ||
__metadata("design:paramtypes", [Router, LoadingBarService]) | ||
], LoadingBarRouterModule); | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: public_api.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: ngx-loading-bar-router.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
export { LoadingBarRouterModule }; | ||
//# sourceMappingURL=ngx-loading-bar-router.js.map |
@@ -0,21 +1,11 @@ | ||
import { __decorate, __metadata } from 'tslib'; | ||
import { NgModule } from '@angular/core'; | ||
import { NavigationStart, NavigationError, NavigationEnd, NavigationCancel, RouterModule, Router } from '@angular/router'; | ||
import { LoadingBarModule, LoadingBarService } from '@ngx-loading-bar/core'; | ||
import { NavigationStart, NavigationError, NavigationEnd, NavigationCancel, Router, RouterModule } from '@angular/router'; | ||
import { LoadingBarService, LoadingBarModule } from '@ngx-loading-bar/core'; | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: router.module.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var LoadingBarRouterModule = /** @class */ (function () { | ||
function LoadingBarRouterModule(router, loader) { | ||
var _this = this; | ||
/** @type {?} */ | ||
var state = loader.useRef('router'); | ||
router.events.subscribe((/** | ||
* @param {?} event | ||
* @return {?} | ||
*/ | ||
function (event) { | ||
/** @type {?} */ | ||
router.events.subscribe(function (event) { | ||
var navState = _this.getCurrentNavigationState(router); | ||
@@ -31,17 +21,6 @@ if (navState && navState.ignoreLoadingBar) { | ||
} | ||
})); | ||
}); | ||
} | ||
/** | ||
* @private | ||
* @param {?} router | ||
* @return {?} | ||
*/ | ||
LoadingBarRouterModule.prototype.getCurrentNavigationState = /** | ||
* @private | ||
* @param {?} router | ||
* @return {?} | ||
*/ | ||
function (router) { | ||
LoadingBarRouterModule.prototype.getCurrentNavigationState = function (router) { | ||
// `getCurrentNavigation` only available in angular `7.2` | ||
/** @type {?} */ | ||
var currentNavigation = router.getCurrentNavigation && router.getCurrentNavigation(); | ||
@@ -53,15 +32,2 @@ if (currentNavigation && currentNavigation.extras) { | ||
}; | ||
LoadingBarRouterModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
exports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
},] } | ||
]; | ||
/** @nocollapse */ | ||
LoadingBarRouterModule.ctorParameters = function () { return [ | ||
@@ -71,2 +37,15 @@ { type: Router }, | ||
]; }; | ||
LoadingBarRouterModule = __decorate([ | ||
NgModule({ | ||
imports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
exports: [ | ||
RouterModule, | ||
LoadingBarModule, | ||
], | ||
}), | ||
__metadata("design:paramtypes", [Router, LoadingBarService]) | ||
], LoadingBarRouterModule); | ||
return LoadingBarRouterModule; | ||
@@ -76,14 +55,6 @@ }()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: public_api.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: ngx-loading-bar-router.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
export { LoadingBarRouterModule }; | ||
//# sourceMappingURL=ngx-loading-bar-router.js.map |
{ | ||
"name": "@ngx-loading-bar/router", | ||
"version": "5.0.0-alpha.0", | ||
"version": "5.0.0-alpha.1", | ||
"description": "Automatic page loading / progress bar for Angular", | ||
@@ -21,4 +21,5 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@ngx-loading-bar/core": "5.0.0-alpha.0", | ||
"@angular/router": ">=7.0.0" | ||
"@ngx-loading-bar/core": "5.0.0-alpha.1", | ||
"@angular/router": ">=7.0.0", | ||
"tslib": "^1.10.0" | ||
}, | ||
@@ -34,6 +35,3 @@ "main": "bundles/ngx-loading-bar-router.umd.js", | ||
"metadata": "ngx-loading-bar-router.metadata.json", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"tslib": "^1.9.0" | ||
} | ||
"sideEffects": false | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
83601
480
1
1
+ Added@ngx-loading-bar/core@5.0.0-alpha.1(transitive)
- Removedtslib@^1.9.0
- Removed@ngx-loading-bar/core@5.0.0-alpha.0(transitive)