Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@guardian/libs

Package Overview
Dependencies
Maintainers
0
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guardian/libs - npm Package Compare versions

Comparing version 0.0.0-canary-20240701153039 to 0.0.0-canary-20240701154308

2

dist/cookies/getCookie.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc