@pixi/utils
Advanced tools
Comparing version 7.3.2 to 7.3.3
@@ -1,3 +0,3 @@ | ||
declare type PackedArray = Float32Array | Uint32Array | Int32Array | Uint8Array; | ||
type PackedArray = Float32Array | Uint32Array | Int32Array | Uint8Array; | ||
export declare function interleaveTypedArrays(arrays: PackedArray[], sizes: number[]): Float32Array; | ||
export {}; |
@@ -25,3 +25,4 @@ export interface Path { | ||
delimiter: string; | ||
joinExtensions: string[]; | ||
} | ||
export declare const path: Path; |
@@ -154,3 +154,3 @@ "use strict"; | ||
const prevArg = segments[i - 1] ?? ""; | ||
this.extname(prevArg) ? joined += `/../${arg}` : joined += `/${arg}`; | ||
this.joinExtensions.includes(this.extname(prevArg).toLowerCase()) ? joined += `/../${arg}` : joined += `/${arg}`; | ||
} | ||
@@ -281,5 +281,6 @@ } | ||
sep: "/", | ||
delimiter: ":" | ||
delimiter: ":", | ||
joinExtensions: [".html"] | ||
}; | ||
exports.path = path; | ||
//# sourceMappingURL=path.js.map |
@@ -1,6 +0,6 @@ | ||
export declare type ArrayFixed<T, L extends number> = [T, ...Array<T>] & { | ||
export type ArrayFixed<T, L extends number> = [T, ...Array<T>] & { | ||
length: L; | ||
}; | ||
export declare type Dict<T> = { | ||
export type Dict<T> = { | ||
[key: string]: T; | ||
}; |
@@ -39,3 +39,3 @@ interface ParsedUrlQuery { | ||
} | ||
declare type ParseFunction = { | ||
type ParseFunction = { | ||
(urlStr: string): UrlWithStringQuery; | ||
@@ -46,7 +46,7 @@ (urlStr: string, parseQueryString: false | undefined, slashesDenoteHost?: boolean): UrlWithStringQuery; | ||
}; | ||
declare type FormatFunction = { | ||
type FormatFunction = { | ||
(URL: URL, options?: URLFormatOptions): string; | ||
(urlObject: UrlObject | string): string; | ||
}; | ||
declare type ResolveFunction = { | ||
type ResolveFunction = { | ||
(from: string, to: string): string; | ||
@@ -53,0 +53,0 @@ }; |
{ | ||
"name": "@pixi/utils", | ||
"version": "7.3.2", | ||
"version": "7.3.3", | ||
"main": "lib/index.js", | ||
@@ -39,5 +39,5 @@ "module": "lib/index.mjs", | ||
"dependencies": { | ||
"@pixi/color": "7.3.2", | ||
"@pixi/constants": "7.3.2", | ||
"@pixi/settings": "7.3.2", | ||
"@pixi/color": "7.3.3", | ||
"@pixi/constants": "7.3.3", | ||
"@pixi/settings": "7.3.3", | ||
"@types/earcut": "^2.1.0", | ||
@@ -44,0 +44,0 @@ "earcut": "^2.2.4", |
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
249345
2315
+ Added@pixi/color@7.3.3(transitive)
+ Added@pixi/constants@7.3.3(transitive)
+ Added@pixi/settings@7.3.3(transitive)
+ Added@types/css-font-loading-module@0.0.12(transitive)
- Removed@pixi/color@7.3.2(transitive)
- Removed@pixi/constants@7.3.2(transitive)
- Removed@pixi/settings@7.3.2(transitive)
- Removed@types/css-font-loading-module@0.0.7(transitive)
Updated@pixi/color@7.3.3
Updated@pixi/constants@7.3.3
Updated@pixi/settings@7.3.3