Skip to content

Commit

Permalink
fix: upgrade url to 0.11.4, resolves node 20+ punycode deprecation wa…
Browse files Browse the repository at this point in the history
…rnings
  • Loading branch information
jacquesg authored and niksy committed Sep 16, 2024
1 parent e4d4583 commit aaf096e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/cjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const _module = require('module');
const net = require('net');
const os = require('os');
const path = require('path');
const punycode = require('punycode');
const _process = require('process');
const querystring = require('querystring');
const readline = require('readline');
Expand All @@ -39,6 +38,7 @@ const util = require('util');
const vm = require('vm');
const zlib = require('zlib');
const nodeAssert = require('node:assert');
const punycode = require('punycode/');

console.log('assert', assert);
console.log('buffer', buffer);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"string_decoder": "^1.0.0",
"timers-browserify": "^2.0.4",
"tty-browserify": "0.0.1",
"url": "^0.11.0",
"url": "^0.11.4",
"util": "^0.12.4",
"vm-browserify": "^1.0.1"
},
Expand Down

0 comments on commit aaf096e

Please sign in to comment.