disarm 0.0.0 → 0.11.1

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/package.json CHANGED
@@ -1,14 +1,56 @@
1
1
  {
2
2
  "name": "disarm",
3
- "version": "0.0.0",
4
- "description": "Placeholder — name reserved for the forthcoming 'disarm' library (secure text transliteration, normalization, and safe key/slug generation; formerly 'translit'). Not yet functional.",
3
+ "version": "0.11.1",
4
+ "description": "Unicode confusable/text-security building blocks, powered by Rust",
5
+ "main": "index.js",
6
+ "types": "index.d.ts",
5
7
  "license": "MIT",
6
- "author": "Richard Quinn",
7
8
  "repository": {
8
9
  "type": "git",
9
- "url": "git+https://github.com/raeq/disarm.git"
10
+ "url": "git+https://github.com/raeq/disarm.git",
11
+ "directory": "bindings/node"
10
12
  },
11
- "homepage": "https://github.com/raeq/disarm",
12
- "keywords": ["transliteration", "unicode", "normalization", "security", "slug"],
13
- "files": ["README.md"]
13
+ "homepage": "https://docs.disarm.dev",
14
+ "keywords": [
15
+ "unicode",
16
+ "confusable",
17
+ "homoglyph",
18
+ "transliterate",
19
+ "slugify",
20
+ "security",
21
+ "tr39",
22
+ "napi-rs"
23
+ ],
24
+ "engines": {
25
+ "node": ">= 14"
26
+ },
27
+ "napi": {
28
+ "binaryName": "disarm",
29
+ "targets": [
30
+ "aarch64-apple-darwin",
31
+ "x86_64-apple-darwin",
32
+ "x86_64-unknown-linux-gnu",
33
+ "aarch64-unknown-linux-gnu",
34
+ "x86_64-pc-windows-msvc"
35
+ ]
36
+ },
37
+ "files": [
38
+ "index.js",
39
+ "index.d.ts",
40
+ "binding.js",
41
+ "binding.d.ts",
42
+ "disarm.*.node"
43
+ ],
44
+ "scripts": {
45
+ "build": "napi build --platform --release --js binding.js --dts binding.d.ts && tsc",
46
+ "build:debug": "napi build --platform --js binding.js --dts binding.d.ts && tsc",
47
+ "lint": "biome check .",
48
+ "test": "vitest run"
49
+ },
50
+ "devDependencies": {
51
+ "@biomejs/biome": "^2.5.0",
52
+ "@napi-rs/cli": "^3.7.2",
53
+ "typescript": "^6.0.3",
54
+ "vitest": "^4.1.9"
55
+ }
14
56
  }