nukak-express
Advanced tools
Comparing version 0.4.6 to 1.0.0
@@ -7,5 +7,10 @@ # Changelog | ||
## [1.0.0] - 2024-08-10 | ||
- Allow to set a field as non-eager (i.e. lazy) in the entities with `eager: false` (by default all fields are `eager: true`). | ||
- Allow to set a field as non-updatable (i.e. insertable and read-only) in the entities with `updatable: false` (by default all fields are `updatable: true`). | ||
## [0.4.0] - 2023-11-06 | ||
- move project inside query parameter [#63](https://github.com/rogerpadilla/nukak/pull/63) | ||
- Move project inside query parameter [#63](https://github.com/rogerpadilla/nukak/pull/63) | ||
@@ -12,0 +17,0 @@ ## [0.3.3] - 2023-10-25 |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "0.4.6", | ||
"version": "1.0.0", | ||
"type": "module", | ||
@@ -20,3 +20,3 @@ "main": "./index.js", | ||
"express": "^4.18.2", | ||
"nukak": "^0.4.1" | ||
"nukak": "^1.0.0" | ||
}, | ||
@@ -26,5 +26,5 @@ "devDependencies": { | ||
"copyfiles": "^2.4.1", | ||
"express": "^4.18.3", | ||
"rimraf": "^5.0.5", | ||
"typescript": "^5.4.2" | ||
"express": "^4.19.2", | ||
"rimraf": "^6.0.1", | ||
"typescript": "~5.4.5" | ||
}, | ||
@@ -64,3 +64,3 @@ "author": "Roger Padilla", | ||
}, | ||
"gitHead": "293d2169ed15ba4bf23057a6af9c69497f0f5c62" | ||
"gitHead": "a364e3be7d7f4589c99a56ebe21ce00ebe6851e9" | ||
} |
@@ -88,3 +88,3 @@ <!-- ![code](/assets/code.webp 'code') --> | ||
```ts | ||
import { v4 as uuidv4 } from 'uuid'; | ||
import { randomUUID } from 'node:crypto'; | ||
import { Id, Field, Entity } from 'nukak/entity'; | ||
@@ -103,3 +103,3 @@ | ||
*/ | ||
@Id({ onInsert: () => uuidv4() }) | ||
@Id({ onInsert: () => randomUUID }) | ||
id?: string; | ||
@@ -106,0 +106,0 @@ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
39225
9