From 608a41ef0d1753ff15174c1224bc70603c9d31fb Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Tue, 12 Dec 2023 14:14:18 -0800 Subject: [PATCH] - dep(punycode): correctly specify (with trailing /) --- CHANGELOG.md | 7 +++++++ index.js | 2 +- package.json | 8 ++++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62d0608..7707301 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ### Unreleased +### [1.2.0] - 2023-12-12 + +- dep(punycode): correctly specify (with trailing /) + - to override built-in, which emits warnings + + ### [1.1.2] - 2023-12-11 - updated TLD files @@ -192,3 +198,4 @@ [1.1.0]: https://github.com/haraka/haraka-tld/releases/tag/1.1.0 [1.1.1]: https://github.com/haraka/haraka-tld/releases/tag/1.1.1 [1.1.2]: https://github.com/haraka/haraka-tld/releases/tag/1.1.2 +[1.2.0]: https://github.com/haraka/haraka-tld/releases/tag/1.2.0 diff --git a/index.js b/index.js index 82bb2f0..0fc3c03 100644 --- a/index.js +++ b/index.js @@ -5,7 +5,7 @@ const fs = require('fs'); const path = require('path'); // npm modules (dependencies) -const punycode = require('punycode'); +const punycode = require('punycode/'); // local deps const update = require('./lib/update'); diff --git a/package.json b/package.json index aab3014..12e6b4c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "haraka-tld", - "version": "1.1.2", + "version": "1.2.0", "description": "Haraka TLD utilities", "main": "index.js", "directories": { @@ -27,11 +27,11 @@ }, "homepage": "https://github.com/haraka/haraka-tld#readme", "dependencies": { - "punycode": "2" + "punycode": "^2.3.1" }, "devDependencies": { - "eslint": "8", + "eslint": "^8.55.0", "eslint-plugin-haraka": "*", - "mocha": "9" + "mocha": "^10.2.0" } }