@visulima/disposable-email-domains 1.1.25 → 2.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,110 @@
1
+ ## @visulima/disposable-email-domains [2.0.0](https://github.com/visulima/visulima/compare/@visulima/disposable-email-domains@1.1.26...@visulima/disposable-email-domains@2.0.0) (2026-10-15)
2
+
3
+ ### ⚠ BREAKING CHANGES
4
+
5
+ * Deno is no longer a supported runtime or package manager.
6
+ vis targets node/bun runtimes and aube/npm/pnpm/yarn package managers; the
7
+ deno-lint/deno-fmt adapters and deno inference targets are removed.
8
+
9
+ * fix: resolve eslint errors after deno removal
10
+
11
+ - vis: use a block body for applyIgnoreScripts (arrow-body-style)
12
+ - is-ansi-color-supported: drop stale eslint-disable directives and
13
+ replace the raw-release if/else with a ternary (unicorn/prefer-ternary)
14
+
15
+ * docs(cron-parser): remove remaining deno runtime mentions
16
+
17
+ These doc/config files arrived with main's dialect-gating commit after this
18
+ branch's base, so they still listed Deno as a supported runtime.
19
+
20
+ * feat!: remove deno runtime and tooling support
21
+
22
+ Deno is being wound down: Cloudflare is acquiring the Deno team, the runtime
23
+ gets one more year of monthly maintenance before development ends, and Deno
24
+ Deploy shuts down. Drop Deno as a supported runtime, package manager, and
25
+ lint/fmt/inference target across the monorepo.
26
+
27
+ - vis: remove the deno runtime path, deno-lint/deno-fmt adapters, the
28
+ deno.json inference detector, Deno PM handling (TypeScript + Rust native
29
+ resolver), and the devcontainer deno mount; regenerate the JSON schemas.
30
+ - libraries: drop Deno runtime detection from cerebro, ono,
31
+ is-ansi-color-supported, and task-runner command parsing; remove Deno
32
+ wording from package docs and READMEs.
33
+ - delete the examples/deno directories (ono, pail, storage) and Deno docs.
34
+ - keep JSR publishing (registry usable from Node), license/attribution
35
+ comments, the secret-scanner Deno-token rule, and the historical RFCs.
36
+ * Deno is no longer a supported runtime or package manager.
37
+ vis targets node/bun runtimes and aube/npm/pnpm/yarn package managers; the
38
+ deno-lint/deno-fmt adapters and deno inference targets are removed.
39
+
40
+ * fix: resolve eslint errors after deno removal
41
+
42
+ - vis: use a block body for applyIgnoreScripts (arrow-body-style)
43
+ - is-ansi-color-supported: drop stale eslint-disable directives and
44
+ replace the raw-release if/else with a ternary (unicorn/prefer-ternary)
45
+
46
+ * chore(vis): tidy deno-removal leftovers from review
47
+
48
+ * fix(vis): drop unused logger from x handler, restore bun typing
49
+
50
+ Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
51
+
52
+ * docs: add migration notes for removed deno exports
53
+
54
+ Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
55
+
56
+ * feat(vis): warn on stale adapter ids and deno-only projects
57
+
58
+ Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
59
+
60
+ * refactor(vis): derive runtime ids and reuse bun detection
61
+
62
+ Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
63
+
64
+ * refactor(vis): drop jsr deno option and deno auth reference
65
+
66
+ Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
67
+
68
+ * fix(vis): restore runtime id schema description
69
+
70
+ Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
71
+
72
+ * refactor(vis): remove jsr publishing support
73
+
74
+ Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
75
+
76
+ * feat(bytes): port @std/bytes helpers back in
77
+
78
+ Carries the Uint8Array helpers from @std/bytes@1.0.6 (MIT, Copyright the Deno authors)
79
+ into src/std-bytes.ts and re-exports them from the package entry. Keeps the public API that
80
+ the Deno-removal commit dropped, without the jsr: devDependency. Docs and AGENTS notes are
81
+ restored to describe the ported functions.
82
+
83
+ Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
84
+
85
+ * docs(bytes): attribute ported @std/bytes source
86
+
87
+ The license file still listed @jsr/std__bytes as a bundled dependency.
88
+ Replace it with the MIT notice for the ported src/std-bytes.ts, placed outside
89
+ the generated dependency blocks.
90
+
91
+ Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
92
+
93
+ * fix(cron-parser): keep reviewed docs and 1.1.0 version
94
+
95
+ The rebase onto the remote branch dropped the reviewed dialect sentence in the README and
96
+ the installation table row, and the release commit's 1.1.0 version bump.
97
+
98
+ ### Features
99
+
100
+ * remove deno runtime and tooling support ([#973](https://github.com/visulima/visulima/issues/973)) ([26fada1](https://github.com/visulima/visulima/commit/26fada1ac04731cba9db8f74fe20849c0a15db74))
101
+
102
+ ## @visulima/disposable-email-domains [1.1.26](https://github.com/visulima/visulima/compare/@visulima/disposable-email-domains@1.1.25...@visulima/disposable-email-domains@1.1.26) (2026-10-15)
103
+
104
+ ### Bug Fixes
105
+
106
+ * sync data sources (disposable email domains, typosquats blocklist) ([67b4959](https://github.com/visulima/visulima/commit/67b49592324b8df2a20bf596485e6af3971a66f9))
107
+
1
108
  ## @visulima/disposable-email-domains [1.1.25](https://github.com/visulima/visulima/compare/@visulima/disposable-email-domains@1.1.24...@visulima/disposable-email-domains@1.1.25) (2026-10-14)
2
109
 
3
110
  ### Bug Fixes
package/README.md CHANGED
@@ -54,26 +54,26 @@ pnpm add @visulima/disposable-email-domains
54
54
 
55
55
  | Repository | Domains | Success | Performance |
56
56
  |------------|---------|---------|-------------|
57
- | disposable/disposable-email-domains | 98,610 | ✅ | 1.05s (1.5 MB) |
58
- | willwhite/freemail | 88,162 | ✅ | 0.87s (1.3 MB) |
59
- | FGRibreau/mailchecker | 56,512 | ✅ | 0.29s (848.5 KB) |
60
- | wesbos/burner-email-providers | 27,277 | ✅ | 0.10s (388.0 KB) |
61
- | groundcat/disposable-email-domain-list | 21,453 | ✅ | 0.19s (329.4 KB) |
62
- | 7c/fakefilter | 10,630 | ✅ | 0.05s (146.1 KB) |
63
- | sublime-security/static-files | 10,522 | ✅ | 0.05s (144.0 KB) |
64
- | disposable-email-domains/disposable-email-domains | 9,881 | ✅ | 0.53s (139.6 KB) |
65
- | eser/sanitizer-svc | 3,855 | ✅ | 0.20s (48.9 KB) |
66
- | unkn0w/disposable-email-domain-list | 3,616 | ✅ | 0.10s (45.7 KB) |
67
- | MattKetmo/EmailChecker | 2,515 | ✅ | 0.24s (32.4 KB) |
68
- | GeroldSetz/emailondeck.com-domains | 1,121 | ✅ | 0.14s (15.4 KB) |
69
- | castle/disposable-email-domains | 1,000 | ✅ | 0.21s (13.1 KB) |
70
- | jespernissen/disposable-maildomain-list | 982 | ✅ | 0.09s (12.6 KB) |
71
- | TheDahoom/disposable-email | 18 | ✅ | 0.13s (234 B) |
57
+ | disposable/disposable-email-domains | 98,735 | ✅ | 0.53s (1.5 MB) |
58
+ | willwhite/freemail | 88,162 | ✅ | 0.49s (1.3 MB) |
59
+ | FGRibreau/mailchecker | 56,512 | ✅ | 0.36s (848.5 KB) |
60
+ | wesbos/burner-email-providers | 27,277 | ✅ | 0.50s (388.0 KB) |
61
+ | groundcat/disposable-email-domain-list | 21,453 | ✅ | 0.08s (329.4 KB) |
62
+ | 7c/fakefilter | 10,642 | ✅ | 0.47s (146.2 KB) |
63
+ | sublime-security/static-files | 10,522 | ✅ | 0.13s (144.0 KB) |
64
+ | disposable-email-domains/disposable-email-domains | 9,892 | ✅ | 0.25s (139.8 KB) |
65
+ | eser/sanitizer-svc | 3,855 | ✅ | 0.25s (48.9 KB) |
66
+ | unkn0w/disposable-email-domain-list | 3,616 | ✅ | 0.47s (45.7 KB) |
67
+ | MattKetmo/EmailChecker | 2,515 | ✅ | 0.15s (32.4 KB) |
68
+ | GeroldSetz/emailondeck.com-domains | 1,121 | ✅ | 0.24s (15.4 KB) |
69
+ | castle/disposable-email-domains | 1,000 | ✅ | 0.02s (13.2 KB) |
70
+ | jespernissen/disposable-maildomain-list | 982 | ✅ | 0.16s (12.6 KB) |
71
+ | TheDahoom/disposable-email | 18 | ✅ | 0.23s (234 B) |
72
72
 
73
73
  <!-- END_PLACEHOLDER_CONTRIBUTING -->
74
74
  <!-- START_PLACEHOLDER_LAST_UPDATED -->
75
75
 
76
- _Last updated: 2026-10-14_
76
+ _Last updated: 2026-10-15_
77
77
 
78
78
  <!-- END_PLACEHOLDER_LAST_UPDATED -->
79
79
 
@@ -171,7 +171,7 @@ isDisposableEmail("user@mailinator.com"); // true, no setup
171
171
 
172
172
  The list is about 2.8 MB (about 0.9 MB gzipped) of your bundle and cannot be tree-shaken, which is why it is a separate entry: use `/edge` only where you need it, and use the main entry with `setDomains` if you supply your own list.
173
173
 
174
- **Using the main entry instead?** By default the package reads `dist/domains.json` from disk via `node:fs`, the first time a lookup needs it. That is not possible in Cloudflare Workers, Next.js middleware/edge, or bundles that relocate `index.js` away from the data file, and in Deno it needs `process.getBuiltinModule`, `import.meta.url` and read permission for the data file. Importing the package is safe everywhere, but when the loader cannot read the list nothing matches the built-in list (only `customDomains` you pass per call still match) and a single warning is logged.
174
+ **Using the main entry instead?** By default the package reads `dist/domains.json` from disk via `node:fs`, the first time a lookup needs it. That is not possible in Cloudflare Workers, Next.js middleware/edge, or bundles that relocate `index.js` away from the data file. Importing the package is safe everywhere, but when the loader cannot read the list nothing matches the built-in list (only `customDomains` you pass per call still match) and a single warning is logged.
175
175
 
176
176
  Inject the list once at startup with `setDomains` and, since disposable detection is often a signup gate, call `assertListLoaded()` at startup so a missed or failed load throws instead of failing open (`isListLoaded()` is the non-throwing check):
177
177