Skip to content

Commit

Permalink
Merge pull request #67 from newfold-labs/dependabot/npm_and_yarn/main…
Browse files Browse the repository at this point in the history
…/node-fetch-3.3.2

NPM Dev(deps-dev): Bump node-fetch from 2.7.0 to 3.3.2
  • Loading branch information
circlecube authored Feb 26, 2025
2 parents 8800a3d + 0cd7b6d commit ad0c434
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 35 deletions.
163 changes: 131 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"devDependencies": {
"@wordpress/scripts": "^26.19.0",
"node-fetch": "^2.7.0",
"node-fetch": "^3.3.2",
"semver": "^7.7.1",
"webpack-merge": "^6.0.1"
},
Expand Down
5 changes: 3 additions & 2 deletions set-version-bump.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const fs = require( 'fs' );
const path = require( 'path' );
const semver = require( 'semver' );
const packagefile = './package.json';
const pluginfile = './includes/Data/Constants.php';
const packagefile = path.resolve( __dirname, './package.json' );
const pluginfile = path.resolve( __dirname, './includes/Data/Constants.php' );

if ( fs.existsSync( packagefile ) && fs.existsSync( pluginfile ) ) {
const packageData = require( packagefile );
Expand Down

0 comments on commit ad0c434

Please sign in to comment.