@augment-vir/node 31.1.1 → 31.2.1

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
@@ -2,9 +2,9 @@
2
2
 
3
3
  A collection of augments, helpers types, functions, and classes only for Node.js (backend) JavaScript environments.
4
4
 
5
- - Includes a custom Prisma API built on its CLI: [`prisma`](https://electrovir.github.io/augment-vir/variables/prisma.html).
6
- - Includes a custom Docker API built on its CLI: [`docker`](https://electrovir.github.io/augment-vir/variables/docker.html).
7
- - Includes an easy to use shell script runner: [`runShellCommand`](https://electrovir.github.io/augment-vir/functions/runShellCommand.html).
8
- - and much more!
5
+ - Includes a custom Prisma API built on its CLI: [`prisma`](https://electrovir.github.io/augment-vir/variables/prisma.html).
6
+ - Includes a custom Docker API built on its CLI: [`docker`](https://electrovir.github.io/augment-vir/variables/docker.html).
7
+ - Includes an easy to use shell script runner: [`runShellCommand`](https://electrovir.github.io/augment-vir/functions/runShellCommand.html).
8
+ - and much more!
9
9
 
10
10
  See all the docs under `Node : *`, or `* : Node`, or `Package: @augment-vir/node` here: https://electrovir.github.io/augment-vir
@@ -10,9 +10,9 @@ async function addModelDataObject(prismaClient, data) {
10
10
  /** Add the mock data to the mock prisma client. */
11
11
  await awaitedForEach(getObjectTypedEntries(data), async ([modelName, mockData]) => {
12
12
  /**
13
- * This type is dumbed down to just `AnyObject[]` because the union of all possible
14
- * model data is just way too big (and not helpful as the inputs to this function are
15
- * already type guarded).
13
+ * This type is dumbed down to just `AnyObject[]` because the union of all possible model
14
+ * data is just way too big (and not helpful as the inputs to this function are already type
15
+ * guarded).
16
16
  */
17
17
  const mockModelInstances = Array.isArray(mockData)
18
18
  ? mockData
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augment-vir/node",
3
- "version": "31.1.1",
3
+ "version": "31.2.1",
4
4
  "description": "A collection of augments, helpers types, functions, and classes only for Node.js (backend) JavaScript environments.",
5
5
  "keywords": [
6
6
  "augment",
@@ -37,8 +37,8 @@
37
37
  "test:update": "npm test"
38
38
  },
39
39
  "dependencies": {
40
- "@augment-vir/assert": "^31.1.1",
41
- "@augment-vir/common": "^31.1.1",
40
+ "@augment-vir/assert": "^31.2.1",
41
+ "@augment-vir/common": "^31.2.1",
42
42
  "@date-vir/duration": "^7.0.1",
43
43
  "ansi-styles": "^6.2.1",
44
44
  "terminate": "^2.8.0",
@@ -46,7 +46,7 @@
46
46
  "typed-event-target": "^4.0.2"
47
47
  },
48
48
  "devDependencies": {
49
- "@augment-vir/test": "^31.1.1",
49
+ "@augment-vir/test": "^31.2.1",
50
50
  "@prisma/client": "^5.22.0",
51
51
  "@types/node": "^22.10.0",
52
52
  "@web/dev-server-esbuild": "^1.0.3",
@@ -91,9 +91,9 @@ async function addModelDataObject(
91
91
  /** Add the mock data to the mock prisma client. */
92
92
  await awaitedForEach(getObjectTypedEntries(data), async ([modelName, mockData]) => {
93
93
  /**
94
- * This type is dumbed down to just `AnyObject[]` because the union of all possible
95
- * model data is just way too big (and not helpful as the inputs to this function are
96
- * already type guarded).
94
+ * This type is dumbed down to just `AnyObject[]` because the union of all possible model
95
+ * data is just way too big (and not helpful as the inputs to this function are already type
96
+ * guarded).
97
97
  */
98
98
  const mockModelInstances: AnyObject[] = Array.isArray(mockData)
99
99
  ? mockData