Skip to content

Commit d11db63

Browse files
committed
Bump version (fixes #6).
1 parent e931d51 commit d11db63

File tree

6 files changed

+267
-539
lines changed

6 files changed

+267
-539
lines changed

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
shamefully-flatten=true

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Version check
66

77
![Latest upstream version](https://img.shields.io/npm/v/node-fetch?label=latest%20upstream)
8-
![Current upstream version](https://img.shields.io/badge/current%20upstream-v3.3.1-brightgreen)
8+
![Current upstream version](https://img.shields.io/badge/current%20upstream-v3.3.2-brightgreen)
99

1010
## Differences
1111

build.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ async function main() {
4747
pkg.version = "3.3.1"
4848
pkg.type = "commonjs"
4949
pkg.repository.url = execSync("git config --get remote.origin.url").toString().trim()
50-
pkg.dependencies["web-streams-polyfill"] = "^3.1.1"
50+
const fetchPkg = require("fetch-blob/package.json")
51+
pkg.dependencies ??= {}
52+
Object.assign(pkg.dependencies, fetchPkg.dependencies)
53+
delete pkg.dependencies["formdata-polyfill"]
5154
delete pkg.homepage
5255
delete pkg.files
5356
delete pkg.scripts

package.json

+7-9
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,18 @@
22
"name": "node-fetch-cjs",
33
"version": "0.1.1",
44
"dependencies": {
5-
"node-fetch": "^3.3.1"
5+
"node-fetch": "^3.3.2"
66
},
77
"scripts": {
8-
"build": "./build.js",
9-
"postinstall": "patch-package"
8+
"build": "./build.js"
109
},
1110
"devDependencies": {
1211
"@rollup/plugin-alias": "^5.0.0",
13-
"@rollup/plugin-node-resolve": "^15.1.0",
14-
"@types/fs-extra": "^9.0.13",
15-
"@types/node": "^18.7.18",
16-
"fs-extra": "^10.1.0",
17-
"patch-package": "^6.4.7",
18-
"rollup": "^3.25.1"
12+
"@rollup/plugin-node-resolve": "^15.2.1",
13+
"@types/fs-extra": "^11.0.1",
14+
"@types/node": "^20.6.0",
15+
"fs-extra": "^11.1.1",
16+
"rollup": "^3.29.1"
1917
},
2018
"prettier": {
2119
"arrowParens": "avoid",

pnpm-lock.yaml

+254
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)