Skip to content

Commit

Permalink
Fix [Bug]: punycode` module is deprecated di-sukharev#426
Browse files Browse the repository at this point in the history
Signed-off-by: Tiger Kaovilai <passawit.kaovilai@gmail.com>
  • Loading branch information
kaovilai committed Nov 21, 2024
1 parent 43cf958 commit c3d5a12
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions out/cli.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@ var require_mappingTable = __commonJS({
var require_tr46 = __commonJS({
"node_modules/node-fetch/node_modules/tr46/index.js"(exports, module2) {
"use strict";
var punycode = require("punycode");
const punycode = require('punycode/');
var mappingTable = require_mappingTable();
var PROCESSING_OPTIONS = {
TRANSITIONAL: 0,
Expand Down Expand Up @@ -1834,7 +1834,7 @@ var require_tr46 = __commonJS({
var require_url_state_machine = __commonJS({
"node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js"(exports, module2) {
"use strict";
var punycode = require("punycode");
const punycode = require('punycode/');
var tr46 = require_tr46();
var specialSchemes = {
ftp: 21,
Expand Down
4 changes: 2 additions & 2 deletions out/github-action.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -20487,7 +20487,7 @@ var require_mappingTable = __commonJS({
var require_tr46 = __commonJS({
"node_modules/node-fetch/node_modules/tr46/index.js"(exports, module2) {
"use strict";
var punycode = require("punycode");
const punycode = require('punycode/');
var mappingTable = require_mappingTable();
var PROCESSING_OPTIONS = {
TRANSITIONAL: 0,
Expand Down Expand Up @@ -20649,7 +20649,7 @@ var require_tr46 = __commonJS({
var require_url_state_machine = __commonJS({
"node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js"(exports, module2) {
"use strict";
var punycode = require("punycode");
const punycode = require('punycode/');
var tr46 = require_tr46();
var specialSchemes = {
ftp: 21,
Expand Down
5 changes: 3 additions & 2 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
"ignore": "^5.2.4",
"ini": "^3.0.1",
"inquirer": "^9.1.4",
"openai": "^4.57.0"
"openai": "^4.57.0",
"punycode": "^2.3.1"
}
}

0 comments on commit c3d5a12

Please sign in to comment.