cosa 8.0.0 → 9.0.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +12 -13
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Cosa
2
2
 
3
- [![Build Status](https://travis-ci.com/Losant/cosa.svg?branch=master)](https://travis-ci.com/Losant/cosa) [![npm version](https://badge.fury.io/js/cosa.svg)](https://badge.fury.io/js/cosa)
3
+ ![Build Status](https://github.com/Losant/cosa/actions/workflows/test.yml/badge.svg?branch=master) [![npm version](https://badge.fury.io/js/cosa.svg)](https://badge.fury.io/js/cosa)
4
4
 
5
5
  Simplified object modeling for MongoDB
6
6
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "cosa",
3
- "version": "8.0.0",
3
+ "version": "9.0.0",
4
4
  "description": "Cosa Models for MongoDB",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",
7
7
  "engines": {
8
- "node": ">=16",
8
+ "node": ">=18",
9
9
  "yarn": ">=1.2.1"
10
10
  },
11
11
  "scripts": {
@@ -16,8 +16,7 @@
16
16
  "reinstall": "rm -rf node_modules && yarn install",
17
17
  "test": "NODE_ENV='test' COSA_DB_URI='mongodb://localhost:27017/test' mocha",
18
18
  "test-debug": "yarn test --debug-brk",
19
- "doc": "documentation build lib/index.js -f md --github > API.md",
20
- "prepare": "husky install"
19
+ "doc": "documentation build lib/index.js -f md --github > API.md"
21
20
  },
22
21
  "author": "Losant <hello@losant.com>",
23
22
  "license": "MIT",
@@ -37,23 +36,23 @@
37
36
  ],
38
37
  "dependencies": {
39
38
  "clone": "^2.1.2",
40
- "debug": "^4.3.4",
39
+ "debug": "^4.3.6",
41
40
  "error": "^7.0.2",
42
41
  "etag": "^1.8.1",
43
- "joi": "^17.9.2",
44
- "mongodb": "~6.3.0",
42
+ "joi": "^17.13.3",
43
+ "mongodb": "~6.8.0",
45
44
  "object-path": "^0.11.8",
46
- "omnibelt": "^3.1.2"
45
+ "omnibelt": "^4.0.0"
47
46
  },
48
47
  "devDependencies": {
49
48
  "@losant/eslint-config-losant": "^1.6.1",
50
- "husky": "^9.0.10",
51
- "lint-staged": "~15.2.1",
52
- "chai": "^5.0.3",
53
- "chai-as-promised": "^7.1.1",
49
+ "husky": "^9.1.5",
50
+ "lint-staged": "~15.2.9",
51
+ "chai": "^5.1.1",
52
+ "chai-as-promised": "^8.0.0",
54
53
  "chai-datetime": "^1.8.0",
55
54
  "documentation": "^14.0.2",
56
- "mocha": "^10.2.0",
55
+ "mocha": "^10.7.3",
57
56
  "string-template": "^1.0.0"
58
57
  },
59
58
  "eslintConfig": {