@alwatr/nitrobase-helper 7.10.0 โ 7.10.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 +11 -0
- package/dist/main.cjs +2 -2
- package/dist/main.mjs +2 -2
- package/package.json +9 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.10.1](https://github.com/Alwatr/nitrobase/compare/v7.10.0...v7.10.1) (2025-12-14)
|
|
7
|
+
|
|
8
|
+
### ๐งน Miscellaneous Chores
|
|
9
|
+
|
|
10
|
+
* update tsconfig extends to use @alwatr/nanolib ([ffbc8ce](https://github.com/Alwatr/nitrobase/commit/ffbc8ce74d47d7f4e1ff0061722df10f68af11cc))
|
|
11
|
+
|
|
12
|
+
### ๐ Dependencies update
|
|
13
|
+
|
|
14
|
+
* update `@alwatr/nanolib` and `@types/node` dependencies across all packages. ([bc6d96f](https://github.com/Alwatr/nitrobase/commit/bc6d96f4fd423bcfb817d74b526596669d8a8aed))
|
|
15
|
+
* update dependencies and switch prettier config to @alwatr/nanolib ([e826de4](https://github.com/Alwatr/nitrobase/commit/e826de494a2fb03125edad10930fac819e23c801))
|
|
16
|
+
|
|
6
17
|
## [7.10.0](https://github.com/Alwatr/nitrobase/compare/v7.9.0...v7.10.0) (2025-09-21)
|
|
7
18
|
|
|
8
19
|
### ๐ Bug Fixes
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** ๐ฆ @alwatr/nitrobase-helper v7.10.
|
|
2
|
-
__dev_mode__: console.debug("๐ฆ @alwatr/nitrobase-helper v7.10.
|
|
1
|
+
/** ๐ฆ @alwatr/nitrobase-helper v7.10.1 */
|
|
2
|
+
__dev_mode__: console.debug("๐ฆ @alwatr/nitrobase-helper v7.10.1");
|
|
3
3
|
"use strict";var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:true})};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 __toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:true}),mod);var main_exports={};__export(main_exports,{getStoreId:()=>getStoreId,getStorePath:()=>getStorePath});module.exports=__toCommonJS(main_exports);var import_flat_string=require("@alwatr/flat-string");var import_nitrobase_types=require("@alwatr/nitrobase-types");function getStoreId(storeId){let id=storeId.region+"/"+storeId.name;if(storeId.ownerId!==void 0){id+="/"+storeId.ownerId}return(0,import_flat_string.flatString)(id)}function getStorePath(storeStat){let path=storeStat.region;if(storeStat.ownerId!==void 0){path+="/"+storeStat.ownerId.slice(0,3)+"/"+storeStat.ownerId}path+=`/${storeStat.name}.${storeStat.type}.${storeStat.extension??import_nitrobase_types.StoreFileExtension.Json}`;return(0,import_flat_string.flatString)(path)}0&&(module.exports={getStoreId,getStorePath});
|
|
4
4
|
//# sourceMappingURL=main.cjs.map
|
package/dist/main.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** ๐ฆ @alwatr/nitrobase-helper v7.10.
|
|
2
|
-
__dev_mode__: console.debug("๐ฆ @alwatr/nitrobase-helper v7.10.
|
|
1
|
+
/** ๐ฆ @alwatr/nitrobase-helper v7.10.1 */
|
|
2
|
+
__dev_mode__: console.debug("๐ฆ @alwatr/nitrobase-helper v7.10.1");
|
|
3
3
|
import{flatString}from"@alwatr/flat-string";import{StoreFileExtension}from"@alwatr/nitrobase-types";function getStoreId(storeId){let id=storeId.region+"/"+storeId.name;if(storeId.ownerId!==void 0){id+="/"+storeId.ownerId}return flatString(id)}function getStorePath(storeStat){let path=storeStat.region;if(storeStat.ownerId!==void 0){path+="/"+storeStat.ownerId.slice(0,3)+"/"+storeStat.ownerId}path+=`/${storeStat.name}.${storeStat.type}.${storeStat.extension??StoreFileExtension.Json}`;return flatString(path)}export{getStoreId,getStorePath};
|
|
4
4
|
//# sourceMappingURL=main.mjs.map
|
package/package.json
CHANGED
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/nitrobase-helper",
|
|
3
3
|
"description": "Extremely fast and compact JSON-based database that operates in memory, includes a JSON file backup, and serve over the highly accelerated Nginx.",
|
|
4
|
-
"version": "7.10.
|
|
4
|
+
"version": "7.10.1",
|
|
5
5
|
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
|
|
6
6
|
"bugs": "https://github.com/Alwatr/nitrobase/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@alwatr/flat-string": "^5.5.
|
|
9
|
-
"@alwatr/logger": "^6.0.
|
|
10
|
-
"@alwatr/nitrobase-types": "^7.10.
|
|
8
|
+
"@alwatr/flat-string": "^5.5.26",
|
|
9
|
+
"@alwatr/logger": "^6.0.15",
|
|
10
|
+
"@alwatr/nitrobase-types": "^7.10.1"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@alwatr/
|
|
14
|
-
"@
|
|
15
|
-
"
|
|
16
|
-
"@alwatr/type-helper": "^6.1.1",
|
|
17
|
-
"@types/node": "^22.18.6",
|
|
18
|
-
"typescript": "^5.9.2"
|
|
13
|
+
"@alwatr/nanolib": "^7.3.4",
|
|
14
|
+
"@types/node": "^24.10.4",
|
|
15
|
+
"typescript": "^5.9.3"
|
|
19
16
|
},
|
|
20
17
|
"exports": {
|
|
21
18
|
".": {
|
|
@@ -45,7 +42,7 @@
|
|
|
45
42
|
"license": "MPL-2.0",
|
|
46
43
|
"main": "./dist/main.cjs",
|
|
47
44
|
"module": "./dist/main.mjs",
|
|
48
|
-
"prettier": "@alwatr/prettier-config",
|
|
45
|
+
"prettier": "@alwatr/nanolib/prettier-config",
|
|
49
46
|
"publishConfig": {
|
|
50
47
|
"access": "public"
|
|
51
48
|
},
|
|
@@ -71,5 +68,5 @@
|
|
|
71
68
|
"sideEffects": false,
|
|
72
69
|
"type": "module",
|
|
73
70
|
"types": "./dist/main.d.ts",
|
|
74
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "e23943a279d6b0905b205c0c17b2b3249efab226"
|
|
75
72
|
}
|