@ngrx/component-store
Advanced tools
Comparing version 11.1.1 to 12.0.0-beta.0
@@ -26,3 +26,3 @@ (function (global, factory) { | ||
function (d, b) { for (var p in b) | ||
if (b.hasOwnProperty(p)) | ||
if (Object.prototype.hasOwnProperty.call(b, p)) | ||
d[p] = b[p]; }; | ||
@@ -32,2 +32,4 @@ return extendStatics(d, b); | ||
function __extends(d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
@@ -175,6 +177,6 @@ function __() { this.constructor = d; } | ||
}); | ||
function __exportStar(m, exports) { | ||
function __exportStar(m, o) { | ||
for (var p in m) | ||
if (p !== "default" && !exports.hasOwnProperty(p)) | ||
__createBinding(exports, m, p); | ||
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) | ||
__createBinding(o, m, p); | ||
} | ||
@@ -219,2 +221,3 @@ function __values(o) { | ||
} | ||
/** @deprecated */ | ||
function __spread() { | ||
@@ -225,2 +228,3 @@ for (var ar = [], i = 0; i < arguments.length; i++) | ||
} | ||
/** @deprecated */ | ||
function __spreadArrays() { | ||
@@ -234,3 +238,7 @@ for (var s = 0, i = 0, il = arguments.length; i < il; i++) | ||
} | ||
; | ||
function __spreadArray(to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
} | ||
function __await(v) { | ||
@@ -292,3 +300,3 @@ return this instanceof __await ? (this.v = v, this) : new __await(v); | ||
for (var k in mod) | ||
if (Object.hasOwnProperty.call(mod, k)) | ||
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) | ||
__createBinding(result, mod, k); | ||
@@ -301,14 +309,17 @@ __setModuleDefault(result, 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 __classPrivateFieldGet(receiver, state, kind, f) { | ||
if (kind === "a" && !f) | ||
throw new TypeError("Private accessor was defined without a getter"); | ||
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) | ||
throw new TypeError("Cannot read private member from an object whose class did not declare it"); | ||
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.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; | ||
function __classPrivateFieldSet(receiver, state, value, kind, f) { | ||
if (kind === "m") | ||
throw new TypeError("Private method is not writable"); | ||
if (kind === "a" && !f) | ||
throw new TypeError("Private accessor was defined without a setter"); | ||
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) | ||
throw new TypeError("Cannot write private member to an object whose class did not declare it"); | ||
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; | ||
} | ||
@@ -501,3 +512,3 @@ | ||
// to take the combineLatest of them before calling the map function. | ||
observable$ = rxjs.combineLatest(observables).pipe(config.debounce ? debounceSync() : function (source$) { return source$; }, operators.map(function (projectorArgs) { return projector.apply(void 0, __spread(projectorArgs)); })); | ||
observable$ = rxjs.combineLatest(observables).pipe(config.debounce ? debounceSync() : function (source$) { return source$; }, operators.map(function (projectorArgs) { return projector.apply(void 0, __spreadArray([], __read(projectorArgs))); })); | ||
} | ||
@@ -504,0 +515,0 @@ return observable$.pipe(operators.distinctUntilChanged(), operators.shareReplay({ |
{ | ||
"name": "@ngrx/component-store", | ||
"version": "11.1.1", | ||
"version": "12.0.0-beta.0", | ||
"description": "Reactive store for component state", | ||
@@ -25,3 +25,3 @@ "repository": { | ||
"peerDependencies": { | ||
"@angular/core": "^11.0.0", | ||
"@angular/core": "^12.0.0-rc.0", | ||
"rxjs": "^6.5.3" | ||
@@ -28,0 +28,0 @@ }, |
@@ -29,5 +29,6 @@ "use strict"; | ||
}; | ||
var __spread = (this && this.__spread) || function () { | ||
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
}; | ||
@@ -103,3 +104,3 @@ exports.__esModule = true; | ||
if (node.getChildCount(sourceFile) >= 0) { | ||
nodes.unshift.apply(nodes, __spread(node.getChildren())); | ||
nodes.unshift.apply(nodes, __spreadArray([], __read(node.getChildren()))); | ||
} | ||
@@ -106,0 +107,0 @@ } |
"use strict"; | ||
exports.__esModule = true; | ||
exports.platformVersion = void 0; | ||
exports.platformVersion = '^11.1.1'; | ||
exports.platformVersion = '^12.0.0-beta.0'; | ||
//# sourceMappingURL=libs-version.js.map |
@@ -29,5 +29,6 @@ "use strict"; | ||
}; | ||
var __spread = (this && this.__spread) || function () { | ||
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i])); | ||
return ar; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
}; | ||
@@ -209,3 +210,3 @@ exports.__esModule = true; | ||
var _b = __read(ast_utils_1.addImportToModule(source, modulePath, "StoreModule.forFeature(from" + stringUtils.classify(options.name) + "." + state + "FeatureKey, from" + stringUtils.classify(options.name) + ".reducer)", relativePath), 1), storeNgModuleImport = _b[0]; | ||
var changes = __spread(commonImports, [reducerImport, storeNgModuleImport]); | ||
var changes = __spreadArray(__spreadArray([], __read(commonImports)), [reducerImport, storeNgModuleImport]); | ||
var recorder = host.beginUpdate(modulePath); | ||
@@ -212,0 +213,0 @@ try { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
370136
60
2
80
3328