Skip to content

Commit

Permalink
Require punycode with trailing slash
Browse files Browse the repository at this point in the history
This ensures we're using the dependency version, instead of the built-in Node.js version.
  • Loading branch information
imcotton committed Jan 23, 2023
1 parent bfd63bb commit fef6e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";

const punycode = require("punycode");
const punycode = require("punycode/");
const regexes = require("./lib/regexes.js");
const mappingTable = require("./lib/mappingTable.json");
const { STATUS_MAPPING } = require("./lib/statusMapping.js");
Expand Down

1 comment on commit fef6e95

@MamkinCoder
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

damn! what an easy fix for such an annoying problem

Please sign in to comment.