@aws-amplify/graphql-model-transformer 1.4.0 → 1.5.0-rds.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 (163) hide show
  1. package/API.md +15 -15
  2. package/CHANGELOG.md +11 -0
  3. package/lib/graphql-types/mutation.d.ts.map +1 -1
  4. package/lib/graphql-types/mutation.js +9 -2
  5. package/lib/graphql-types/mutation.js.map +1 -1
  6. package/lib/rds-lambda.zip +0 -0
  7. package/lib/rds-notification-lambda.zip +0 -0
  8. package/lib/rds-patching-lambda.zip +0 -0
  9. package/lib/resolvers/generators/dynamodb-vtl-generator.d.ts +6 -5
  10. package/lib/resolvers/generators/dynamodb-vtl-generator.d.ts.map +1 -1
  11. package/lib/resolvers/generators/dynamodb-vtl-generator.js +5 -5
  12. package/lib/resolvers/generators/dynamodb-vtl-generator.js.map +1 -1
  13. package/lib/resolvers/generators/rds-vtl-generator.d.ts +6 -5
  14. package/lib/resolvers/generators/rds-vtl-generator.d.ts.map +1 -1
  15. package/lib/resolvers/generators/rds-vtl-generator.js +10 -10
  16. package/lib/resolvers/generators/rds-vtl-generator.js.map +1 -1
  17. package/lib/resolvers/generators/vtl-generator.d.ts +6 -5
  18. package/lib/resolvers/generators/vtl-generator.d.ts.map +1 -1
  19. package/lib/resolvers/rds/mutation.d.ts +4 -3
  20. package/lib/resolvers/rds/mutation.d.ts.map +1 -1
  21. package/lib/resolvers/rds/mutation.js +7 -3
  22. package/lib/resolvers/rds/mutation.js.map +1 -1
  23. package/lib/resolvers/rds/query.d.ts +2 -1
  24. package/lib/resolvers/rds/query.d.ts.map +1 -1
  25. package/lib/resolvers/rds/query.js +3 -1
  26. package/lib/resolvers/rds/query.js.map +1 -1
  27. package/lib/resolvers/rds/resolver.d.ts +6 -2
  28. package/lib/resolvers/rds/resolver.d.ts.map +1 -1
  29. package/lib/resolvers/rds/resolver.js +39 -25
  30. package/lib/resolvers/rds/resolver.js.map +1 -1
  31. package/lib/resources/model-resource-generator.js +5 -5
  32. package/lib/resources/model-resource-generator.js.map +1 -1
  33. package/package.json +4 -4
  34. package/publish-notification-lambda/node_modules/.package-lock.json +13 -13
  35. package/publish-notification-lambda/node_modules/@smithy/protocol-http/package.json +2 -2
  36. package/publish-notification-lambda/node_modules/@smithy/types/README.md +37 -0
  37. package/publish-notification-lambda/node_modules/@smithy/types/package.json +3 -2
  38. package/publish-notification-lambda/node_modules/@types/node/README.md +2 -2
  39. package/publish-notification-lambda/node_modules/@types/node/package.json +2 -7
  40. package/publish-notification-lambda/node_modules/tslib/package.json +1 -1
  41. package/publish-notification-lambda/node_modules/tslib/tslib.es6.mjs +1 -1
  42. package/publish-notification-lambda/package-lock.json +13 -13
  43. package/rds-lambda/handler.ts +2 -1
  44. package/rds-lambda/node_modules/.package-lock.json +370 -345
  45. package/rds-lambda/node_modules/@babel/code-frame/README.md +1 -1
  46. package/rds-lambda/node_modules/@babel/code-frame/package.json +3 -2
  47. package/rds-lambda/node_modules/@babel/core/cjs-proxy.cjs +3 -1
  48. package/rds-lambda/node_modules/@babel/core/package.json +10 -10
  49. package/rds-lambda/node_modules/@babel/generator/package.json +3 -3
  50. package/rds-lambda/node_modules/@babel/helper-compilation-targets/package.json +1 -5
  51. package/rds-lambda/node_modules/@babel/helpers/package.json +6 -6
  52. package/rds-lambda/node_modules/@babel/highlight/README.md +1 -1
  53. package/rds-lambda/node_modules/@babel/highlight/package.json +2 -3
  54. package/rds-lambda/node_modules/@babel/parser/package.json +3 -3
  55. package/rds-lambda/node_modules/@babel/traverse/package.json +6 -5
  56. package/rds-lambda/node_modules/@babel/types/README.md +1 -1
  57. package/rds-lambda/node_modules/@babel/types/package.json +3 -4
  58. package/rds-lambda/node_modules/@jest/console/package.json +5 -5
  59. package/rds-lambda/node_modules/@jest/core/package.json +20 -20
  60. package/rds-lambda/node_modules/@jest/environment/package.json +4 -4
  61. package/rds-lambda/node_modules/@jest/expect/package.json +4 -4
  62. package/rds-lambda/node_modules/@jest/expect-utils/package.json +3 -3
  63. package/rds-lambda/node_modules/@jest/fake-timers/package.json +6 -6
  64. package/rds-lambda/node_modules/@jest/globals/package.json +5 -5
  65. package/rds-lambda/node_modules/@jest/reporters/package.json +10 -10
  66. package/rds-lambda/node_modules/@jest/test-result/package.json +5 -5
  67. package/rds-lambda/node_modules/@jest/test-sequencer/package.json +5 -5
  68. package/rds-lambda/node_modules/@jest/transform/package.json +6 -6
  69. package/rds-lambda/node_modules/@jridgewell/resolve-uri/package.json +2 -2
  70. package/rds-lambda/node_modules/@jridgewell/trace-mapping/package.json +3 -3
  71. package/rds-lambda/node_modules/@smithy/protocol-http/package.json +2 -2
  72. package/rds-lambda/node_modules/@smithy/types/README.md +37 -0
  73. package/rds-lambda/node_modules/@smithy/types/package.json +3 -2
  74. package/rds-lambda/node_modules/@types/node/README.md +2 -2
  75. package/rds-lambda/node_modules/@types/node/package.json +2 -7
  76. package/rds-lambda/node_modules/babel-jest/package.json +4 -4
  77. package/rds-lambda/node_modules/browserslist/package.json +4 -4
  78. package/rds-lambda/node_modules/caniuse-lite/package.json +1 -1
  79. package/rds-lambda/node_modules/dedent/README.md +56 -0
  80. package/rds-lambda/node_modules/dedent/dist/dedent.d.mts +17 -0
  81. package/rds-lambda/node_modules/dedent/dist/dedent.mjs +59 -0
  82. package/rds-lambda/node_modules/dedent/package.json +54 -10
  83. package/rds-lambda/node_modules/electron-to-chromium/full-chromium-versions.json +1 -1
  84. package/rds-lambda/node_modules/electron-to-chromium/full-versions.json +1 -1
  85. package/rds-lambda/node_modules/electron-to-chromium/package.json +1 -1
  86. package/rds-lambda/node_modules/electron-to-chromium/versions.json +1 -1
  87. package/rds-lambda/node_modules/expect/package.json +7 -7
  88. package/rds-lambda/node_modules/is-core-module/CHANGELOG.md +7 -0
  89. package/rds-lambda/node_modules/is-core-module/core.json +3 -3
  90. package/rds-lambda/node_modules/is-core-module/package.json +5 -5
  91. package/rds-lambda/node_modules/istanbul-lib-report/CHANGELOG.md +7 -0
  92. package/rds-lambda/node_modules/istanbul-lib-report/package.json +5 -6
  93. package/rds-lambda/node_modules/istanbul-reports/CHANGELOG.md +7 -0
  94. package/rds-lambda/node_modules/istanbul-reports/package.json +1 -1
  95. package/rds-lambda/node_modules/jest/package.json +4 -4
  96. package/rds-lambda/node_modules/jest-circus/package.json +13 -14
  97. package/rds-lambda/node_modules/jest-cli/package.json +7 -7
  98. package/rds-lambda/node_modules/jest-config/package.json +11 -11
  99. package/rds-lambda/node_modules/jest-diff/package.json +4 -4
  100. package/rds-lambda/node_modules/jest-each/package.json +4 -4
  101. package/rds-lambda/node_modules/jest-environment-node/package.json +7 -7
  102. package/rds-lambda/node_modules/jest-haste-map/package.json +4 -4
  103. package/rds-lambda/node_modules/jest-leak-detector/package.json +3 -3
  104. package/rds-lambda/node_modules/jest-matcher-utils/package.json +5 -5
  105. package/rds-lambda/node_modules/jest-message-util/package.json +3 -3
  106. package/rds-lambda/node_modules/jest-mock/package.json +3 -3
  107. package/rds-lambda/node_modules/jest-resolve/package.json +5 -5
  108. package/rds-lambda/node_modules/jest-resolve-dependencies/package.json +7 -7
  109. package/rds-lambda/node_modules/jest-runner/package.json +17 -17
  110. package/rds-lambda/node_modules/jest-runtime/package.json +15 -15
  111. package/rds-lambda/node_modules/jest-snapshot/package.json +12 -12
  112. package/rds-lambda/node_modules/jest-util/package.json +2 -2
  113. package/rds-lambda/node_modules/jest-validate/package.json +3 -3
  114. package/rds-lambda/node_modules/jest-watcher/package.json +4 -4
  115. package/rds-lambda/node_modules/jest-worker/package.json +4 -4
  116. package/rds-lambda/node_modules/make-dir/license +1 -1
  117. package/rds-lambda/node_modules/make-dir/node_modules/lru-cache/LICENSE +15 -0
  118. package/rds-lambda/node_modules/make-dir/node_modules/lru-cache/README.md +166 -0
  119. package/rds-lambda/node_modules/make-dir/node_modules/lru-cache/package.json +34 -0
  120. package/rds-lambda/node_modules/make-dir/node_modules/semver/LICENSE +15 -0
  121. package/rds-lambda/node_modules/make-dir/node_modules/semver/README.md +637 -0
  122. package/rds-lambda/node_modules/make-dir/node_modules/semver/package.json +87 -0
  123. package/rds-lambda/node_modules/make-dir/node_modules/semver/range.bnf +16 -0
  124. package/rds-lambda/node_modules/make-dir/node_modules/yallist/LICENSE +15 -0
  125. package/rds-lambda/node_modules/make-dir/node_modules/yallist/README.md +204 -0
  126. package/rds-lambda/node_modules/make-dir/node_modules/yallist/package.json +29 -0
  127. package/rds-lambda/node_modules/make-dir/package.json +15 -11
  128. package/rds-lambda/node_modules/make-dir/readme.md +1 -1
  129. package/rds-lambda/node_modules/pretty-format/package.json +3 -3
  130. package/rds-lambda/node_modules/resolve/lib/core.json +4 -1
  131. package/rds-lambda/node_modules/resolve/package.json +6 -6
  132. package/rds-lambda/node_modules/tslib/package.json +1 -1
  133. package/rds-lambda/node_modules/tslib/tslib.es6.mjs +1 -1
  134. package/rds-lambda/package-lock.json +370 -345
  135. package/rds-patching-lambda/node_modules/.package-lock.json +13 -13
  136. package/rds-patching-lambda/node_modules/@smithy/protocol-http/package.json +2 -2
  137. package/rds-patching-lambda/node_modules/@smithy/types/README.md +37 -0
  138. package/rds-patching-lambda/node_modules/@smithy/types/package.json +3 -2
  139. package/rds-patching-lambda/node_modules/@types/node/README.md +2 -2
  140. package/rds-patching-lambda/node_modules/@types/node/package.json +2 -7
  141. package/rds-patching-lambda/node_modules/tslib/package.json +1 -1
  142. package/rds-patching-lambda/node_modules/tslib/tslib.es6.mjs +1 -1
  143. package/rds-patching-lambda/package-lock.json +13 -13
  144. package/src/__tests__/__snapshots__/model-transformer.test.ts.snap +688 -0
  145. package/src/__tests__/model-transformer.test.ts +58 -1
  146. package/src/graphql-types/mutation.ts +11 -3
  147. package/src/resolvers/generators/dynamodb-vtl-generator.ts +7 -5
  148. package/src/resolvers/generators/rds-vtl-generator.ts +12 -10
  149. package/src/resolvers/generators/vtl-generator.ts +6 -5
  150. package/src/resolvers/rds/mutation.ts +18 -3
  151. package/src/resolvers/rds/query.ts +9 -1
  152. package/src/resolvers/rds/resolver.ts +45 -26
  153. package/src/resources/model-resource-generator.ts +5 -5
  154. package/tsconfig.tsbuildinfo +1 -1
  155. package/rds-lambda/node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec/LICENSE +0 -21
  156. package/rds-lambda/node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec/README.md +0 -200
  157. package/rds-lambda/node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +0 -164
  158. package/rds-lambda/node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +0 -1
  159. package/rds-lambda/node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec/package.json +0 -75
  160. package/rds-lambda/node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts +0 -198
  161. package/rds-lambda/node_modules/@types/prettier/LICENSE +0 -21
  162. package/rds-lambda/node_modules/@types/prettier/README.md +0 -16
  163. package/rds-lambda/node_modules/@types/prettier/package.json +0 -65
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "semver",
3
+ "version": "7.5.4",
4
+ "description": "The semantic version parser used by npm.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "tap",
8
+ "snap": "tap",
9
+ "lint": "eslint \"**/*.js\"",
10
+ "postlint": "template-oss-check",
11
+ "lintfix": "npm run lint -- --fix",
12
+ "posttest": "npm run lint",
13
+ "template-oss-apply": "template-oss-apply --force"
14
+ },
15
+ "devDependencies": {
16
+ "@npmcli/eslint-config": "^4.0.0",
17
+ "@npmcli/template-oss": "4.17.0",
18
+ "tap": "^16.0.0"
19
+ },
20
+ "license": "ISC",
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://github.com/npm/node-semver.git"
24
+ },
25
+ "bin": {
26
+ "semver": "bin/semver.js"
27
+ },
28
+ "files": [
29
+ "bin/",
30
+ "lib/",
31
+ "classes/",
32
+ "functions/",
33
+ "internal/",
34
+ "ranges/",
35
+ "index.js",
36
+ "preload.js",
37
+ "range.bnf"
38
+ ],
39
+ "tap": {
40
+ "timeout": 30,
41
+ "coverage-map": "map.js",
42
+ "nyc-arg": [
43
+ "--exclude",
44
+ "tap-snapshots/**"
45
+ ]
46
+ },
47
+ "engines": {
48
+ "node": ">=10"
49
+ },
50
+ "dependencies": {
51
+ "lru-cache": "^6.0.0"
52
+ },
53
+ "author": "GitHub Inc.",
54
+ "templateOSS": {
55
+ "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
56
+ "version": "4.17.0",
57
+ "engines": ">=10",
58
+ "ciVersions": [
59
+ "10.0.0",
60
+ "10.x",
61
+ "12.x",
62
+ "14.x",
63
+ "16.x",
64
+ "18.x"
65
+ ],
66
+ "npmSpec": "8",
67
+ "distPaths": [
68
+ "classes/",
69
+ "functions/",
70
+ "internal/",
71
+ "ranges/",
72
+ "index.js",
73
+ "preload.js",
74
+ "range.bnf"
75
+ ],
76
+ "allowPaths": [
77
+ "/classes/",
78
+ "/functions/",
79
+ "/internal/",
80
+ "/ranges/",
81
+ "/index.js",
82
+ "/preload.js",
83
+ "/range.bnf"
84
+ ],
85
+ "publish": "true"
86
+ }
87
+ }
@@ -0,0 +1,16 @@
1
+ range-set ::= range ( logical-or range ) *
2
+ logical-or ::= ( ' ' ) * '||' ( ' ' ) *
3
+ range ::= hyphen | simple ( ' ' simple ) * | ''
4
+ hyphen ::= partial ' - ' partial
5
+ simple ::= primitive | partial | tilde | caret
6
+ primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial
7
+ partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )?
8
+ xr ::= 'x' | 'X' | '*' | nr
9
+ nr ::= '0' | [1-9] ( [0-9] ) *
10
+ tilde ::= '~' partial
11
+ caret ::= '^' partial
12
+ qualifier ::= ( '-' pre )? ( '+' build )?
13
+ pre ::= parts
14
+ build ::= parts
15
+ parts ::= part ( '.' part ) *
16
+ part ::= nr | [-0-9A-Za-z]+
@@ -0,0 +1,15 @@
1
+ The ISC License
2
+
3
+ Copyright (c) Isaac Z. Schlueter and Contributors
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,204 @@
1
+ # yallist
2
+
3
+ Yet Another Linked List
4
+
5
+ There are many doubly-linked list implementations like it, but this
6
+ one is mine.
7
+
8
+ For when an array would be too big, and a Map can't be iterated in
9
+ reverse order.
10
+
11
+
12
+ [![Build Status](https://travis-ci.org/isaacs/yallist.svg?branch=master)](https://travis-ci.org/isaacs/yallist) [![Coverage Status](https://coveralls.io/repos/isaacs/yallist/badge.svg?service=github)](https://coveralls.io/github/isaacs/yallist)
13
+
14
+ ## basic usage
15
+
16
+ ```javascript
17
+ var yallist = require('yallist')
18
+ var myList = yallist.create([1, 2, 3])
19
+ myList.push('foo')
20
+ myList.unshift('bar')
21
+ // of course pop() and shift() are there, too
22
+ console.log(myList.toArray()) // ['bar', 1, 2, 3, 'foo']
23
+ myList.forEach(function (k) {
24
+ // walk the list head to tail
25
+ })
26
+ myList.forEachReverse(function (k, index, list) {
27
+ // walk the list tail to head
28
+ })
29
+ var myDoubledList = myList.map(function (k) {
30
+ return k + k
31
+ })
32
+ // now myDoubledList contains ['barbar', 2, 4, 6, 'foofoo']
33
+ // mapReverse is also a thing
34
+ var myDoubledListReverse = myList.mapReverse(function (k) {
35
+ return k + k
36
+ }) // ['foofoo', 6, 4, 2, 'barbar']
37
+
38
+ var reduced = myList.reduce(function (set, entry) {
39
+ set += entry
40
+ return set
41
+ }, 'start')
42
+ console.log(reduced) // 'startfoo123bar'
43
+ ```
44
+
45
+ ## api
46
+
47
+ The whole API is considered "public".
48
+
49
+ Functions with the same name as an Array method work more or less the
50
+ same way.
51
+
52
+ There's reverse versions of most things because that's the point.
53
+
54
+ ### Yallist
55
+
56
+ Default export, the class that holds and manages a list.
57
+
58
+ Call it with either a forEach-able (like an array) or a set of
59
+ arguments, to initialize the list.
60
+
61
+ The Array-ish methods all act like you'd expect. No magic length,
62
+ though, so if you change that it won't automatically prune or add
63
+ empty spots.
64
+
65
+ ### Yallist.create(..)
66
+
67
+ Alias for Yallist function. Some people like factories.
68
+
69
+ #### yallist.head
70
+
71
+ The first node in the list
72
+
73
+ #### yallist.tail
74
+
75
+ The last node in the list
76
+
77
+ #### yallist.length
78
+
79
+ The number of nodes in the list. (Change this at your peril. It is
80
+ not magic like Array length.)
81
+
82
+ #### yallist.toArray()
83
+
84
+ Convert the list to an array.
85
+
86
+ #### yallist.forEach(fn, [thisp])
87
+
88
+ Call a function on each item in the list.
89
+
90
+ #### yallist.forEachReverse(fn, [thisp])
91
+
92
+ Call a function on each item in the list, in reverse order.
93
+
94
+ #### yallist.get(n)
95
+
96
+ Get the data at position `n` in the list. If you use this a lot,
97
+ probably better off just using an Array.
98
+
99
+ #### yallist.getReverse(n)
100
+
101
+ Get the data at position `n`, counting from the tail.
102
+
103
+ #### yallist.map(fn, thisp)
104
+
105
+ Create a new Yallist with the result of calling the function on each
106
+ item.
107
+
108
+ #### yallist.mapReverse(fn, thisp)
109
+
110
+ Same as `map`, but in reverse.
111
+
112
+ #### yallist.pop()
113
+
114
+ Get the data from the list tail, and remove the tail from the list.
115
+
116
+ #### yallist.push(item, ...)
117
+
118
+ Insert one or more items to the tail of the list.
119
+
120
+ #### yallist.reduce(fn, initialValue)
121
+
122
+ Like Array.reduce.
123
+
124
+ #### yallist.reduceReverse
125
+
126
+ Like Array.reduce, but in reverse.
127
+
128
+ #### yallist.reverse
129
+
130
+ Reverse the list in place.
131
+
132
+ #### yallist.shift()
133
+
134
+ Get the data from the list head, and remove the head from the list.
135
+
136
+ #### yallist.slice([from], [to])
137
+
138
+ Just like Array.slice, but returns a new Yallist.
139
+
140
+ #### yallist.sliceReverse([from], [to])
141
+
142
+ Just like yallist.slice, but the result is returned in reverse.
143
+
144
+ #### yallist.toArray()
145
+
146
+ Create an array representation of the list.
147
+
148
+ #### yallist.toArrayReverse()
149
+
150
+ Create a reversed array representation of the list.
151
+
152
+ #### yallist.unshift(item, ...)
153
+
154
+ Insert one or more items to the head of the list.
155
+
156
+ #### yallist.unshiftNode(node)
157
+
158
+ Move a Node object to the front of the list. (That is, pull it out of
159
+ wherever it lives, and make it the new head.)
160
+
161
+ If the node belongs to a different list, then that list will remove it
162
+ first.
163
+
164
+ #### yallist.pushNode(node)
165
+
166
+ Move a Node object to the end of the list. (That is, pull it out of
167
+ wherever it lives, and make it the new tail.)
168
+
169
+ If the node belongs to a list already, then that list will remove it
170
+ first.
171
+
172
+ #### yallist.removeNode(node)
173
+
174
+ Remove a node from the list, preserving referential integrity of head
175
+ and tail and other nodes.
176
+
177
+ Will throw an error if you try to have a list remove a node that
178
+ doesn't belong to it.
179
+
180
+ ### Yallist.Node
181
+
182
+ The class that holds the data and is actually the list.
183
+
184
+ Call with `var n = new Node(value, previousNode, nextNode)`
185
+
186
+ Note that if you do direct operations on Nodes themselves, it's very
187
+ easy to get into weird states where the list is broken. Be careful :)
188
+
189
+ #### node.next
190
+
191
+ The next node in the list.
192
+
193
+ #### node.prev
194
+
195
+ The previous node in the list.
196
+
197
+ #### node.value
198
+
199
+ The data the node contains.
200
+
201
+ #### node.list
202
+
203
+ The list to which this node belongs. (Null if it does not belong to
204
+ any list.)
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "yallist",
3
+ "version": "4.0.0",
4
+ "description": "Yet Another Linked List",
5
+ "main": "yallist.js",
6
+ "directories": {
7
+ "test": "test"
8
+ },
9
+ "files": [
10
+ "yallist.js",
11
+ "iterator.js"
12
+ ],
13
+ "dependencies": {},
14
+ "devDependencies": {
15
+ "tap": "^12.1.0"
16
+ },
17
+ "scripts": {
18
+ "test": "tap test/*.js --100",
19
+ "preversion": "npm test",
20
+ "postversion": "npm publish",
21
+ "postpublish": "git push origin --all; git push origin --tags"
22
+ },
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/isaacs/yallist.git"
26
+ },
27
+ "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
28
+ "license": "ISC"
29
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "make-dir",
3
- "version": "3.1.0",
3
+ "version": "4.0.0",
4
4
  "description": "Make a directory and its parents if needed - Think `mkdir -p`",
5
5
  "license": "MIT",
6
6
  "repository": "sindresorhus/make-dir",
@@ -8,10 +8,10 @@
8
8
  "author": {
9
9
  "name": "Sindre Sorhus",
10
10
  "email": "sindresorhus@gmail.com",
11
- "url": "sindresorhus.com"
11
+ "url": "https://sindresorhus.com"
12
12
  },
13
13
  "engines": {
14
- "node": ">=8"
14
+ "node": ">=10"
15
15
  },
16
16
  "scripts": {
17
17
  "test": "xo && nyc ava && tsd"
@@ -25,8 +25,6 @@
25
25
  "mkdirp",
26
26
  "make",
27
27
  "directories",
28
- "dir",
29
- "dirs",
30
28
  "folders",
31
29
  "directory",
32
30
  "folder",
@@ -42,18 +40,24 @@
42
40
  "file-system"
43
41
  ],
44
42
  "dependencies": {
45
- "semver": "^6.0.0"
43
+ "semver": "^7.5.3"
46
44
  },
47
45
  "devDependencies": {
48
46
  "@types/graceful-fs": "^4.1.3",
49
- "@types/node": "^13.7.1",
50
- "ava": "^1.4.0",
47
+ "@types/node": "^14.14.6",
48
+ "ava": "^2.4.0",
51
49
  "codecov": "^3.2.0",
52
50
  "graceful-fs": "^4.1.15",
53
51
  "nyc": "^15.0.0",
54
52
  "path-type": "^4.0.0",
55
- "tempy": "^0.2.1",
56
- "tsd": "^0.11.0",
57
- "xo": "^0.25.4"
53
+ "tempy": "^1.0.0",
54
+ "tsd": "^0.13.1",
55
+ "xo": "^0.34.2"
56
+ },
57
+ "nyc": {
58
+ "reporter": [
59
+ "text",
60
+ "lcov"
61
+ ]
58
62
  }
59
63
  }
@@ -1,4 +1,4 @@
1
- # make-dir [![Build Status](https://travis-ci.org/sindresorhus/make-dir.svg?branch=master)](https://travis-ci.org/sindresorhus/make-dir) [![codecov](https://codecov.io/gh/sindresorhus/make-dir/branch/master/graph/badge.svg)](https://codecov.io/gh/sindresorhus/make-dir)
1
+ # make-dir [![codecov](https://codecov.io/gh/sindresorhus/make-dir/branch/main/graph/badge.svg)](https://codecov.io/gh/sindresorhus/make-dir)
2
2
 
3
3
  > Make a directory and its parents if needed - Think `mkdir -p`
4
4
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pretty-format",
3
- "version": "29.6.1",
3
+ "version": "29.6.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/facebook/jest.git",
@@ -28,7 +28,7 @@
28
28
  "@types/react-is": "^18.0.0",
29
29
  "@types/react-test-renderer": "17.0.2",
30
30
  "immutable": "^4.0.0",
31
- "jest-util": "^29.6.1",
31
+ "jest-util": "^29.6.2",
32
32
  "react": "17.0.2",
33
33
  "react-dom": "^17.0.1",
34
34
  "react-test-renderer": "17.0.2"
@@ -39,5 +39,5 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "1f019afdcdfc54a6664908bb45f343db4e3d0848"
42
+ "gitHead": "0fd5b1c37555f485c56a6ad2d6b010a72204f9f6"
43
43
  }
@@ -114,6 +114,8 @@
114
114
  "node:string_decoder": [">= 14.18 && < 15", ">= 16"],
115
115
  "sys": [">= 0.4 && < 0.7", ">= 0.8"],
116
116
  "node:sys": [">= 14.18 && < 15", ">= 16"],
117
+ "test/reporters": ">= 19.9 && < 20.2",
118
+ "node:test/reporters": [">= 18.17 && < 19", ">= 19.9", ">= 20"],
117
119
  "node:test": [">= 16.17 && < 17", ">= 18"],
118
120
  "timers": true,
119
121
  "node:timers": [">= 14.18 && < 15", ">= 16"],
@@ -147,7 +149,8 @@
147
149
  "node:v8": [">= 14.18 && < 15", ">= 16"],
148
150
  "vm": true,
149
151
  "node:vm": [">= 14.18 && < 15", ">= 16"],
150
- "wasi": ">= 13.4 && < 13.5",
152
+ "wasi": [">= 13.4 && < 13.5", ">= 18.17 && < 19", ">= 20"],
153
+ "node:wasi": [">= 18.17 && < 19", ">= 20"],
151
154
  "worker_threads": ">= 11.7",
152
155
  "node:worker_threads": [">= 14.18 && < 15", ">= 16"],
153
156
  "zlib": ">= 0.5",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "resolve",
3
3
  "description": "resolve like require.resolve() on behalf of files asynchronously and synchronously",
4
- "version": "1.22.2",
4
+ "version": "1.22.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git://github.com/browserify/resolve.git"
@@ -30,9 +30,9 @@
30
30
  "test:multirepo": "cd ./test/resolver/multirepo && npm install && npm test"
31
31
  },
32
32
  "devDependencies": {
33
- "@ljharb/eslint-config": "^21.0.1",
33
+ "@ljharb/eslint-config": "^21.1.0",
34
34
  "array.prototype.map": "^1.0.5",
35
- "aud": "^2.0.2",
35
+ "aud": "^2.0.3",
36
36
  "copy-dir": "^1.3.0",
37
37
  "eclint": "^2.8.1",
38
38
  "eslint": "=8.8.0",
@@ -43,9 +43,9 @@
43
43
  "object-keys": "^1.1.1",
44
44
  "rimraf": "^2.7.1",
45
45
  "safe-publish-latest": "^2.0.0",
46
- "semver": "^6.3.0",
46
+ "semver": "^6.3.1",
47
47
  "tap": "0.4.13",
48
- "tape": "^5.6.3",
48
+ "tape": "^5.6.6",
49
49
  "tmp": "^0.0.31"
50
50
  },
51
51
  "license": "MIT",
@@ -58,7 +58,7 @@
58
58
  "url": "https://github.com/sponsors/ljharb"
59
59
  },
60
60
  "dependencies": {
61
- "is-core-module": "^2.11.0",
61
+ "is-core-module": "^2.13.0",
62
62
  "path-parse": "^1.0.7",
63
63
  "supports-preserve-symlinks-flag": "^1.0.0"
64
64
  },
@@ -2,7 +2,7 @@
2
2
  "name": "tslib",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "2.6.0",
5
+ "version": "2.6.1",
6
6
  "license": "0BSD",
7
7
  "description": "Runtime library for TypeScript helper functions",
8
8
  "keywords": [
@@ -294,7 +294,7 @@ export function __classPrivateFieldIn(state, receiver) {
294
294
 
295
295
  export function __addDisposableResource(env, value, async) {
296
296
  if (value !== null && value !== void 0) {
297
- if (typeof value !== "object") throw new TypeError("Object expected.");
297
+ if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
298
298
  var dispose;
299
299
  if (async) {
300
300
  if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");