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

@serwist/core

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serwist/core - npm Package Compare versions

Comparing version 8.4.4 to 9.0.0-preview.0

dist/_private/assert.d.ts.map

1

dist/_private/assert.d.ts

@@ -11,1 +11,2 @@ import type { MapLikeObject } from "../types.js";

export { finalAssertExports as assert };
//# sourceMappingURL=assert.d.ts.map

@@ -15,1 +15,2 @@ /**

export { cacheMatchIgnoreParams };
//# sourceMappingURL=cacheMatchIgnoreParams.d.ts.map

@@ -40,1 +40,2 @@ export interface CacheNameDetails {

};
//# sourceMappingURL=cacheNames.d.ts.map

@@ -12,1 +12,2 @@ /**

export { canConstructReadableStream };
//# sourceMappingURL=canConstructReadableStream.d.ts.map

@@ -11,1 +11,2 @@ /**

export { canConstructResponseFromBodyStream };
//# sourceMappingURL=canConstructResponseFromBodyStream.d.ts.map

@@ -19,1 +19,2 @@ /**

export { Deferred };
//# sourceMappingURL=Deferred.d.ts.map

@@ -7,1 +7,2 @@ /**

export declare function dontWaitFor(promise: Promise<any>): void;
//# sourceMappingURL=dontWaitFor.d.ts.map

@@ -9,1 +9,2 @@ /**

export { executeQuotaErrorCallbacks };
//# sourceMappingURL=executeQuotaErrorCallbacks.d.ts.map
declare const getFriendlyURL: (url: URL | string) => string;
export { getFriendlyURL };
//# sourceMappingURL=getFriendlyURL.d.ts.map

@@ -11,1 +11,2 @@ declare global {

export { logger };
//# sourceMappingURL=logger.d.ts.map

@@ -12,1 +12,2 @@ /**

export declare function resultingClientExists(resultingClientId?: string): Promise<Client | undefined>;
//# sourceMappingURL=resultingClientExists.d.ts.map

@@ -24,1 +24,2 @@ import type { MapLikeObject } from "../types.js";

export { SerwistError };
//# sourceMappingURL=SerwistError.d.ts.map

@@ -10,1 +10,2 @@ /**

export declare function timeout(ms: number): Promise<unknown>;
//# sourceMappingURL=timeout.d.ts.map

@@ -12,1 +12,2 @@ /**

export { waitUntil };
//# sourceMappingURL=waitUntil.d.ts.map

@@ -21,1 +21,2 @@ /**

export { cacheNames };
//# sourceMappingURL=cacheNames.d.ts.map

@@ -7,1 +7,2 @@ /**

export { clientsClaim };
//# sourceMappingURL=clientsClaim.d.ts.map

@@ -21,1 +21,2 @@ /**

export { copyResponse };
//# sourceMappingURL=copyResponse.d.ts.map

@@ -12,1 +12,2 @@ import { cacheNames } from "./cacheNames.js";

export * from "./types.js";
//# sourceMappingURL=index.d.ts.map

@@ -16,1 +16,2 @@ import { Deferred } from "./_private/Deferred.js";

export { assert, cacheMatchIgnoreParams, canConstructReadableStream, canConstructResponseFromBodyStream, Deferred, dontWaitFor, executeQuotaErrorCallbacks, getFriendlyURL, logger, privateCacheNames, resultingClientExists, SerwistError, timeout, waitUntil, };
//# sourceMappingURL=index.internal.d.ts.map

4

dist/index.internal.js

@@ -1,3 +0,3 @@

import { l as logger, q as quotaErrorCallbacks } from './quotaErrorCallbacks.js';
export { S as SerwistError, f as assert, a as canConstructResponseFromBodyStream, c as privateCacheNames } from './quotaErrorCallbacks.js';
import { l as logger, q as quotaErrorCallbacks } from './chunks/quotaErrorCallbacks.js';
export { S as SerwistError, f as assert, a as canConstructResponseFromBodyStream, c as privateCacheNames } from './chunks/quotaErrorCallbacks.js';

@@ -4,0 +4,0 @@ /*

@@ -1,2 +0,2 @@

import { c as cacheNames$1, S as SerwistError, a as canConstructResponseFromBodyStream, f as finalAssertExports, q as quotaErrorCallbacks, l as logger } from './quotaErrorCallbacks.js';
import { c as cacheNames$1, S as SerwistError, a as canConstructResponseFromBodyStream, f as finalAssertExports, q as quotaErrorCallbacks, l as logger } from './chunks/quotaErrorCallbacks.js';

@@ -3,0 +3,0 @@ /**

export declare const messageGenerator: ((code: string, ...args: any[]) => string) | ((code: string, details?: {}) => string);
//# sourceMappingURL=messageGenerator.d.ts.map

@@ -9,1 +9,2 @@ interface LoggableObject {

export {};
//# sourceMappingURL=messages.d.ts.map

@@ -10,1 +10,2 @@ export declare enum pluginEvents {

}
//# sourceMappingURL=pluginEvents.d.ts.map
declare const quotaErrorCallbacks: Set<Function>;
export { quotaErrorCallbacks };
//# sourceMappingURL=quotaErrorCallbacks.d.ts.map

@@ -9,1 +9,2 @@ /**

export { registerQuotaErrorCallback };
//# sourceMappingURL=registerQuotaErrorCallback.d.ts.map

@@ -10,1 +10,2 @@ import type { PartialCacheNameDetails } from "./_private/cacheNames.js";

export { setCacheNameDetails };
//# sourceMappingURL=setCacheNameDetails.d.ts.map

@@ -273,1 +273,2 @@ export interface MapLikeObject {

}
//# sourceMappingURL=types.d.ts.map

@@ -5,1 +5,2 @@ import type { SerwistPlugin } from "../types.js";

};
//# sourceMappingURL=pluginUtils.d.ts.map
export {};
//# sourceMappingURL=welcome.d.ts.map
{
"name": "@serwist/core",
"version": "8.4.4",
"version": "9.0.0-preview.0",
"type": "module",
"description": "This module is used by a number of the other Serwist modules to share common code.",
"files": [
"dist",
"!dist/**/dts"
"src",
"dist"
],

@@ -22,3 +22,2 @@ "keywords": [

"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",

@@ -34,26 +33,23 @@ "typesVersions": {

".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./internal": {
"import": {
"types": "./dist/index.internal.d.ts",
"default": "./dist/index.internal.js"
},
"require": {
"types": "./dist/index.internal.d.cts",
"default": "./dist/index.internal.cjs"
}
"types": "./dist/index.internal.d.ts",
"default": "./dist/index.internal.js"
}
},
"devDependencies": {
"rollup": "4.9.1",
"@serwist/constants": "8.4.4"
"rollup": "4.9.6",
"typescript": "5.4.0-dev.20240203",
"@serwist/constants": "9.0.0-preview.0"
},
"peerDependencies": {
"typescript": ">=5.0.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"scripts": {

@@ -60,0 +56,0 @@ "build": "rimraf dist && cross-env NODE_ENV=production rollup --config rollup.config.js",

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