inibase 1.7.1 → 1.7.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.
- package/dist/cli.js +0 -0
- package/dist/index.js +5 -1
- package/package.json +92 -91
package/dist/cli.js
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
@@ -24,7 +24,11 @@ export const ERROR_CODES = [
|
|
|
24
24
|
"INVALID_NAME",
|
|
25
25
|
];
|
|
26
26
|
// hide ExperimentalWarning glob()
|
|
27
|
-
|
|
27
|
+
// Guard against non-Node environments (e.g. accidental import in a browser bundle)
|
|
28
|
+
if (typeof process !== "undefined" &&
|
|
29
|
+
typeof process.removeAllListeners === "function") {
|
|
30
|
+
process.removeAllListeners("warning");
|
|
31
|
+
}
|
|
28
32
|
export const globalConfig = {};
|
|
29
33
|
/**
|
|
30
34
|
* @param {string} database - Database name
|
package/package.json
CHANGED
|
@@ -1,92 +1,93 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
2
|
+
"name": "inibase",
|
|
3
|
+
"version": "1.7.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Karim Amahtil",
|
|
7
|
+
"email": "karim.amahtil@gmail.com"
|
|
8
|
+
},
|
|
9
|
+
"repository": "inicontent/inibase",
|
|
10
|
+
"main": "./dist/index.js",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": "./dist/index.js",
|
|
13
|
+
"./file": "./dist/file.js",
|
|
14
|
+
"./utils": "./dist/utils.js",
|
|
15
|
+
"./utils.server": "./dist/utils.server.js"
|
|
16
|
+
},
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/inicontent/inibase/issues"
|
|
19
|
+
},
|
|
20
|
+
"description": "A file-based & memory-efficient, serverless, ACID compliant, relational database management system",
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=22"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"/dist"
|
|
26
|
+
],
|
|
27
|
+
"funding": "https://github.com/sponsors/inicontent",
|
|
28
|
+
"homepage": "https://github.com/inicontent/inibase#readme",
|
|
29
|
+
"keywords": [
|
|
30
|
+
"nosql",
|
|
31
|
+
"rdms",
|
|
32
|
+
"database",
|
|
33
|
+
"db",
|
|
34
|
+
"mongoose",
|
|
35
|
+
"relational",
|
|
36
|
+
"local",
|
|
37
|
+
"file",
|
|
38
|
+
"storage",
|
|
39
|
+
"json",
|
|
40
|
+
"sqlite",
|
|
41
|
+
"sql",
|
|
42
|
+
"supabase",
|
|
43
|
+
"better-sqlite",
|
|
44
|
+
"mongodb",
|
|
45
|
+
"firebase",
|
|
46
|
+
"postgresql",
|
|
47
|
+
"pocketbase"
|
|
48
|
+
],
|
|
49
|
+
"license": "MIT",
|
|
50
|
+
"scripts": {
|
|
51
|
+
"prepublishOnly": "lefthook run pre-push -f",
|
|
52
|
+
"prepublish": "tsc",
|
|
53
|
+
"prebuild": "biome check --write src",
|
|
54
|
+
"build": "tsc",
|
|
55
|
+
"benchmark": "./benchmark/run.js",
|
|
56
|
+
"test": "tsx ./tests/inibase.test.ts",
|
|
57
|
+
"test:utils": "tsx ./tests/utils.test.ts"
|
|
58
|
+
},
|
|
59
|
+
"bin": {
|
|
60
|
+
"inibase": "./dist/cli.js"
|
|
61
|
+
},
|
|
62
|
+
"types": "./dist",
|
|
63
|
+
"typesVersions": {
|
|
64
|
+
"*": {
|
|
65
|
+
".": [
|
|
66
|
+
"./dist/index.d.ts"
|
|
67
|
+
],
|
|
68
|
+
"file": [
|
|
69
|
+
"./dist/file.d.ts"
|
|
70
|
+
],
|
|
71
|
+
"utils": [
|
|
72
|
+
"./dist/utils.d.ts"
|
|
73
|
+
],
|
|
74
|
+
"utils.server": [
|
|
75
|
+
"./dist/utils.server.d.ts"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"devDependencies": {
|
|
80
|
+
"@biomejs/biome": "2.3.10",
|
|
81
|
+
"@types/bun": "^1.2.10",
|
|
82
|
+
"@types/node": "^22.15.2",
|
|
83
|
+
"lefthook": "^1.11.11",
|
|
84
|
+
"tinybench": "^4.0.1",
|
|
85
|
+
"tsx": "^4.19.3",
|
|
86
|
+
"typescript": "^5.8.3"
|
|
87
|
+
},
|
|
88
|
+
"dependencies": {
|
|
89
|
+
"dotenv": "^16.5.0",
|
|
90
|
+
"inison": "^2.0.1",
|
|
91
|
+
"re2": "^1.26.1"
|
|
92
|
+
}
|
|
93
|
+
}
|