@derivesome/core
Advanced tools
| export declare const onNextTick: (fn: () => (void | Promise<void>)) => void; | ||
| //# sourceMappingURL=nextTick.d.ts.map |
| {"version":3,"file":"nextTick.d.ts","sourceRoot":"","sources":["../../../src/utils/nextTick.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GAAI,IAAI,MAAM,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,SAM1D,CAAA"} |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.onNextTick = void 0; | ||
| const onNextTick = (fn) => { | ||
| if (typeof queueMicrotask !== 'undefined') { | ||
| queueMicrotask(fn); | ||
| } | ||
| else { | ||
| setTimeout(fn, 1); | ||
| } | ||
| }; | ||
| exports.onNextTick = onNextTick; | ||
| //# sourceMappingURL=nextTick.js.map |
| {"version":3,"file":"nextTick.js","sourceRoot":"","sources":["../../../src/utils/nextTick.ts"],"names":[],"mappings":";;;AAAO,MAAM,UAAU,GAAG,CAAC,EAAgC,EAAE,EAAE;IAC7D,IAAI,OAAO,cAAc,KAAK,WAAW,EAAE,CAAC;QAC1C,cAAc,CAAC,EAAE,CAAC,CAAC;IACrB,CAAC;SAAM,CAAC;QACN,UAAU,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;IACpB,CAAC;AACH,CAAC,CAAA;AANY,QAAA,UAAU,cAMtB"} |
| export declare const onNextTick: (fn: () => (void | Promise<void>)) => void; | ||
| //# sourceMappingURL=nextTick.d.ts.map |
| {"version":3,"file":"nextTick.d.ts","sourceRoot":"","sources":["../../../src/utils/nextTick.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GAAI,IAAI,MAAM,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,SAM1D,CAAA"} |
| export const onNextTick = (fn) => { | ||
| if (typeof queueMicrotask !== 'undefined') { | ||
| queueMicrotask(fn); | ||
| } | ||
| else { | ||
| setTimeout(fn, 1); | ||
| } | ||
| }; | ||
| //# sourceMappingURL=nextTick.js.map |
| {"version":3,"file":"nextTick.js","sourceRoot":"","sources":["../../../src/utils/nextTick.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EAAgC,EAAE,EAAE;IAC7D,IAAI,OAAO,cAAc,KAAK,WAAW,EAAE,CAAC;QAC1C,cAAc,CAAC,EAAE,CAAC,CAAC;IACrB,CAAC;SAAM,CAAC;QACN,UAAU,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;IACpB,CAAC;AACH,CAAC,CAAA"} |
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
| export const onNextTick = (fn: () => (void | Promise<void>)) => { | ||
| if (typeof queueMicrotask !== 'undefined') { | ||
| queueMicrotask(fn); | ||
| } else { | ||
| setTimeout(fn, 1); | ||
| } | ||
| } |
Sorry, the diff of this file is not supported yet
| export * from "./findRefs"; | ||
| export * from "./nextTick"; | ||
| //# sourceMappingURL=index.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"} | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"} |
@@ -18,2 +18,3 @@ "use strict"; | ||
| __exportStar(require("./findRefs"), exports); | ||
| __exportStar(require("./nextTick"), exports); | ||
| //# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"} | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,6CAA2B"} |
| export * from "./findRefs"; | ||
| export * from "./nextTick"; | ||
| //# sourceMappingURL=index.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"} | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"} |
| export * from "./findRefs"; | ||
| export * from "./nextTick"; | ||
| //# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"} | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"} |
+1
-1
| { | ||
| "name": "@derivesome/core", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
| export * from "./findRefs"; | ||
| export * from "./nextTick"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
326446
24.16%238
5.78%3067
1.12%