mevn-orm 3.2.1 → 3.2.2

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
@@ -50,12 +50,14 @@ const user = await User.create({
50
50
 
51
51
  ## Testing
52
52
 
53
- This project uses [Vitest](https://vitest.dev/) for testing.
53
+ Use Node.js 24.x (LTS) with pnpm.
54
+
55
+ This project uses [Mocha](https://mochajs.org/) for testing.
54
56
 
55
57
  ```bash
56
- npm install
57
- npm run migrate
58
- npm run test
58
+ pnpm install
59
+ pnpm run migrate
60
+ pnpm run test
59
61
  ```
60
62
 
61
63
  ## License
package/package.json CHANGED
@@ -1,15 +1,8 @@
1
1
  {
2
2
  "name": "mevn-orm",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "simple ORM for express js",
5
5
  "type": "commonjs",
6
- "scripts": {
7
- "pretest": "node initDb",
8
- "test": "mocha --exit",
9
- "init:db": "node initDb",
10
- "migrate": "knex migrate:latest",
11
- "lint": "eslint --ext .js ./"
12
- },
13
6
  "peerDependencies": {
14
7
  "dotenv": "^17.0.1",
15
8
  "knex": "^3.0.0",
@@ -46,11 +39,11 @@
46
39
  "@babel/core": "^7.24.5",
47
40
  "@babel/eslint-parser": "^7.24.3",
48
41
  "@babel/eslint-plugin": "^7.24.0",
49
- "@faker-js/faker": "^9.8.0",
50
- "chai": "^4.4.1",
42
+ "@faker-js/faker": "^10.0.0",
43
+ "chai": "^6.2.0",
51
44
  "dotenv": "^17.0.1",
52
45
  "knex": "^3.0.0",
53
- "mocha": "^10.4.0",
46
+ "mocha": "^11.7.4",
54
47
  "mysql": "^2.18.1",
55
48
  "sqlite3": "^5.1.7"
56
49
  },
@@ -65,5 +58,12 @@
65
58
  "email": "stanleymasinde1@gmail.com"
66
59
  },
67
60
  "homepage": "https://github.com/StanleyMasinde/mevn-orm#readme",
68
- "main": "index.js"
69
- }
61
+ "main": "index.js",
62
+ "scripts": {
63
+ "pretest": "node initDb",
64
+ "test": "mocha --exit",
65
+ "init:db": "node initDb",
66
+ "migrate": "knex migrate:latest",
67
+ "lint": "eslint --ext .js ./"
68
+ }
69
+ }
@@ -0,0 +1,8 @@
1
+ onlyBuiltDependencies:
2
+ - sqlite3
3
+
4
+ overrides:
5
+ diff@>=6.0.0 <8.0.3: '>=8.0.3'
6
+ tar@<7.5.7: '>=7.5.7'
7
+ tar@<=7.5.2: '>=7.5.3'
8
+ tar@<=7.5.3: '>=7.5.4'