@icazemier/gibbons 5.0.4 → 6.0.0-beta.2
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.
|
@@ -49,8 +49,8 @@ export declare class GibbonProcessor {
|
|
|
49
49
|
* @returns {boolean}
|
|
50
50
|
*/
|
|
51
51
|
static hasAnyBits({ byte1, byte2 }: {
|
|
52
|
-
byte1?: number
|
|
53
|
-
byte2?: number
|
|
52
|
+
byte1?: number;
|
|
53
|
+
byte2?: number;
|
|
54
54
|
}): boolean;
|
|
55
55
|
/**
|
|
56
56
|
* Checks if all logical "1" bits from byte2 compare to the ones in byte1
|
|
@@ -88,8 +88,8 @@ export declare class GibbonProcessor {
|
|
|
88
88
|
* @returns {boolean}
|
|
89
89
|
*/
|
|
90
90
|
static hasAllBits({ byte1, byte2 }: {
|
|
91
|
-
byte1?: number
|
|
92
|
-
byte2?: number
|
|
91
|
+
byte1?: number;
|
|
92
|
+
byte2?: number;
|
|
93
93
|
}): boolean;
|
|
94
94
|
/**
|
|
95
95
|
* Check if bit is set true on index
|
|
@@ -49,8 +49,8 @@ export declare class GibbonProcessor {
|
|
|
49
49
|
* @returns {boolean}
|
|
50
50
|
*/
|
|
51
51
|
static hasAnyBits({ byte1, byte2 }: {
|
|
52
|
-
byte1?: number
|
|
53
|
-
byte2?: number
|
|
52
|
+
byte1?: number;
|
|
53
|
+
byte2?: number;
|
|
54
54
|
}): boolean;
|
|
55
55
|
/**
|
|
56
56
|
* Checks if all logical "1" bits from byte2 compare to the ones in byte1
|
|
@@ -88,8 +88,8 @@ export declare class GibbonProcessor {
|
|
|
88
88
|
* @returns {boolean}
|
|
89
89
|
*/
|
|
90
90
|
static hasAllBits({ byte1, byte2 }: {
|
|
91
|
-
byte1?: number
|
|
92
|
-
byte2?: number
|
|
91
|
+
byte1?: number;
|
|
92
|
+
byte2?: number;
|
|
93
93
|
}): boolean;
|
|
94
94
|
/**
|
|
95
95
|
* Check if bit is set true on index
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@icazemier/gibbons",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "6.0.0-beta.2",
|
|
6
6
|
"description": "Gibbons is a Node.js module which helps in managing user groups and user permissions with `bitwise` efficiency.",
|
|
7
7
|
"contributors": [
|
|
8
8
|
{
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"types": "./build/esm/index.d.ts",
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": "
|
|
34
|
+
"node": ">=20.0.0"
|
|
35
35
|
},
|
|
36
36
|
"os": [
|
|
37
37
|
"darwin",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"test": "cross-env NODE_ENV=test vitest run --coverage",
|
|
43
43
|
"build:esm": "tsc -p tsconfig-build-esm.json",
|
|
44
44
|
"build:cjs": "tsc -p tsconfig-build-cjs.json",
|
|
45
|
-
"build": "rimraf build && npm run build:esm && npm run build:cjs && npm run fixup",
|
|
45
|
+
"build": "rimraf build && npm run build:esm && npm run build:cjs && npm run fixup && npm run docs",
|
|
46
46
|
"fixup": "node ./fixup.mjs",
|
|
47
47
|
"lint": "eslint . --ext .ts",
|
|
48
48
|
"lint:fix": "eslint . --ext .ts --fix",
|
|
@@ -58,12 +58,19 @@
|
|
|
58
58
|
"license": "MIT",
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@eslint/js": "^9.26.0",
|
|
61
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
62
|
+
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
63
|
+
"@semantic-release/github": "^12.0.6",
|
|
64
|
+
"@semantic-release/npm": "^13.1.4",
|
|
65
|
+
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
61
66
|
"@types/node": "^22.15.3",
|
|
62
67
|
"@vitest/coverage-v8": "^4.0.18",
|
|
63
68
|
"@vitest/ui": "^4.0.18",
|
|
69
|
+
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
64
70
|
"cross-env": "^7.0.3",
|
|
65
71
|
"eslint": "^9.26.0",
|
|
66
72
|
"rimraf": "^6.0.1",
|
|
73
|
+
"semantic-release": "^25.0.3",
|
|
67
74
|
"ts-node": "^10.9.2",
|
|
68
75
|
"typedoc": "^0.28.3",
|
|
69
76
|
"typescript": "^5.8.3",
|