@ngrx/effects
Advanced tools
Comparing version 11.1.1 to 12.0.0-beta.0
@@ -154,3 +154,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]; }; | ||
@@ -160,2 +160,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); | ||
@@ -303,6 +305,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); | ||
} | ||
@@ -347,2 +349,3 @@ function __values(o) { | ||
} | ||
/** @deprecated */ | ||
function __spread() { | ||
@@ -353,2 +356,3 @@ for (var ar = [], i = 0; i < arguments.length; i++) | ||
} | ||
/** @deprecated */ | ||
function __spreadArrays() { | ||
@@ -362,3 +366,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) { | ||
@@ -420,3 +428,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); | ||
@@ -429,14 +437,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; | ||
} | ||
@@ -466,3 +477,3 @@ | ||
}); | ||
return rxjs.merge.apply(void 0, __spread(observables$)); | ||
return rxjs.merge.apply(void 0, __spreadArray([], __read(observables$))); | ||
} | ||
@@ -787,3 +798,3 @@ | ||
var effectGroup = effectGroups_1_1.value; | ||
mergedEffects.push.apply(mergedEffects, __spread(effectGroup)); | ||
mergedEffects.push.apply(mergedEffects, __spreadArray([], __read(effectGroup))); | ||
} | ||
@@ -801,3 +812,3 @@ } | ||
var userProvidedEffectGroup = userProvidedEffectGroups_1_1.value; | ||
mergedEffects.push.apply(mergedEffects, __spread(userProvidedEffectGroup)); | ||
mergedEffects.push.apply(mergedEffects, __spreadArray([], __read(userProvidedEffectGroup))); | ||
} | ||
@@ -878,3 +889,3 @@ } | ||
: [observables]; | ||
return rxjs.of(value).pipe(operators.withLatestFrom.apply(void 0, __spread(observablesAsArray))); | ||
return rxjs.of(value).pipe(operators.withLatestFrom.apply(void 0, __spreadArray([], __read(observablesAsArray)))); | ||
})); | ||
@@ -881,0 +892,0 @@ } |
{ | ||
"name": "@ngrx/effects", | ||
"version": "11.1.1", | ||
"version": "12.0.0-beta.0", | ||
"description": "Side effect model for @ngrx/store", | ||
@@ -24,4 +24,4 @@ "repository": { | ||
"peerDependencies": { | ||
"@angular/core": "^11.0.0", | ||
"@ngrx/store": "11.1.1", | ||
"@angular/core": "^12.0.0-rc.0", | ||
"@ngrx/store": "12.0.0-beta.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 { |
@@ -6,3 +6,3 @@ import { EffectConfig, EffectMetadata } from './models'; | ||
*/ | ||
export declare function Effect(config?: EffectConfig): <T extends Object, K extends Exclude<keyof T, "constructor" | "toString" | "toLocaleString" | "valueOf" | "hasOwnProperty" | "isPrototypeOf" | "propertyIsEnumerable">>(target: T, propertyName: K) => void; | ||
export declare function Effect(config?: EffectConfig): <T extends Object, K extends Exclude<keyof T, keyof Object>>(target: T, propertyName: K) => void; | ||
export declare function getEffectDecoratorMetadata<T>(instance: T): EffectMetadata<T>[]; |
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
1
570902
108
2
80
4752