punycode-esm 1.0.12 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Jacob Ley
3
+ Copyright (c) 2025 Jacob Ley
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -10,4 +10,5 @@ export const checkOverflow = (lower, upper, { gte = false, error } = {})=>{
10
10
  throw new RangeError(error ? errors[error] : 'Overflow: input needs wider integers to process');
11
11
  }
12
12
  };
13
- //# sourceMappingURL=errors.js.map
13
+
14
+ //# sourceMappingURL=errors.js.map
package/dist/punycode.js CHANGED
@@ -188,4 +188,5 @@ export const encode = (input)=>{
188
188
  };
189
189
  export const toUnicode = (input)=>mapDomain(input, (str)=>str.startsWith('xn--') ? decode(str.slice(4).toLowerCase()) : str);
190
190
  export const toASCII = (input)=>mapDomain(input, (string)=>regexNonASCII.test(string) ? `xn--${encode(string)}` : string);
191
- //# sourceMappingURL=punycode.js.map
191
+
192
+ //# sourceMappingURL=punycode.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "punycode-esm",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "Typescript + ESM version of punycode.js",
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -29,16 +29,19 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@biomejs/biome": "^1.9.4",
32
+ "@swc/cli": "^0.5.2",
33
+ "@swc/core": "^1.10.4",
32
34
  "@types/chai": "^5.0.1",
33
- "@types/mocha": "^10.0.9",
34
- "@types/node": "^22.8.6",
35
- "c8": "^10.1.2",
35
+ "@types/mocha": "^10.0.10",
36
+ "@types/node": "^22.10.2",
37
+ "c8": "^10.1.3",
36
38
  "chai": "^5.1.2",
37
- "mocha": "^10.8.2",
38
- "typescript": "^5.6.3",
39
- "nx-tsc": "^0.0.13",
40
- "mocha-chain": "^0.0.8",
41
- "@leyman/eslint-config": "^0.0.4",
42
- "nx-update-ts-references": "^0.0.8"
39
+ "eslint": "^9.17.0",
40
+ "mocha": "^11.0.1",
41
+ "typescript": "^5.7.2",
42
+ "@leyman/eslint-config": "^0.0.5",
43
+ "mocha-chain": "^0.0.10",
44
+ "nx-update-ts-references": "^0.2.0",
45
+ "pnpm-dedicated-lockfile": "^0.0.3"
43
46
  }
44
47
  }