@guardian/libs
Advanced tools
Comparing version 0.0.0-canary-20240701153039 to 0.0.0-canary-20240701154308
@@ -9,5 +9,5 @@ /** | ||
name: string; | ||
shouldMemoize?: boolean | undefined; | ||
shouldMemoize?: boolean; | ||
}) => string | null; | ||
export { getCookie }; |
@@ -9,5 +9,5 @@ /** | ||
name: string; | ||
currentDomainOnly?: boolean | undefined; | ||
currentDomainOnly?: boolean; | ||
}) => void; | ||
export { removeCookie }; |
@@ -12,6 +12,6 @@ /** | ||
value: string; | ||
daysToLive?: number | undefined; | ||
isCrossSubdomain?: boolean | undefined; | ||
daysToLive?: number; | ||
isCrossSubdomain?: boolean; | ||
}) => void; | ||
export { setCookie }; |
@@ -17,4 +17,4 @@ /** | ||
*/ | ||
declare const isOneOf: <Literals extends readonly (string | number)[]>(literals: Literals) => (value: string | number) => value is Literals[number]; | ||
declare const isOneOf: <Literals extends ReadonlyArray<string | number>>(literals: Literals) => (value: string | number) => value is Literals[number]; | ||
export { isOneOf }; |
@@ -11,4 +11,4 @@ /** | ||
*/ | ||
declare const loadScript: (src: string, props?: Omit<Partial<HTMLScriptElement>, 'src' | 'onload' | 'onerror'>) => Promise<Event | undefined>; | ||
declare const loadScript: (src: string, props?: Omit<Partial<HTMLScriptElement>, "src" | "onload" | "onerror">) => Promise<Event | undefined>; | ||
export { loadScript }; |
@@ -1,3 +0,3 @@ | ||
var version = "0.0.0-canary-20240701153039"; | ||
var version = "0.0.0-canary-20240701154308"; | ||
export { version }; |
{ | ||
"name": "@guardian/libs", | ||
"version": "0.0.0-canary-20240701153039", | ||
"version": "0.0.0-canary-20240701154308", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "A collection of JavaScript libraries and TypeScript types for Guardian projects", |
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
227993