tldts 5.7.111 → 6.0.0

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.
@@ -1,8 +1,5 @@
1
- export interface ITrie {
2
- $: number;
3
- succ: {
4
- [label: string]: ITrie;
5
- };
6
- }
1
+ export type ITrie = [0 | 1 | 2, {
2
+ [label: string]: ITrie;
3
+ }];
7
4
  export declare const exceptions: ITrie;
8
5
  export declare const rules: ITrie;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tldts",
3
- "version": "5.7.111",
3
+ "version": "6.0.0",
4
4
  "description": "Library to work against complex domain names, subdomains and URIs.",
5
5
  "author": {
6
6
  "name": "Rémi Berson"
@@ -48,9 +48,8 @@
48
48
  },
49
49
  "scripts": {
50
50
  "clean": "rimraf dist coverage",
51
- "lint": "tslint --config ../../tslint.json --project ./tsconfig.json",
52
51
  "build": "tsc --build ./tsconfig.json",
53
- "bundle": "tsc --build ./tsconfig.bundle.json && rollup --config ./rollup.config.ts --configPlugin typescript",
52
+ "bundle": "tsc --build ./tsconfig.bundle.json && rollup --config ./rollup.config.mjs",
54
53
  "prepack": "yarn run bundle",
55
54
  "test": "nyc mocha --config ../../.mocharc.js"
56
55
  },
@@ -60,20 +59,18 @@
60
59
  "@rollup/plugin-typescript": "^11.0.0",
61
60
  "@types/chai": "^4.2.18",
62
61
  "@types/mocha": "^10.0.0",
63
- "@types/node": "^18.0.0",
62
+ "@types/node": "^18.15.11",
64
63
  "chai": "^4.2.0",
65
64
  "mocha": "^10.1.0",
66
65
  "nyc": "^15.0.1",
67
- "rimraf": "^4.1.2",
68
- "rollup": "^3.17.3",
66
+ "rimraf": "^4.4.1",
67
+ "rollup": "^3.20.2",
69
68
  "rollup-plugin-sourcemaps": "^0.6.1",
70
- "tldts-tests": "^5.7.111",
71
- "tslint": "^6.0.0",
72
- "tslint-config-prettier": "^1.18.0",
73
- "typescript": "^4.3.2"
69
+ "tldts-tests": "^6.0.0",
70
+ "typescript": "^5.0.3"
74
71
  },
75
72
  "dependencies": {
76
- "tldts-core": "^5.7.111"
73
+ "tldts-core": "^6.0.0"
77
74
  },
78
75
  "keywords": [
79
76
  "tld",
@@ -90,5 +87,5 @@
90
87
  "url parsing",
91
88
  "typescript"
92
89
  ],
93
- "gitHead": "fcb5a1872b2a2ec312fba291aa164edcd7cdccc6"
90
+ "gitHead": "bc3d5270b8e60787816fa821680f175547c1008f"
94
91
  }