Skip to content

Commit

Permalink
fix(punycode): do not use native punycode module
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Dec 30, 2023
1 parent 8376c02 commit b4d0e0c
Show file tree
Hide file tree
Showing 7 changed files with 1,049 additions and 492 deletions.
4 changes: 3 additions & 1 deletion .ncurc.js
Expand Up @@ -2,6 +2,8 @@ module.exports = {
upgrade: true,
reject: [
// API changes break existing tests
'proxy'
'proxy',
// ESM
'chai'
]
};
2 changes: 1 addition & 1 deletion lib/dkim/sign.js
@@ -1,6 +1,6 @@
'use strict';

const punycode = require('punycode');
const punycode = require('../punycode');
const mimeFuncs = require('../mime-funcs');
const crypto = require('crypto');

Expand Down
2 changes: 1 addition & 1 deletion lib/mime-node/index.js
Expand Up @@ -4,7 +4,7 @@

const crypto = require('crypto');
const fs = require('fs');
const punycode = require('punycode');
const punycode = require('../punycode');
const PassThrough = require('stream').PassThrough;
const shared = require('../shared');

Expand Down

0 comments on commit b4d0e0c

Please sign in to comment.