This commit is contained in:
Holly Stubbs 2024-12-16 10:23:30 +00:00
parent 4f335421b4
commit 5c1c4f9a2b
3 changed files with 22 additions and 9 deletions

23
package-lock.json generated
View file

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

View file

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

View file

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