* 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:
@@ -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 }}
|
||||
|
||||
@@ -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
@@ -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",
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user