runtime-checker 1.0.0 → 1.1.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/README.md +60 -26
- package/npm/bin/native/darwin-arm64/runtime-checker +0 -0
- package/npm/bin/native/darwin-x64/runtime-checker +0 -0
- package/npm/bin/native/linux-x64/runtime-checker +0 -0
- package/npm/bin/native/win32-x64/runtime-checker.exe +0 -0
- package/npm/bin/runtime-checker.js +7 -3
- package/package.json +5 -12
- package/Cargo.lock +0 -1972
- package/Cargo.toml +0 -46
- package/data/mdn/README.md +0 -30
- package/data/mdn/bun.ron +0 -1084
- package/data/mdn/chrome.ron +0 -7814
- package/data/mdn/deno.ron +0 -1497
- package/data/mdn/firefox.ron +0 -6452
- package/data/mdn/node.ron +0 -1311
- package/data/mdn/safari.ron +0 -6267
- package/data/mdn-bcd.version +0 -1
- package/data/node.ron +0 -3561
- package/npm/bin/native/runtime-checker.exe +0 -0
- package/npm/postinstall.js +0 -29
- package/npm/prepare-bin.js +0 -11
- package/src/analyzer.rs +0 -405
- package/src/bin/generate-mdn-data.rs +0 -517
- package/src/cli.rs +0 -71
- package/src/data.rs +0 -266
- package/src/engines.rs +0 -154
- package/src/help.rs +0 -192
- package/src/lib.rs +0 -251
- package/src/main.rs +0 -12
- package/src/report.rs +0 -819
- package/src/scanner.rs +0 -404
- package/src/version.rs +0 -101
package/Cargo.toml
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
[package]
|
|
2
|
-
name = "runtime-checker"
|
|
3
|
-
version = "1.0.0"
|
|
4
|
-
edition = "2024"
|
|
5
|
-
description = "Detect minimum runtime versions required by JavaScript and TypeScript codebases."
|
|
6
|
-
license = "BSD-3-Clause"
|
|
7
|
-
repository = "https://github.com/usebarekey/runtime-checker"
|
|
8
|
-
homepage = "https://github.com/usebarekey/runtime-checker"
|
|
9
|
-
readme = "README.md"
|
|
10
|
-
keywords = ["node", "deno", "bun", "runtime", "cli"]
|
|
11
|
-
categories = ["command-line-utilities", "development-tools"]
|
|
12
|
-
|
|
13
|
-
[dependencies]
|
|
14
|
-
aho-corasick = "1.1.4"
|
|
15
|
-
anstream = "0.6.21"
|
|
16
|
-
anstyle = "1.0.13"
|
|
17
|
-
anyhow = "1.0.102"
|
|
18
|
-
clap = { version = "4.5.53", features = ["derive"] }
|
|
19
|
-
fff-grep = "0.9.5-nightly.7d7910b"
|
|
20
|
-
ignore = "0.4.25"
|
|
21
|
-
mimalloc = "0.1"
|
|
22
|
-
node-semver = "2.2.0"
|
|
23
|
-
oxc_allocator = "0.135.0"
|
|
24
|
-
oxc_ast = "0.135.0"
|
|
25
|
-
oxc_ast_visit = "0.135.0"
|
|
26
|
-
oxc_parser = "0.135.0"
|
|
27
|
-
oxc_semantic = "0.135.0"
|
|
28
|
-
oxc_span = "0.135.0"
|
|
29
|
-
oxc_syntax = "0.135.0"
|
|
30
|
-
ron = "0.12.0"
|
|
31
|
-
serde = { version = "1.0.228", features = ["derive"] }
|
|
32
|
-
serde_json = "1.0.150"
|
|
33
|
-
terminal_size = "0.4.4"
|
|
34
|
-
thiserror = "2.0.17"
|
|
35
|
-
ureq = "2.12.1"
|
|
36
|
-
|
|
37
|
-
[dev-dependencies]
|
|
38
|
-
assert_cmd = "2.1.1"
|
|
39
|
-
tempfile = "3.24.0"
|
|
40
|
-
|
|
41
|
-
[profile.release]
|
|
42
|
-
opt-level = 3
|
|
43
|
-
lto = "thin"
|
|
44
|
-
codegen-units = 1
|
|
45
|
-
panic = "abort"
|
|
46
|
-
strip = "symbols"
|
package/data/mdn/README.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# MDN Browser Compatibility Data Source
|
|
2
|
-
|
|
3
|
-
This directory is generated from `@mdn/browser-compat-data`.
|
|
4
|
-
|
|
5
|
-
MDN does not expose this as a query API. The maintained machine-readable source is the `@mdn/browser-compat-data` npm package, which also publishes a raw `data.json` file through package CDNs.
|
|
6
|
-
|
|
7
|
-
The pinned BCD version is stored in `data/mdn-bcd.version`.
|
|
8
|
-
|
|
9
|
-
Regenerate from the pinned CDN release:
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
cargo run --bin generate-mdn-data -- --output-dir data/mdn
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
Regenerate from an already downloaded `data.json` file:
|
|
16
|
-
|
|
17
|
-
```sh
|
|
18
|
-
cargo run --bin generate-mdn-data -- --input path/to/data.json --output-dir data/mdn
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
The generator emits:
|
|
22
|
-
|
|
23
|
-
- `node.ron` from BCD runtime id `nodejs`
|
|
24
|
-
- `deno.ron` from BCD runtime id `deno`
|
|
25
|
-
- `bun.ron` from BCD runtime id `bun`
|
|
26
|
-
- `safari.ron` from BCD runtime id `safari`
|
|
27
|
-
- `chrome.ron` from BCD runtime id `chrome`
|
|
28
|
-
- `firefox.ron` from BCD runtime id `firefox`
|
|
29
|
-
|
|
30
|
-
Important: this is a source layer for JavaScript builtins and Web APIs. It does not cover Node core modules such as `fs`, `path`, or `http`; those need a separate Node documentation source layer before replacing the main `data/node.ron`.
|