nemo-observable-util
Advanced tools
Comparing version 5.3.2 to 5.3.3
@@ -207,3 +207,7 @@ 'use strict'; | ||
this.uuid = 0; | ||
this.flush = function (actionName, uuid) { | ||
actionName = actionName || 'OB_UTIL_FLUSH'; | ||
uuid = typeof uuid === 'undefined' ? this$1.uuid++ : uuid; | ||
// copy incase being modified during exec reaction | ||
@@ -412,4 +416,4 @@ var todoCopy = this$1.runners; | ||
} | ||
function flush() { | ||
runnerManager.flush(); | ||
function flush(actionName, uuid) { | ||
runnerManager.flush(actionName, uuid); | ||
} | ||
@@ -416,0 +420,0 @@ |
@@ -183,3 +183,7 @@ 'use strict'; | ||
constructor() { | ||
this.uuid = 0; | ||
this.flush = (actionName, uuid) => { | ||
actionName = actionName || 'OB_UTIL_FLUSH'; | ||
uuid = typeof uuid === 'undefined' ? this.uuid++ : uuid; | ||
// copy incase being modified during exec reaction | ||
@@ -365,4 +369,4 @@ const todoCopy = this.runners; | ||
} | ||
function flush() { | ||
runnerManager.flush(); | ||
function flush(actionName, uuid) { | ||
runnerManager.flush(actionName, uuid); | ||
} | ||
@@ -369,0 +373,0 @@ |
@@ -203,3 +203,7 @@ var connectionStore = new WeakMap(); | ||
this.uuid = 0; | ||
this.flush = function (actionName, uuid) { | ||
actionName = actionName || 'OB_UTIL_FLUSH'; | ||
uuid = typeof uuid === 'undefined' ? this$1.uuid++ : uuid; | ||
// copy incase being modified during exec reaction | ||
@@ -408,4 +412,4 @@ var todoCopy = this$1.runners; | ||
} | ||
function flush() { | ||
runnerManager.flush(); | ||
function flush(actionName, uuid) { | ||
runnerManager.flush(actionName, uuid); | ||
} | ||
@@ -412,0 +416,0 @@ |
@@ -179,3 +179,7 @@ const connectionStore = new WeakMap(); | ||
constructor() { | ||
this.uuid = 0; | ||
this.flush = (actionName, uuid) => { | ||
actionName = actionName || 'OB_UTIL_FLUSH'; | ||
uuid = typeof uuid === 'undefined' ? this.uuid++ : uuid; | ||
// copy incase being modified during exec reaction | ||
@@ -361,4 +365,4 @@ const todoCopy = this.runners; | ||
} | ||
function flush() { | ||
runnerManager.flush(); | ||
function flush(actionName, uuid) { | ||
runnerManager.flush(actionName, uuid); | ||
} | ||
@@ -365,0 +369,0 @@ |
{ | ||
"name": "nemo-observable-util", | ||
"version": "5.3.2", | ||
"version": "5.3.3", | ||
"description": "Simple transparent reactivity with 100% language coverage. Made with ES6 Proxies.", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs.es5.js", |
@@ -41,3 +41,3 @@ declare module 'nemo-observable-util' { | ||
): void; | ||
function flush(): void; | ||
function flush(actionName?: string, uuid?: string): void; | ||
const transactionManager: any; | ||
@@ -44,0 +44,0 @@ function config(arg?: ObservableConfig): ObservableConfig; |
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
129836
2972