@pnp/core
Advanced tools
Comparing version 3.0.0-v3nightly.20210906 to 3.0.0-v3nightly.20210908
@@ -10,3 +10,3 @@ export * from "./spfxcontextinterface.js"; | ||
*/ | ||
export * from "./behaviors/from.js"; | ||
export * from "./behaviors/copyfrom.js"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -10,3 +10,3 @@ export * from "./spfxcontextinterface.js"; | ||
*/ | ||
export * from "./behaviors/from.js"; | ||
export * from "./behaviors/copyfrom.js"; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@pnp/core", | ||
"version": "3.0.0-v3nightly.20210906", | ||
"version": "3.0.0-v3nightly.20210908", | ||
"description": "pnp - provides shared functionality across all pnp libraries", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -118,5 +118,5 @@ /** | ||
protected abstract execute(init?: any): Promise<any>; | ||
private cloneObserversOnModification; | ||
protected cloneObserversOnChange(): void; | ||
} | ||
export {}; | ||
//# sourceMappingURL=timeline.d.ts.map |
@@ -33,3 +33,3 @@ import { broadcast, lifecycle } from "./moments.js"; | ||
get: (target, p) => Object.assign((handler) => { | ||
target.cloneObserversOnModification(); | ||
target.cloneObserversOnChange(); | ||
addObserver(target.observers, p, handler, "add"); | ||
@@ -42,3 +42,3 @@ return target; | ||
replace: (handler) => { | ||
target.cloneObserversOnModification(); | ||
target.cloneObserversOnChange(); | ||
addObserver(target.observers, p, handler, "replace"); | ||
@@ -48,3 +48,3 @@ return target; | ||
prepend: (handler) => { | ||
target.cloneObserversOnModification(); | ||
target.cloneObserversOnChange(); | ||
addObserver(target.observers, p, handler, "prepend"); | ||
@@ -55,3 +55,3 @@ return target; | ||
if (Reflect.has(target.observers, p)) { | ||
target.cloneObserversOnModification(); | ||
target.cloneObserversOnChange(); | ||
// we trust outselves that this will be an array | ||
@@ -165,3 +165,3 @@ target.observers[p].length = 0; | ||
} | ||
cloneObserversOnModification() { | ||
cloneObserversOnChange() { | ||
if (this._inheritingObservers) { | ||
@@ -168,0 +168,0 @@ this._inheritingObservers = 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
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
75884
1238