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

@serwist/build

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/build - npm Package Compare versions

Comparing version 9.0.0-preview.14 to 9.0.0-preview.15

4

dist/index.js
import stringify from 'fast-json-stable-stringify';
export { default as stringify } from 'fast-json-stable-stringify';
import assert from 'assert';
import assert from 'node:assert';
import { oneLine } from 'common-tags';
import crypto from 'crypto';
import crypto from 'node:crypto';
import { globSync } from 'glob';

@@ -7,0 +7,0 @@ import upath from 'upath';

import type { ManifestEntry } from "../types.js";
type AdditionalManifestEntriesTransform = {
(manifest: (ManifestEntry & {
type AdditionalManifestEntriesTransform = (manifest: (ManifestEntry & {
size: number;
})[]) => {
manifest: (ManifestEntry & {
size: number;
})[]): {
manifest: (ManifestEntry & {
size: number;
})[];
warnings: string[];
};
})[];
warnings: string[];
};

@@ -12,0 +10,0 @@ export declare const additionalPrecacheEntriesTransform: (additionalPrecacheEntries: (ManifestEntry | string)[]) => AdditionalManifestEntriesTransform;

/// <reference types="node" resolution-mode="require"/>
import crypto from "crypto";
import crypto from "node:crypto";
export declare function getStringHash(input: crypto.BinaryLike): string;
//# sourceMappingURL=get-string-hash.d.ts.map
{
"name": "@serwist/build",
"version": "9.0.0-preview.14",
"version": "9.0.0-preview.15",
"type": "module",

@@ -57,3 +57,3 @@ "description": "A module that integrates into your build process, helping you generate a manifest of local files that should be precached.",

"zod": "3.22.4",
"@serwist/core": "9.0.0-preview.14"
"@serwist/core": "9.0.0-preview.15"
},

@@ -63,8 +63,8 @@ "devDependencies": {

"@types/fs-extra": "11.0.4",
"@types/node": "20.11.26",
"@types/node": "20.11.30",
"@types/stringify-object": "4.0.5",
"type-fest": "4.12.0",
"typescript": "5.5.0-dev.20240312",
"@serwist/constants": "9.0.0-preview.14",
"@serwist/utils": "9.0.0-preview.14"
"type-fest": "4.13.1",
"typescript": "5.5.0-dev.20240323",
"@serwist/constants": "9.0.0-preview.15",
"@serwist/utils": "9.0.0-preview.15"
},

@@ -71,0 +71,0 @@ "peerDependencies": {

@@ -9,3 +9,3 @@ /*

import assert from "assert";
import assert from "node:assert";
import stringify from "fast-json-stable-stringify";

@@ -12,0 +12,0 @@ import fse from "fs-extra";

@@ -12,9 +12,5 @@ /*

type AdditionalManifestEntriesTransform = {
(
manifest: (ManifestEntry & { size: number })[],
): {
manifest: (ManifestEntry & { size: number })[];
warnings: string[];
};
type AdditionalManifestEntriesTransform = (manifest: (ManifestEntry & { size: number })[]) => {
manifest: (ManifestEntry & { size: number })[];
warnings: string[];
};

@@ -21,0 +17,0 @@

@@ -9,3 +9,3 @@ /*

import crypto from "crypto";
import crypto from "node:crypto";

@@ -12,0 +12,0 @@ import type { FileDetails } from "../types.js";

@@ -9,3 +9,3 @@ /*

import assert from "assert";
import assert from "node:assert";

@@ -12,0 +12,0 @@ import type { FileDetails, GetManifestOptions, GetManifestResult } from "../types.js";

@@ -9,3 +9,3 @@ /*

import crypto from "crypto";
import crypto from "node:crypto";

@@ -12,0 +12,0 @@ export function getStringHash(input: crypto.BinaryLike): string {

Sorry, the diff of this file is not supported yet

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