@alwatr/nitrobase 7.7.0 → 7.10.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/README.md CHANGED
@@ -78,12 +78,6 @@ Explore the provided demo code (`collection.mjs`, `document.mjs`, `benchmark.mjs
78
78
 
79
79
  The following companies, organizations, and individuals support Nitrobase ongoing maintenance and development. Become a Sponsor to get your logo on our README and website.
80
80
 
81
- [![Exir Studio](https://avatars.githubusercontent.com/u/181194967?s=200&v=4)](https://exirstudio.com)
82
-
83
81
  ### Contributing
84
82
 
85
83
  Contributions are welcome! Please read our [contribution guidelines](https://github.com/Alwatr/.github/blob/next/CONTRIBUTING.md) before submitting a pull request.
86
-
87
- ### License
88
-
89
- This project is licensed under the [AGPL-3.0 License](LICENSE).
package/dist/client.cjs CHANGED
@@ -1,26 +1,4 @@
1
- /* @alwatr/nitrobase v7.7.0 */
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
- });
1
+ /** 📦 @alwatr/nitrobase v7.10.0 */
2
+ __dev_mode__: console.debug("📦 @alwatr/nitrobase v7.10.0");
3
+ "use strict";var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __copyProps=(to,from,except,desc)=>{if(from&&typeof from==="object"||typeof from==="function"){for(let key of __getOwnPropNames(from))if(!__hasOwnProp.call(to,key)&&key!==except)__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}return to};var __reExport=(target,mod,secondTarget)=>(__copyProps(target,mod,"default"),secondTarget&&__copyProps(secondTarget,mod,"default"));var __toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:true}),mod);var client_exports={};module.exports=__toCommonJS(client_exports);__reExport(client_exports,require("@alwatr/nitrobase-helper"),module.exports);__reExport(client_exports,require("@alwatr/nitrobase-types"),module.exports);0&&(module.exports={...require("@alwatr/nitrobase-helper"),...require("@alwatr/nitrobase-types")});
26
4
  //# sourceMappingURL=client.cjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../src/client.ts"],
4
4
  "sourcesContent": ["export * from '@alwatr/nitrobase-helper';\nexport * from '@alwatr/nitrobase-types';\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,2BAAc,qCAAd;AACA,2BAAc,oCADd;",
5
+ "mappings": ";;isBAAA,4FAAc,oCAAd,gBACA,0BAAc,mCADd",
6
6
  "names": []
7
7
  }
package/dist/client.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/nitrobase v7.7.0 */
2
- export * from "@alwatr/nitrobase-helper";
3
- export * from "@alwatr/nitrobase-types";
1
+ /** 📦 @alwatr/nitrobase v7.10.0 */
2
+ __dev_mode__: console.debug("📦 @alwatr/nitrobase v7.10.0");
3
+ export*from"@alwatr/nitrobase-helper";export*from"@alwatr/nitrobase-types";
4
4
  //# sourceMappingURL=client.mjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../src/client.ts"],
4
4
  "sourcesContent": ["export * from '@alwatr/nitrobase-helper';\nexport * from '@alwatr/nitrobase-types';\n"],
5
- "mappings": ";AAAA,cAAc;AACd,cAAc;",
5
+ "mappings": ";;AAAA,WAAc,2BACd,WAAc",
6
6
  "names": []
7
7
  }
package/dist/main.cjs CHANGED
@@ -1,34 +1,4 @@
1
- /* @alwatr/nitrobase v7.7.0 */
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 main_exports = {};
18
- module.exports = __toCommonJS(main_exports);
19
- var import_nanolib = require("@alwatr/nanolib");
20
- __reExport(main_exports, require("@alwatr/nitrobase-engine"), module.exports);
21
- __reExport(main_exports, require("@alwatr/nitrobase-reference"), module.exports);
22
- __reExport(main_exports, require("@alwatr/nitrobase-helper"), module.exports);
23
- __reExport(main_exports, require("@alwatr/nitrobase-types"), module.exports);
24
- __reExport(main_exports, require("@alwatr/nitrobase-user-management"), module.exports);
25
- __dev_mode__: import_nanolib.packageTracer.add("@alwatr/nitrobase", "7.7.0");
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
28
- ...require("@alwatr/nitrobase-engine"),
29
- ...require("@alwatr/nitrobase-reference"),
30
- ...require("@alwatr/nitrobase-helper"),
31
- ...require("@alwatr/nitrobase-types"),
32
- ...require("@alwatr/nitrobase-user-management")
33
- });
1
+ /** 📦 @alwatr/nitrobase v7.10.0 */
2
+ __dev_mode__: console.debug("📦 @alwatr/nitrobase v7.10.0");
3
+ "use strict";var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __copyProps=(to,from,except,desc)=>{if(from&&typeof from==="object"||typeof from==="function"){for(let key of __getOwnPropNames(from))if(!__hasOwnProp.call(to,key)&&key!==except)__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}return to};var __reExport=(target,mod,secondTarget)=>(__copyProps(target,mod,"default"),secondTarget&&__copyProps(secondTarget,mod,"default"));var __toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:true}),mod);var main_exports={};module.exports=__toCommonJS(main_exports);__reExport(main_exports,require("@alwatr/nitrobase-engine"),module.exports);__reExport(main_exports,require("@alwatr/nitrobase-reference"),module.exports);__reExport(main_exports,require("@alwatr/nitrobase-helper"),module.exports);__reExport(main_exports,require("@alwatr/nitrobase-types"),module.exports);__reExport(main_exports,require("@alwatr/nitrobase-user-management"),module.exports);0&&(module.exports={...require("@alwatr/nitrobase-engine"),...require("@alwatr/nitrobase-reference"),...require("@alwatr/nitrobase-helper"),...require("@alwatr/nitrobase-types"),...require("@alwatr/nitrobase-user-management")});
34
4
  //# sourceMappingURL=main.cjs.map
package/dist/main.cjs.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/main.ts"],
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';\nexport * from '@alwatr/nitrobase-user-management';\n\n__dev_mode__: packageTracer.add(__package_name__, __package_version__);\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,qBAA4B;AAE5B,yBAAc,qCAFd;AAGA,yBAAc,wCAHd;AAIA,yBAAc,qCAJd;AAKA,yBAAc,oCALd;AAMA,yBAAc,8CANd;AAQA,aAAc,8BAAc,IAAI,qBAAkB,OAAmB;",
4
+ "sourcesContent": ["export * from '@alwatr/nitrobase-engine';\nexport * from '@alwatr/nitrobase-reference';\nexport * from '@alwatr/nitrobase-helper';\nexport * from '@alwatr/nitrobase-types';\nexport * from '@alwatr/nitrobase-user-management';\n"],
5
+ "mappings": ";;isBAAA,sFAAc,oCAAd,gBACA,wBAAc,uCADd,gBAEA,wBAAc,oCAFd,gBAGA,wBAAc,mCAHd,gBAIA,wBAAc,6CAJd",
6
6
  "names": []
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAEA,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC"}
package/dist/main.mjs CHANGED
@@ -1,9 +1,4 @@
1
- /* @alwatr/nitrobase v7.7.0 */
2
- import { packageTracer } from "@alwatr/nanolib";
3
- export * from "@alwatr/nitrobase-engine";
4
- export * from "@alwatr/nitrobase-reference";
5
- export * from "@alwatr/nitrobase-helper";
6
- export * from "@alwatr/nitrobase-types";
7
- export * from "@alwatr/nitrobase-user-management";
8
- __dev_mode__: packageTracer.add("@alwatr/nitrobase", "7.7.0");
1
+ /** 📦 @alwatr/nitrobase v7.10.0 */
2
+ __dev_mode__: console.debug("📦 @alwatr/nitrobase v7.10.0");
3
+ export*from"@alwatr/nitrobase-engine";export*from"@alwatr/nitrobase-reference";export*from"@alwatr/nitrobase-helper";export*from"@alwatr/nitrobase-types";export*from"@alwatr/nitrobase-user-management";
9
4
  //# sourceMappingURL=main.mjs.map
package/dist/main.mjs.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/main.ts"],
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';\nexport * from '@alwatr/nitrobase-user-management';\n\n__dev_mode__: packageTracer.add(__package_name__, __package_version__);\n"],
5
- "mappings": ";AAAA,SAAQ,qBAAoB;AAE5B,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,aAAc,eAAc,IAAI,qBAAkB,OAAmB;",
4
+ "sourcesContent": ["export * from '@alwatr/nitrobase-engine';\nexport * from '@alwatr/nitrobase-reference';\nexport * from '@alwatr/nitrobase-helper';\nexport * from '@alwatr/nitrobase-types';\nexport * from '@alwatr/nitrobase-user-management';\n"],
5
+ "mappings": ";;AAAA,WAAc,2BACd,WAAc,8BACd,WAAc,2BACd,WAAc,0BACd,WAAc",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,25 +1,24 @@
1
1
  {
2
2
  "name": "@alwatr/nitrobase",
3
- "version": "7.7.0",
4
3
  "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.",
4
+ "version": "7.10.0",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
- "keywords": [
7
- "database",
8
- "storage",
9
- "json",
10
- "nosql",
11
- "no-sql",
12
- "data",
13
- "data-storage",
14
- "file",
15
- "typescript",
16
- "esm",
17
- "alwatr"
18
- ],
19
- "type": "module",
20
- "main": "./dist/main.cjs",
21
- "module": "./dist/main.mjs",
22
- "types": "./dist/main.d.ts",
6
+ "bugs": "https://github.com/Alwatr/nitrobase/issues",
7
+ "dependencies": {
8
+ "@alwatr/nitrobase-engine": "^7.10.0",
9
+ "@alwatr/nitrobase-helper": "^7.10.0",
10
+ "@alwatr/nitrobase-reference": "^7.10.0",
11
+ "@alwatr/nitrobase-types": "^7.10.0",
12
+ "@alwatr/nitrobase-user-management": "^7.10.0"
13
+ },
14
+ "devDependencies": {
15
+ "@alwatr/nano-build": "^6.3.1",
16
+ "@alwatr/prettier-config": "^5.0.4",
17
+ "@alwatr/tsconfig-base": "^6.0.2",
18
+ "@alwatr/type-helper": "^6.1.1",
19
+ "@types/node": "^22.18.6",
20
+ "typescript": "^5.9.2"
21
+ },
23
22
  "exports": {
24
23
  ".": {
25
24
  "types": "./dist/main.d.ts",
@@ -32,11 +31,28 @@
32
31
  "require": "./dist/client.cjs"
33
32
  }
34
33
  },
35
- "license": "AGPL-3.0-only",
36
34
  "files": [
37
35
  "**/*.{js,mjs,cjs,map,d.ts,html,md}",
38
36
  "!demo/**/*"
39
37
  ],
38
+ "homepage": "https://github.com/Alwatr/nitrobase#readme",
39
+ "keywords": [
40
+ "alwatr",
41
+ "data",
42
+ "data-storage",
43
+ "database",
44
+ "esm",
45
+ "file",
46
+ "json",
47
+ "no-sql",
48
+ "nosql",
49
+ "storage",
50
+ "typescript"
51
+ ],
52
+ "license": "MPL-2.0",
53
+ "main": "./dist/main.cjs",
54
+ "module": "./dist/main.mjs",
55
+ "prettier": "@alwatr/prettier-config",
40
56
  "publishConfig": {
41
57
  "access": "public"
42
58
  },
@@ -45,40 +61,22 @@
45
61
  "url": "https://github.com/Alwatr/nitrobase",
46
62
  "directory": "packages/nitrobase"
47
63
  },
48
- "homepage": "https://github.com/Alwatr/nitrobase#readme",
49
- "bugs": {
50
- "url": "https://github.com/Alwatr/nitrobase/issues"
51
- },
52
- "prettier": "@alwatr/prettier-config",
53
64
  "scripts": {
54
65
  "b": "yarn run build",
55
- "w": "yarn run watch",
56
- "c": "yarn run clean",
57
- "cb": "yarn run clean && yarn run build",
58
- "d": "yarn run build:es && yarn node",
59
66
  "build": "yarn run build:ts & yarn run build:es",
60
67
  "build:es": "nano-build --preset=module3",
61
68
  "build:ts": "tsc --build",
69
+ "c": "yarn run clean",
70
+ "cb": "yarn run clean && yarn run build",
71
+ "clean": "rm -rfv dist *.tsbuildinfo",
72
+ "d": "yarn run build:es && yarn node",
73
+ "w": "yarn run watch",
62
74
  "watch": "yarn run watch:ts & yarn run watch:es",
63
75
  "watch:es": "yarn run build:es --watch",
64
- "watch:ts": "yarn run build:ts --watch --preserveWatchOutput",
65
- "clean": "rm -rfv dist *.tsbuildinfo"
76
+ "watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
66
77
  },
67
- "dependencies": {
68
- "@alwatr/nanolib": "^5.4.0",
69
- "@alwatr/nitrobase-engine": "^7.7.0",
70
- "@alwatr/nitrobase-helper": "^7.7.0",
71
- "@alwatr/nitrobase-reference": "^7.7.0",
72
- "@alwatr/nitrobase-types": "^7.7.0",
73
- "@alwatr/nitrobase-user-management": "^7.7.0"
74
- },
75
- "devDependencies": {
76
- "@alwatr/nano-build": "^5.4.0",
77
- "@alwatr/prettier-config": "^5.0.0",
78
- "@alwatr/tsconfig-base": "^5.0.0",
79
- "@alwatr/type-helper": "^5.3.0",
80
- "@types/node": "^22.13.4",
81
- "typescript": "^5.7.3"
82
- },
83
- "gitHead": "dbb4f1077b3c1e7d7f22b2c68ace3ca6acf1a162"
78
+ "sideEffects": false,
79
+ "type": "module",
80
+ "types": "./dist/main.d.ts",
81
+ "gitHead": "4079c7884711b767ac812d14d4ec7eafe6e19081"
84
82
  }