ts-cache-mongoose 1.1.2 → 1.2.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.
package/jest.config.ts CHANGED
@@ -1,7 +1,6 @@
1
- // For a detailed explanation regarding each configuration property, visit:
2
- // https://jestjs.io/docs/en/configuration.html
3
- import { recursive } from 'merge'
4
- import mongo from '@shelf/jest-mongodb/jest-preset'
1
+ /* eslint-disable @typescript-eslint/no-var-requires */
2
+ const { recursive } = require('merge')
3
+ const mongo = require('@shelf/jest-mongodb/jest-preset')
5
4
 
6
5
  const config = recursive(mongo, {
7
6
  roots: [
@@ -30,4 +29,4 @@ const config = recursive(mongo, {
30
29
  ]
31
30
  })
32
31
 
33
- export default config
32
+ module.exports = config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-cache-mongoose",
3
- "version": "1.1.2",
3
+ "version": "1.2.0",
4
4
  "description": "Cache plugin for mongoose Queries and Aggregate (in-memory, redis)",
5
5
  "author": "Alex Eagle",
6
6
  "license": "MIT",
@@ -82,24 +82,23 @@
82
82
  "devDependencies": {
83
83
  "@shelf/jest-mongodb": "4.1.7",
84
84
  "@swc/cli": "0.1.62",
85
- "@swc/core": "1.3.82",
86
- "@swc/helpers": "0.5.1",
85
+ "@swc/core": "1.3.91",
86
+ "@swc/helpers": "0.5.2",
87
87
  "@swc/jest": "0.2.29",
88
88
  "@swc/register": "0.1.10",
89
- "@types/jest": "29.5.4",
90
- "@types/ms": "0.7.31",
89
+ "@types/jest": "29.5.5",
90
+ "@types/ms": "0.7.32",
91
91
  "@types/node": "18",
92
- "@typescript-eslint/eslint-plugin": "6.5.0",
93
- "@typescript-eslint/parser": "6.5.0",
94
- "eslint": "8.48.0",
95
- "eslint-plugin-jest": "27.2.3",
92
+ "@typescript-eslint/eslint-plugin": "6.7.3",
93
+ "@typescript-eslint/parser": "6.7.3",
94
+ "eslint": "8.50.0",
95
+ "eslint-plugin-jest": "27.4.2",
96
96
  "eslint-plugin-jest-formatting": "3.1.0",
97
97
  "eslint-plugin-sonarjs": "0.21.0",
98
- "jest": "29.6.4",
98
+ "jest": "29.7.0",
99
99
  "merge": "2.1.1",
100
100
  "mongoose": "6.12.0",
101
101
  "open-cli": "7.2.0",
102
- "ts-node": "10.9.1",
103
102
  "typescript": "5.2.2"
104
103
  },
105
104
  "peerDependencies": {
package/tsconfig.json CHANGED
@@ -37,8 +37,5 @@
37
37
  "dist",
38
38
  "tools",
39
39
  "node_modules"
40
- ],
41
- "ts-node": {
42
- "swc": true
43
- }
40
+ ]
44
41
  }