From 5c1c4f9a2b70b96ff7ecf10e93d2552afc4f8d08 Mon Sep 17 00:00:00 2001 From: Holly Date: Mon, 16 Dec 2024 10:23:30 +0000 Subject: [PATCH] 1.8.0 --- package-lock.json | 23 +++++++++++++++++------ package.json | 5 ++--- tooling/mangle.ts | 3 +++ 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index f504b49..a68f0fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,14 +1,15 @@ { "name": "bufferstuff", - "version": "1.7.1", + "version": "1.8.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "bufferstuff", - "version": "1.7.1", + "version": "1.8.0", "license": "MIT", "devDependencies": { + "@types/node": "^22.10.2", "check-outdated": "^2.12.0", "npm-run-all": "^4.1.5", "terser": "^5.37.0", @@ -111,11 +112,14 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.16.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.2.tgz", - "integrity": "sha512-GQW/JL/5Fz/0I8RpeBG9lKp0+aNcXEaVL71c0D2Q0QHDTFvlYKT7an0onCUXj85anv7b4/WesqdfchLc0jtsCg==", + "version": "22.10.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.2.tgz", + "integrity": "sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==", "dev": true, - "peer": true + "license": "MIT", + "dependencies": { + "undici-types": "~6.20.0" + } }, "node_modules/acorn": { "version": "8.8.2", @@ -1393,6 +1397,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/undici-types": { + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", + "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", + "dev": true, + "license": "MIT" + }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", diff --git a/package.json b/package.json index 269fcc8..3b98ac6 100644 --- a/package.json +++ b/package.json @@ -1,18 +1,16 @@ { "name": "bufferstuff", - "version": "1.7.1", + "version": "1.8.0", "description": "A set of utility classes for reading and writing binary data in NodeJS and the browser", "main": "./lib/index.js", "types": "./lib/index.d.ts", "scripts": { "updateCheck": "check-outdated", "_clean": "tsc --build --clean", - "build": "npm-run-all build:*", "build:smash": "ts-node ./tooling/fileSmasher.ts", "build:build": "tsc --build", "build:cleanup": "ts-node ./tooling/cleanup.ts", - "buildweb": "npm-run-all buildweb:*", "buildweb:smash": "ts-node ./tooling/fileSmasher.ts forweb", "buildweb:build": "tsc --build", @@ -30,6 +28,7 @@ }, "homepage": "https://git.eusv.net/tgpholly/bufferStuff#readme", "devDependencies": { + "@types/node": "^22.10.2", "check-outdated": "^2.12.0", "npm-run-all": "^4.1.5", "terser": "^5.37.0", diff --git a/tooling/mangle.ts b/tooling/mangle.ts index 7bffd4e..f6265f5 100644 --- a/tooling/mangle.ts +++ b/tooling/mangle.ts @@ -1,3 +1,6 @@ +// Copyright (c) Holly Stubbs (tgpholly) - Licensed under MIT +// Check LICENSE in repository root for more information. + import { readFileSync, writeFileSync } from "fs"; import { minify } from "terser";