@alwatr/nitrobase 7.3.1 → 7.4.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/CHANGELOG.md +24 -0
- package/dist/client.cjs +27 -0
- package/dist/client.cjs.map +7 -0
- package/dist/client.d.ts +3 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.mjs +5 -0
- package/dist/client.mjs.map +7 -0
- package/dist/main.cjs +2 -4
- package/dist/main.cjs.map +1 -1
- package/dist/main.mjs +2 -4
- package/dist/main.mjs.map +1 -1
- package/package.json +14 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [7.4.1](https://github.com/Alwatr/nitrobase/compare/v7.4.0...v7.4.1) (2024-11-08)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **nitrobase:** update build:es script to use module3 preset ([0f5c497](https://github.com/Alwatr/nitrobase/commit/0f5c4974ddf66b9d0de3a0d860f6756a05180491)) by @AliMD
|
|
11
|
+
|
|
12
|
+
## [7.4.0](https://github.com/Alwatr/nitrobase/compare/v7.3.1...v7.4.0) (2024-11-08)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **nitrobase:** add exports for nitrobase-helper and nitrobase-types in main.ts ([865fcc8](https://github.com/Alwatr/nitrobase/commit/865fcc89f880448fc2ce89ce576ee912c68ab5b4)) by @
|
|
17
|
+
|
|
18
|
+
### Code Refactoring
|
|
19
|
+
|
|
20
|
+
* **nitrobase:** rename helper.ts to client.ts and update exports ([c328892](https://github.com/Alwatr/nitrobase/commit/c3288925ed7f30885cd309390767c7865b8c0cee)) by @
|
|
21
|
+
* **nitrobase:** separate `export`s based on the `package`s name ([4b1f241](https://github.com/Alwatr/nitrobase/commit/4b1f24139aceda18b7a593007077652f642bb462)) by @mohammadhonarvar
|
|
22
|
+
* **nitrobase:** update `exports` & remove extra files ([c406705](https://github.com/Alwatr/nitrobase/commit/c40670587b16bbf81e5e2449be30578054abbfbe)) by @mohammadhonarvar
|
|
23
|
+
|
|
24
|
+
### Dependencies update
|
|
25
|
+
|
|
26
|
+
* bump @alwatr/nanolib from 5.2.0 to 5.2.1 across multiple packages ([e1f87b0](https://github.com/Alwatr/nitrobase/commit/e1f87b07d33e8227440256a70f012aa63410f153)) by @
|
|
27
|
+
* **deps-dev:** bump @types/node in the dependencies group ([67ffbad](https://github.com/Alwatr/nitrobase/commit/67ffbad06c95c304d47acbe46fd137fb4cf69f95)) by @dependabot[bot]
|
|
28
|
+
* **deps:** bump @alwatr/nanolib from 5.0.0 to 5.2.0 in the alwatr group ([dfa1eef](https://github.com/Alwatr/nitrobase/commit/dfa1eefb191bbaac2ff2fff410bb1d3ec615d959)) by @dependabot[bot]
|
|
29
|
+
|
|
6
30
|
## [7.3.1](https://github.com/Alwatr/nitrobase/compare/v7.3.0...v7.3.1) (2024-11-02)
|
|
7
31
|
|
|
8
32
|
### Miscellaneous Chores
|
package/dist/client.cjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* @alwatr/nitrobase v7.4.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from))
|
|
10
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
11
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
}
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
16
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
17
|
+
var client_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(client_exports);
|
|
19
|
+
__reExport(client_exports, require("@alwatr/nitrobase-helper"), module.exports);
|
|
20
|
+
__reExport(client_exports, require("@alwatr/nitrobase-types"), module.exports);
|
|
21
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
22
|
+
0 && (module.exports = {
|
|
23
|
+
...require("@alwatr/nitrobase-helper"),
|
|
24
|
+
...require("@alwatr/nitrobase-types")
|
|
25
|
+
});
|
|
26
|
+
/*! For license information please see client.cjs.LEGAL.txt */
|
|
27
|
+
//# sourceMappingURL=client.cjs.map
|
package/dist/client.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC"}
|
package/dist/client.mjs
ADDED
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/nitrobase v7.
|
|
1
|
+
/* @alwatr/nitrobase v7.4.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -14,8 +14,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
14
14
|
};
|
|
15
15
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
16
16
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
17
|
-
|
|
18
|
-
// src/main.ts
|
|
19
17
|
var main_exports = {};
|
|
20
18
|
module.exports = __toCommonJS(main_exports);
|
|
21
19
|
var import_nanolib = require("@alwatr/nanolib");
|
|
@@ -23,7 +21,7 @@ __reExport(main_exports, require("@alwatr/nitrobase-engine"), module.exports);
|
|
|
23
21
|
__reExport(main_exports, require("@alwatr/nitrobase-reference"), module.exports);
|
|
24
22
|
__reExport(main_exports, require("@alwatr/nitrobase-helper"), module.exports);
|
|
25
23
|
__reExport(main_exports, require("@alwatr/nitrobase-types"), module.exports);
|
|
26
|
-
__dev_mode__: import_nanolib.packageTracer.add("@alwatr/nitrobase", "7.
|
|
24
|
+
__dev_mode__: import_nanolib.packageTracer.add("@alwatr/nitrobase", "7.4.1");
|
|
27
25
|
// Annotate the CommonJS export names for ESM import in node:
|
|
28
26
|
0 && (module.exports = {
|
|
29
27
|
...require("@alwatr/nitrobase-engine"),
|
package/dist/main.cjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/main.ts"],
|
|
4
4
|
"sourcesContent": ["import {packageTracer} from '@alwatr/nanolib';\n\nexport * from '@alwatr/nitrobase-engine';\nexport * from '@alwatr/nitrobase-reference';\nexport * from '@alwatr/nitrobase-helper';\nexport * from '@alwatr/nitrobase-types';\n\n__dev_mode__: packageTracer.add(__package_name__, __package_version__);\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,qBAA4B;AAE5B,yBAAc,qCAFd;AAGA,yBAAc,wCAHd;AAIA,yBAAc,qCAJd;AAKA,yBAAc,oCALd;AAOA,aAAc,8BAAc,IAAI,qBAAkB,OAAmB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/main.mjs
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
/* @alwatr/nitrobase v7.
|
|
2
|
-
|
|
3
|
-
// src/main.ts
|
|
1
|
+
/* @alwatr/nitrobase v7.4.1 */
|
|
4
2
|
import { packageTracer } from "@alwatr/nanolib";
|
|
5
3
|
export * from "@alwatr/nitrobase-engine";
|
|
6
4
|
export * from "@alwatr/nitrobase-reference";
|
|
7
5
|
export * from "@alwatr/nitrobase-helper";
|
|
8
6
|
export * from "@alwatr/nitrobase-types";
|
|
9
|
-
__dev_mode__: packageTracer.add("@alwatr/nitrobase", "7.
|
|
7
|
+
__dev_mode__: packageTracer.add("@alwatr/nitrobase", "7.4.1");
|
|
10
8
|
/*! For license information please see main.mjs.LEGAL.txt */
|
|
11
9
|
//# sourceMappingURL=main.mjs.map
|
package/dist/main.mjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/main.ts"],
|
|
4
4
|
"sourcesContent": ["import {packageTracer} from '@alwatr/nanolib';\n\nexport * from '@alwatr/nitrobase-engine';\nexport * from '@alwatr/nitrobase-reference';\nexport * from '@alwatr/nitrobase-helper';\nexport * from '@alwatr/nitrobase-types';\n\n__dev_mode__: packageTracer.add(__package_name__, __package_version__);\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";AAAA,SAAQ,qBAAoB;AAE5B,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,aAAc,eAAc,IAAI,qBAAkB,OAAmB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/nitrobase",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.1",
|
|
4
4
|
"description": "Nitrobase is a blazingly fast, lightweight database built on JSON. It stores data entirely in memory for lightning-quick access, while also providing a JSON file backup for persistence. You can easily serve your data over the web using our high-performance accelerated Nginx server.",
|
|
5
5
|
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
|
|
6
6
|
"keywords": [
|
|
@@ -25,6 +25,11 @@
|
|
|
25
25
|
"types": "./dist/main.d.ts",
|
|
26
26
|
"import": "./dist/main.mjs",
|
|
27
27
|
"require": "./dist/main.cjs"
|
|
28
|
+
},
|
|
29
|
+
"./client": {
|
|
30
|
+
"types": "./dist/client.d.ts",
|
|
31
|
+
"import": "./dist/client.mjs",
|
|
32
|
+
"require": "./dist/client.cjs"
|
|
28
33
|
}
|
|
29
34
|
},
|
|
30
35
|
"license": "AGPL-3.0-only",
|
|
@@ -52,7 +57,7 @@
|
|
|
52
57
|
"cb": "yarn run clean && yarn run build",
|
|
53
58
|
"d": "yarn run build:es && yarn node",
|
|
54
59
|
"build": "yarn run build:ts & yarn run build:es",
|
|
55
|
-
"build:es": "nano-build --preset=
|
|
60
|
+
"build:es": "nano-build --preset=module3",
|
|
56
61
|
"build:ts": "tsc --build",
|
|
57
62
|
"watch": "yarn run watch:ts & yarn run watch:es",
|
|
58
63
|
"watch:es": "yarn run build:es --watch",
|
|
@@ -60,19 +65,19 @@
|
|
|
60
65
|
"clean": "rm -rfv dist *.tsbuildinfo"
|
|
61
66
|
},
|
|
62
67
|
"dependencies": {
|
|
63
|
-
"@alwatr/nanolib": "^5.
|
|
64
|
-
"@alwatr/nitrobase-engine": "^7.
|
|
65
|
-
"@alwatr/nitrobase-helper": "^7.
|
|
66
|
-
"@alwatr/nitrobase-reference": "^7.
|
|
67
|
-
"@alwatr/nitrobase-types": "^7.
|
|
68
|
+
"@alwatr/nanolib": "^5.2.1",
|
|
69
|
+
"@alwatr/nitrobase-engine": "^7.4.0",
|
|
70
|
+
"@alwatr/nitrobase-helper": "^7.4.0",
|
|
71
|
+
"@alwatr/nitrobase-reference": "^7.4.0",
|
|
72
|
+
"@alwatr/nitrobase-types": "^7.4.0"
|
|
68
73
|
},
|
|
69
74
|
"devDependencies": {
|
|
70
75
|
"@alwatr/nano-build": "^5.0.0",
|
|
71
76
|
"@alwatr/prettier-config": "^5.0.0",
|
|
72
77
|
"@alwatr/tsconfig-base": "^5.0.0",
|
|
73
78
|
"@alwatr/type-helper": "^5.0.0",
|
|
74
|
-
"@types/node": "^22.
|
|
79
|
+
"@types/node": "^22.9.0",
|
|
75
80
|
"typescript": "^5.6.3"
|
|
76
81
|
},
|
|
77
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "c3eb0bb9e298ef795ce7a0876a206ec9bd6eb1ae"
|
|
78
83
|
}
|