* Changed package manager to pnpm

* Updated outdated dependancies and removed deprecated ones
* Tests still need work, package only used for personal use at the moment, not production ready
This commit is contained in:
2025-07-24 17:10:07 -05:00
parent d5acee931e
commit 1448cf9615
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
node: ["18", "20", "22"]
runs-on: ${{ matrix.os }}
+2
View File
@@ -15,6 +15,8 @@ import { Blob } from './index.js'
const { stat, mkdtemp } = fs
let i = 0, tempDir, registry
/**
* @param {string} path filepath on the disk
* @param {string} [type] mimetype to use
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "fetch-blob",
"version": "5.0.0",
"version": "4.1.0",
"description": "Blob & File implementation in Node.js, originally from node-fetch.",
"main": "index.js",
"type": "module",
+1 -1
View File
@@ -57,7 +57,7 @@ test(() => {
const file = new File([], '', { lastModified })
assert_equals(file.lastModified, 0)
}
}, 'Interpretes NaN value in lastModified option as 0')
}, 'Interprets NaN value in lastModified option as 0')
test(() => {
assert_equals(blobFromSync, syncBlob)