bit-sequence 1.0.0 → 1.2.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/.github/dependabot.yml +29 -0
- package/.github/workflows/go.yml +47 -0
- package/.github/workflows/test-and-release.yml +56 -0
- package/CHANGELOG.md +9 -0
- package/README.md +33 -6
- package/go/bitsequence.go +58 -0
- package/go/bitsequence_test.go +111 -0
- package/go/go.mod +3 -0
- package/js/bit-sequence.js +7 -3
- package/js/test.js +87 -76
- package/package.json +121 -3
- package/test-fixture.csv +19748 -0
- package/tsconfig.json +37 -0
- package/types/bit-sequence.d.ts +8 -0
- package/types/bit-sequence.d.ts.map +1 -0
- package/types/tsconfig.tsbuildinfo +1 -0
- package/.travis.yml +0 -11
package/package.json
CHANGED
|
@@ -1,15 +1,133 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bit-sequence",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Turn an arbitrary sequence of bits from a byte array
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "Turn an arbitrary sequence of bits from a byte array into an integer",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"main": "js/bit-sequence.js",
|
|
7
|
+
"types": "types/bit-sequence.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./js/bit-sequence.js",
|
|
11
|
+
"types": "./types/bit-sequence.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=20"
|
|
16
|
+
},
|
|
6
17
|
"scripts": {
|
|
7
|
-
"
|
|
18
|
+
"lint": "standard js/*.js",
|
|
19
|
+
"build": "npm run build:types",
|
|
20
|
+
"build:types": "tsc --build",
|
|
21
|
+
"test:unit": "node --test js/test.js",
|
|
22
|
+
"test": "npm run lint && npm run build:types && npm run test:unit"
|
|
8
23
|
},
|
|
9
24
|
"author": "Rod <rod@vagg.org> (http://r.va.gg/)",
|
|
10
25
|
"license": "Apache-2.0",
|
|
11
26
|
"repository": {
|
|
12
27
|
"type": "git",
|
|
13
28
|
"url": "git://github.com/rvagg/bit-sequence.git"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
32
|
+
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
33
|
+
"@semantic-release/git": "^10.0.1",
|
|
34
|
+
"@semantic-release/github": "^12.0.6",
|
|
35
|
+
"@semantic-release/npm": "^13.1.4",
|
|
36
|
+
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
37
|
+
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
38
|
+
"semantic-release": "^25.0.3",
|
|
39
|
+
"standard": "^17.1.2",
|
|
40
|
+
"typescript": "^5.9.3"
|
|
41
|
+
},
|
|
42
|
+
"typesVersions": {
|
|
43
|
+
"*": {
|
|
44
|
+
"*": [
|
|
45
|
+
"types/*"
|
|
46
|
+
],
|
|
47
|
+
"types/*": [
|
|
48
|
+
"types/*"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"release": {
|
|
53
|
+
"branches": [
|
|
54
|
+
"master"
|
|
55
|
+
],
|
|
56
|
+
"plugins": [
|
|
57
|
+
[
|
|
58
|
+
"@semantic-release/commit-analyzer",
|
|
59
|
+
{
|
|
60
|
+
"preset": "conventionalcommits",
|
|
61
|
+
"releaseRules": [
|
|
62
|
+
{
|
|
63
|
+
"breaking": true,
|
|
64
|
+
"release": "major"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"revert": true,
|
|
68
|
+
"release": "patch"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"type": "feat",
|
|
72
|
+
"release": "minor"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "fix",
|
|
76
|
+
"release": "patch"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"type": "chore",
|
|
80
|
+
"release": "patch"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"type": "docs",
|
|
84
|
+
"release": "patch"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"type": "test",
|
|
88
|
+
"release": "patch"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"scope": "no-release",
|
|
92
|
+
"release": false
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
[
|
|
98
|
+
"@semantic-release/release-notes-generator",
|
|
99
|
+
{
|
|
100
|
+
"preset": "conventionalcommits",
|
|
101
|
+
"presetConfig": {
|
|
102
|
+
"types": [
|
|
103
|
+
{
|
|
104
|
+
"type": "feat",
|
|
105
|
+
"section": "Features"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "fix",
|
|
109
|
+
"section": "Bug Fixes"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"type": "chore",
|
|
113
|
+
"section": "Trivial Changes"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"type": "docs",
|
|
117
|
+
"section": "Trivial Changes"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"type": "test",
|
|
121
|
+
"section": "Tests"
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"@semantic-release/changelog",
|
|
128
|
+
"@semantic-release/npm",
|
|
129
|
+
"@semantic-release/github",
|
|
130
|
+
"@semantic-release/git"
|
|
131
|
+
]
|
|
14
132
|
}
|
|
15
133
|
}
|