Comparing version 1.11.1 to 1.12.0
@@ -1,2 +0,2 @@ | ||
import type { Code } from "./types"; | ||
import type { Code } from './types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Executes only one instance of give code at a time. If other calls come in in |
@@ -1,3 +0,3 @@ | ||
import type { Code } from "./types"; | ||
import type { Code } from './types'; | ||
/** Limits concurrency of async code. */ | ||
export declare const concurrency: (limit: number) => <T = unknown>(code: Code<T>) => Promise<T>; |
@@ -1,3 +0,3 @@ | ||
import type { Code } from "./types"; | ||
import type { Code } from './types'; | ||
/** Executes code concurrently. */ | ||
export declare const go: <T>(code: Code<T>) => void; |
@@ -5,3 +5,5 @@ "use strict"; | ||
/** Executes code concurrently. */ | ||
const go = (code) => { code().catch(() => { }); }; | ||
const go = (code) => { | ||
code().catch(() => { }); | ||
}; | ||
exports.go = go; |
@@ -8,2 +8,3 @@ export * from './base64'; | ||
export * from './hash'; | ||
export * from './loadCss'; | ||
export * from './LruMap'; | ||
@@ -10,0 +11,0 @@ export * from './LruTtlMap'; |
@@ -11,2 +11,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./hash"), exports); | ||
tslib_1.__exportStar(require("./loadCss"), exports); | ||
tslib_1.__exportStar(require("./LruMap"), exports); | ||
@@ -13,0 +14,0 @@ tslib_1.__exportStar(require("./LruTtlMap"), exports); |
@@ -1,2 +0,2 @@ | ||
import type { Code } from "./types"; | ||
import type { Code } from './types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Executes only one instance of give code at a time. If other calls come in in |
@@ -1,3 +0,3 @@ | ||
import type { Code } from "./types"; | ||
import type { Code } from './types'; | ||
/** Limits concurrency of async code. */ | ||
export declare const concurrency: (limit: number) => <T = unknown>(code: Code<T>) => Promise<T>; |
@@ -1,3 +0,3 @@ | ||
import type { Code } from "./types"; | ||
import type { Code } from './types'; | ||
/** Executes code concurrently. */ | ||
export declare const go: <T>(code: Code<T>) => void; |
@@ -5,3 +5,5 @@ "use strict"; | ||
/** Executes code concurrently. */ | ||
const go = (code) => { code().catch(() => { }); }; | ||
const go = (code) => { | ||
code().catch(() => { }); | ||
}; | ||
exports.go = go; |
@@ -8,2 +8,3 @@ export * from './base64'; | ||
export * from './hash'; | ||
export * from './loadCss'; | ||
export * from './LruMap'; | ||
@@ -10,0 +11,0 @@ export * from './LruTtlMap'; |
@@ -11,2 +11,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./hash"), exports); | ||
tslib_1.__exportStar(require("./loadCss"), exports); | ||
tslib_1.__exportStar(require("./LruMap"), exports); | ||
@@ -13,0 +14,0 @@ tslib_1.__exportStar(require("./LruTtlMap"), exports); |
@@ -1,2 +0,2 @@ | ||
import type { Code } from "./types"; | ||
import type { Code } from './types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Executes only one instance of give code at a time. If other calls come in in |
@@ -1,3 +0,3 @@ | ||
import type { Code } from "./types"; | ||
import type { Code } from './types'; | ||
/** Limits concurrency of async code. */ | ||
export declare const concurrency: (limit: number) => <T = unknown>(code: Code<T>) => Promise<T>; |
@@ -1,3 +0,3 @@ | ||
import type { Code } from "./types"; | ||
import type { Code } from './types'; | ||
/** Executes code concurrently. */ | ||
export declare const go: <T>(code: Code<T>) => void; |
@@ -5,3 +5,5 @@ "use strict"; | ||
/** Executes code concurrently. */ | ||
const go = (code) => { code().catch(() => { }); }; | ||
const go = (code) => { | ||
code().catch(() => { }); | ||
}; | ||
exports.go = go; |
@@ -8,2 +8,3 @@ export * from './base64'; | ||
export * from './hash'; | ||
export * from './loadCss'; | ||
export * from './LruMap'; | ||
@@ -10,0 +11,0 @@ export * from './LruTtlMap'; |
@@ -11,2 +11,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./hash"), exports); | ||
tslib_1.__exportStar(require("./loadCss"), exports); | ||
tslib_1.__exportStar(require("./LruMap"), exports); | ||
@@ -13,0 +14,0 @@ tslib_1.__exportStar(require("./LruTtlMap"), exports); |
{ | ||
"name": "thingies", | ||
"version": "1.11.1", | ||
"version": "1.12.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -92,5 +92,10 @@ # thingies | ||
--- | ||
- `loadCss` — loads a CSS file into the DOM, given a URL. Does nothing on the | ||
server. | ||
## License | ||
[MIT © Vadim Dalecky](LICENSE). |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
77646
129
2352
101
0