au-identifiers 1.0.0 → 1.0.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/README.md +1 -1
- package/package.json +38 -8
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Australian ABN, ACN and TFN Validation for JavaScript and TypeScript
|
|
2
2
|
|
|
3
|
-
[](https://github.com/BusinessAPI/au-identifiers-js/actions/workflows/test.yml) [](LICENSE)
|
|
3
|
+
[](https://github.com/BusinessAPI/au-identifiers-js/actions/workflows/test.yml) [](https://www.npmjs.com/package/au-identifiers) [](LICENSE)
|
|
4
4
|
|
|
5
5
|
Validate and format Australian identifiers in JavaScript and TypeScript: ABN, ACN, ARBN, TFN, Director ID and VIN.
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "au-identifiers",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Validate and format Australian identifiers: ABN, ACN, ARBN, TFN, Director ID and VIN.",
|
|
5
|
-
"keywords": [
|
|
5
|
+
"keywords": [
|
|
6
|
+
"abn",
|
|
7
|
+
"acn",
|
|
8
|
+
"arbn",
|
|
9
|
+
"tfn",
|
|
10
|
+
"vin",
|
|
11
|
+
"director-id",
|
|
12
|
+
"australia",
|
|
13
|
+
"validation",
|
|
14
|
+
"validator",
|
|
15
|
+
"checksum",
|
|
16
|
+
"ato",
|
|
17
|
+
"asic"
|
|
18
|
+
],
|
|
6
19
|
"homepage": "https://businessapi.com.au",
|
|
7
|
-
"repository": {
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/BusinessAPI/au-identifiers-js.git"
|
|
23
|
+
},
|
|
8
24
|
"bugs": "https://github.com/BusinessAPI/au-identifiers-js/issues",
|
|
9
25
|
"license": "MIT",
|
|
10
26
|
"author": "Business API <dev@businessapi.com.au>",
|
|
@@ -14,17 +30,31 @@
|
|
|
14
30
|
"types": "./dist/esm/index.d.ts",
|
|
15
31
|
"exports": {
|
|
16
32
|
".": {
|
|
17
|
-
"import": {
|
|
18
|
-
|
|
33
|
+
"import": {
|
|
34
|
+
"types": "./dist/esm/index.d.ts",
|
|
35
|
+
"default": "./dist/esm/index.js"
|
|
36
|
+
},
|
|
37
|
+
"require": {
|
|
38
|
+
"types": "./dist/cjs/index.d.ts",
|
|
39
|
+
"default": "./dist/cjs/index.js"
|
|
40
|
+
}
|
|
19
41
|
}
|
|
20
42
|
},
|
|
21
|
-
"files": [
|
|
43
|
+
"files": [
|
|
44
|
+
"dist",
|
|
45
|
+
"README.md",
|
|
46
|
+
"LICENSE"
|
|
47
|
+
],
|
|
22
48
|
"sideEffects": false,
|
|
23
|
-
"engines": {
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=18"
|
|
51
|
+
},
|
|
24
52
|
"scripts": {
|
|
25
53
|
"build": "rm -rf dist && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
|
|
26
54
|
"test": "npm run build && node --test test/vectors.test.mjs",
|
|
27
55
|
"prepublishOnly": "npm test"
|
|
28
56
|
},
|
|
29
|
-
"devDependencies": {
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"typescript": "^5.9.3"
|
|
59
|
+
}
|
|
30
60
|
}
|