@sprucelabs/data-stores 12.0.3 → 12.0.6

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.
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  /// <reference lib="esnext.asynciterable" />
3
4
  import { checkServerIdentity } from 'tls';
4
5
  import { Binary, Decimal128, Double, Int32, Long, ObjectId, Timestamp } from 'bson';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  /// <reference lib="esnext.asynciterable" />
3
4
  import { checkServerIdentity } from 'tls';
4
5
  import { Binary, Decimal128, Double, Int32, Long, ObjectId, Timestamp } from 'bson';
@@ -1,5 +1,5 @@
1
1
  import SpruceError from '../errors/SpruceError';
2
2
  declare const errorUtil: {
3
- transformToSpruceErrors(err: SpruceError | Error | Record<string, any>, fallbackErrorWhenUnableToMapToSpruceError?: SpruceError | undefined): SpruceError[];
3
+ transformToSpruceErrors(err: SpruceError | Error | Record<string, any>, fallbackErrorWhenUnableToMapToSpruceError?: SpruceError): SpruceError[];
4
4
  };
5
5
  export default errorUtil;
@@ -7,6 +7,6 @@ declare const mongoUtil: {
7
7
  [x: string]: any;
8
8
  };
9
9
  prepareUpdates(updates: Record<string, any>): Record<string, any>;
10
- queryOptionsToMongoFindOptions(options?: QueryOptions | undefined): FindOneOptions<any>;
10
+ queryOptionsToMongoFindOptions(options?: QueryOptions): FindOneOptions<any>;
11
11
  };
12
12
  export default mongoUtil;
@@ -1,5 +1,5 @@
1
1
  import SpruceError from '../errors/SpruceError';
2
2
  declare const errorUtil: {
3
- transformToSpruceErrors(err: SpruceError | Error | Record<string, any>, fallbackErrorWhenUnableToMapToSpruceError?: SpruceError | undefined): SpruceError[];
3
+ transformToSpruceErrors(err: SpruceError | Error | Record<string, any>, fallbackErrorWhenUnableToMapToSpruceError?: SpruceError): SpruceError[];
4
4
  };
5
5
  export default errorUtil;
@@ -7,6 +7,6 @@ declare const mongoUtil: {
7
7
  [x: string]: any;
8
8
  };
9
9
  prepareUpdates(updates: Record<string, any>): Record<string, any>;
10
- queryOptionsToMongoFindOptions(options?: QueryOptions | undefined): FindOneOptions<any>;
10
+ queryOptionsToMongoFindOptions(options?: QueryOptions): FindOneOptions<any>;
11
11
  };
12
12
  export default mongoUtil;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "12.0.3",
6
+ "version": "12.0.6",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "!build/__tests__",
@@ -71,10 +71,10 @@
71
71
  "upgrade.packages.test": "yarn upgrade.packages.all && yarn lint && yarn build.dev && yarn test"
72
72
  },
73
73
  "dependencies": {
74
- "@sprucelabs/error": "^5.0.459",
75
- "@sprucelabs/schema": "^28.2.14",
76
- "@sprucelabs/spruce-core-schemas": "^29.0.1",
77
- "@sprucelabs/spruce-skill-utils": "^26.0.39",
74
+ "@sprucelabs/error": "^5.0.460",
75
+ "@sprucelabs/schema": "^28.2.16",
76
+ "@sprucelabs/spruce-core-schemas": "^29.1.1",
77
+ "@sprucelabs/spruce-skill-utils": "^26.0.41",
78
78
  "globby": "^11.0.4",
79
79
  "just-clone": "^5.0.1",
80
80
  "lodash": "^4.17.21",
@@ -82,13 +82,13 @@
82
82
  "nedb": "^1.8.0"
83
83
  },
84
84
  "devDependencies": {
85
- "@sprucelabs/esm-postbuild": "^1.0.477",
86
- "@sprucelabs/jest-json-reporter": "^6.0.387",
85
+ "@sprucelabs/esm-postbuild": "^1.0.478",
86
+ "@sprucelabs/jest-json-reporter": "^6.0.388",
87
87
  "@sprucelabs/jest-sheets-reporter": "^1.3.44",
88
- "@sprucelabs/resolve-path-aliases": "^1.1.49",
88
+ "@sprucelabs/resolve-path-aliases": "^1.1.50",
89
89
  "@sprucelabs/semantic-release": "^4.0.8",
90
- "@sprucelabs/test": "^7.7.317",
91
- "@sprucelabs/test-utils": "^3.0.555",
90
+ "@sprucelabs/test": "^7.7.318",
91
+ "@sprucelabs/test-utils": "^3.0.556",
92
92
  "@types/lodash": "^4.14.182",
93
93
  "@types/nedb": "^1.8.12",
94
94
  "@types/node": "17.0.5",
@@ -103,7 +103,7 @@
103
103
  "ts-node": "^10.8.0",
104
104
  "tsc-watch": "^5.0.3",
105
105
  "tsconfig-paths": "^4.0.0",
106
- "typescript": "^4.6.4"
106
+ "typescript": "^4.7.2"
107
107
  },
108
108
  "engines": {
109
109
  "node": ">=12",