@alwatr/storage-engine
Advanced tools
Comparing version 4.0.4 to 4.1.0
@@ -6,2 +6,8 @@ # Change Log | ||
# [4.1.0](https://github.com/Alwatr/store/compare/v4.0.4...v4.1.0) (2023-12-25) | ||
### Features | ||
* **engine:** support cjs build ([87970d4](https://github.com/Alwatr/store/commit/87970d4ddbf8ff89c27d0765cfe91b0febe9b978)) by @njfamirm | ||
## [4.0.4](https://github.com/Alwatr/storage/compare/v4.0.3...v4.0.4) (2023-12-19) | ||
@@ -8,0 +14,0 @@ |
{ | ||
"name": "@alwatr/storage-engine", | ||
"version": "4.0.4", | ||
"version": "4.1.0", | ||
"description": "Extremely fast and compact JSON-based database that operates in memory, includes a JSON file backup, and serve over the highly accelerated Nginx.", | ||
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>", | ||
"keywords": [ | ||
@@ -18,9 +19,17 @@ "database", | ||
], | ||
"main": "storage-engine.js", | ||
"type": "module", | ||
"types": "storage-engine.d.ts", | ||
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com> (https://ali.mihandoost.com)", | ||
"main": "./dist/main.cjs", | ||
"module": "./dist/main.mjs", | ||
"types": "./dist/main.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/main.mjs", | ||
"require": "./dist/main.cjs", | ||
"types": "./dist/main.d.ts" | ||
} | ||
}, | ||
"license": "MIT", | ||
"files": [ | ||
"**/*.{d.ts.map,d.ts,js.map,js,html,md}" | ||
"**/*.{js,mjs,cjs,map,d.ts,html,md}", | ||
"!demo/**/*" | ||
], | ||
@@ -32,30 +41,23 @@ "publishConfig": { | ||
"type": "git", | ||
"url": "https://github.com/Alwatr/storage", | ||
"url": "https://github.com/Alwatr/store", | ||
"directory": "packages/engine" | ||
}, | ||
"homepage": "https://github.com/Alwatr/storage/tree/next/packages/engine#readme", | ||
"homepage": "https://github.com/Alwatr/store/tree/next/packages/engine#readme", | ||
"bugs": { | ||
"url": "https://github.com/Alwatr/storage/issues" | ||
"url": "https://github.com/Alwatr/store/issues" | ||
}, | ||
"esbuild": { | ||
"entryPoints": [ | ||
"src/**/*.ts" | ||
], | ||
"outbase": "src", | ||
"outdir": ".", | ||
"minify": false, | ||
"bundle": false, | ||
"treeShaking": false, | ||
"sourcemap": true, | ||
"sourcesContent": true | ||
}, | ||
"prettier": "@alwatr/prettier-config", | ||
"scripts": { | ||
"b": "yarn run build", | ||
"w": "yarn run watch", | ||
"c": "yarn run clean", | ||
"cb": "run-s clean build", | ||
"build": "run-p -l 'build:*'", | ||
"build:es": "yarn node ./esbuild.mjs", | ||
"cb": "yarn run clean && yarn run build", | ||
"d": "yarn run build:es && ALWATR_DEBUG=1 yarn node", | ||
"build": "yarn run build:ts & yarn run build:es", | ||
"build:es": "nano-build --preset=module", | ||
"build:ts": "tsc --build", | ||
"clean": "rm -rfv *.js *.d.ts *.d.ts.map *.js.map .tsbuildinfo", | ||
"watch:es": "yarn run build --watch" | ||
"watch": "yarn run watch:ts & yarn run watch:es", | ||
"watch:es": "yarn run build:es --watch", | ||
"watch:ts": "yarn run build:ts --watch --preserveWatchOutput", | ||
"clean": "rm -rfv dist *.tsbuildinfo" | ||
}, | ||
@@ -65,13 +67,14 @@ "dependencies": { | ||
"@alwatr/util": "^1.4.1", | ||
"exit-hook": "^4.0.0", | ||
"tslib": "^2.6.2" | ||
"exit-hook": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"@alwatr/nano-build": "^1.2.1", | ||
"@alwatr/prettier-config": "^1.0.4", | ||
"@alwatr/tsconfig-base": "^1.0.5", | ||
"@alwatr/type": "^1.2.4", | ||
"@types/node": "^20.10.5", | ||
"esbuild": "^0.19.10", | ||
"npm-run-all": "^4.1.5", | ||
"typescript": "^5.3.3" | ||
}, | ||
"gitHead": "e14fa6420a718664af744057772a8e7c23b5cd63" | ||
"gitHead": "d231fa865da8c62bb4836e265ac85756da710e08" | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
65868
3
7
353
1
1
- Removedtslib@^2.6.2
- Removedtslib@2.6.2(transitive)