@superset-ui/core
Advanced tools
Comparing version 0.13.3 to 0.13.5
@@ -20,2 +20,3 @@ "use strict"; | ||
if ((0, _isPlainObject.default)(object)) { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
return (0, _mapKeys.default)(object, (_, k) => (0, _camelCase.default)(k)); | ||
@@ -22,0 +23,0 @@ } |
@@ -1,2 +0,2 @@ | ||
export default function convertKeysToCamelCase(object: any): any; | ||
export default function convertKeysToCamelCase<T>(object: T): T; | ||
//# sourceMappingURL=convertKeysToCamelCase.d.ts.map |
@@ -20,2 +20,3 @@ "use strict"; | ||
if ((0, _isPlainObject.default)(object)) { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
return (0, _mapKeys.default)(object, (_, k) => (0, _camelCase.default)(k)); | ||
@@ -22,0 +23,0 @@ } |
@@ -1,2 +0,2 @@ | ||
export default function isDefined(x: any): boolean; | ||
export default function isDefined(x: unknown): boolean; | ||
//# sourceMappingURL=isDefined.d.ts.map |
@@ -1,6 +0,6 @@ | ||
interface ClassInterface<T> { | ||
new (...args: any[]): T; | ||
interface ClassInterface<T, Args extends unknown[]> { | ||
new (...args: Args): T; | ||
} | ||
export default function makeSingleton<T>(BaseClass: ClassInterface<T>, ...args: any[]): () => T; | ||
export default function makeSingleton<T, Args extends unknown[]>(BaseClass: ClassInterface<T, Args>, ...args: Args): () => T; | ||
export {}; | ||
//# sourceMappingURL=makeSingleton.d.ts.map |
/** setTimeout that returns a promise */ | ||
export default function promiseTimeout( | ||
export default function promiseTimeout<T>( | ||
/** A function to be executed after the timer expires. */ | ||
func: Function, | ||
func: (...args: unknown[]) => T, | ||
/** The time, in milliseconds (thousandths of a second), the timer should wait before the specified function or code is executed. If this parameter is omitted, a value of 0 is used, meaning execute "immediately", or more accurately, as soon as possible. */ | ||
delay?: number): Promise<unknown>; | ||
delay?: number): Promise<T>; | ||
//# sourceMappingURL=promiseTimeout.d.ts.map |
{ | ||
"name": "@superset-ui/core", | ||
"version": "0.13.3", | ||
"version": "0.13.5", | ||
"description": "Superset UI core", | ||
@@ -35,3 +35,3 @@ "sideEffects": false, | ||
}, | ||
"gitHead": "f72e2d6e13333b55b5d6f1e2d7d5ccaec3868da6" | ||
"gitHead": "4ca74a281d3d7a2c7d28dbe6cb56e391d59962f1" | ||
} |
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
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
879
0
49507
51