@aws-amplify/graphql-api-construct 1.18.3 → 1.18.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (986) hide show
  1. package/.jsii +162 -187
  2. package/CHANGELOG.md +8 -0
  3. package/jest.config.js +0 -7
  4. package/lib/amplify-dynamodb-table-wrapper.js +1 -1
  5. package/lib/amplify-graphql-api.js +1 -1
  6. package/lib/amplify-graphql-definition.js +1 -1
  7. package/lib/index.js +23 -1
  8. package/lib/sql-model-datasource-strategy.js +1 -1
  9. package/lib/types.js +11 -1
  10. package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +4 -0
  11. package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +10 -11
  12. package/node_modules/@aws-amplify/graphql-conversation-transformer/CHANGELOG.md +4 -0
  13. package/node_modules/@aws-amplify/graphql-conversation-transformer/package.json +7 -8
  14. package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +4 -0
  15. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +5 -6
  16. package/node_modules/@aws-amplify/graphql-directives/package.json +1 -2
  17. package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +4 -0
  18. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +4 -5
  19. package/node_modules/@aws-amplify/graphql-generation-transformer/CHANGELOG.md +4 -0
  20. package/node_modules/@aws-amplify/graphql-generation-transformer/package.json +4 -5
  21. package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +4 -0
  22. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +4 -5
  23. package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +4 -0
  24. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +5 -6
  25. package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +4 -0
  26. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  27. package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +8 -9
  28. package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +4 -0
  29. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  30. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  31. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  32. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +4 -5
  33. package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +4 -0
  34. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  35. package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +4 -5
  36. package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +4 -0
  37. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +6 -7
  38. package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +4 -0
  39. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  40. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +5 -6
  41. package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +4 -0
  42. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +5 -6
  43. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +4 -0
  44. package/node_modules/@aws-amplify/graphql-transformer/package.json +17 -18
  45. package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +4 -0
  46. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +2 -4
  47. package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +1 -2
  48. package/node_modules/graphql-mapping-template/package.json +1 -2
  49. package/node_modules/graphql-transformer-common/package.json +1 -2
  50. package/package.json +18 -68
  51. package/src/index.ts +33 -0
  52. package/src/types.ts +100 -0
  53. package/node_modules/@aws-amplify/graphql-auth-transformer/LICENSE +0 -201
  54. package/node_modules/@aws-amplify/graphql-conversation-transformer/LICENSE +0 -201
  55. package/node_modules/@aws-amplify/graphql-default-value-transformer/LICENSE +0 -201
  56. package/node_modules/@aws-amplify/graphql-directives/LICENSE +0 -201
  57. package/node_modules/@aws-amplify/graphql-function-transformer/LICENSE +0 -201
  58. package/node_modules/@aws-amplify/graphql-generation-transformer/LICENSE +0 -201
  59. package/node_modules/@aws-amplify/graphql-http-transformer/LICENSE +0 -201
  60. package/node_modules/@aws-amplify/graphql-index-transformer/LICENSE +0 -201
  61. package/node_modules/@aws-amplify/graphql-maps-to-transformer/LICENSE +0 -201
  62. package/node_modules/@aws-amplify/graphql-model-transformer/LICENSE +0 -201
  63. package/node_modules/@aws-amplify/graphql-predictions-transformer/LICENSE +0 -201
  64. package/node_modules/@aws-amplify/graphql-relational-transformer/LICENSE +0 -201
  65. package/node_modules/@aws-amplify/graphql-searchable-transformer/LICENSE +0 -201
  66. package/node_modules/@aws-amplify/graphql-sql-transformer/LICENSE +0 -201
  67. package/node_modules/@aws-amplify/graphql-transformer/LICENSE +0 -201
  68. package/node_modules/@aws-amplify/graphql-transformer-core/LICENSE +0 -201
  69. package/node_modules/@aws-amplify/graphql-transformer-interfaces/LICENSE +0 -201
  70. package/node_modules/@aws-cdk/assert/BUILD.md +0 -15
  71. package/node_modules/@aws-cdk/assert/LICENSE +0 -201
  72. package/node_modules/@aws-cdk/assert/NOTICE +0 -2
  73. package/node_modules/@aws-cdk/assert/README.md +0 -228
  74. package/node_modules/@aws-cdk/assert/clone.sh +0 -29
  75. package/node_modules/@aws-cdk/assert/jest.d.ts +0 -14
  76. package/node_modules/@aws-cdk/assert/jest.js +0 -57
  77. package/node_modules/@aws-cdk/assert/lib/assertion.d.ts +0 -17
  78. package/node_modules/@aws-cdk/assert/lib/assertion.js +0 -31
  79. package/node_modules/@aws-cdk/assert/lib/assertions/and-assertion.d.ts +0 -10
  80. package/node_modules/@aws-cdk/assert/lib/assertions/and-assertion.js +0 -21
  81. package/node_modules/@aws-cdk/assert/lib/assertions/count-resources.d.ts +0 -10
  82. package/node_modules/@aws-cdk/assert/lib/assertions/count-resources.js +0 -54
  83. package/node_modules/@aws-cdk/assert/lib/assertions/exist.d.ts +0 -3
  84. package/node_modules/@aws-cdk/assert/lib/assertions/exist.js +0 -18
  85. package/node_modules/@aws-cdk/assert/lib/assertions/have-output.d.ts +0 -29
  86. package/node_modules/@aws-cdk/assert/lib/assertions/have-output.js +0 -77
  87. package/node_modules/@aws-cdk/assert/lib/assertions/have-resource-matchers.d.ts +0 -123
  88. package/node_modules/@aws-cdk/assert/lib/assertions/have-resource-matchers.js +0 -404
  89. package/node_modules/@aws-cdk/assert/lib/assertions/have-resource.d.ts +0 -69
  90. package/node_modules/@aws-cdk/assert/lib/assertions/have-resource.js +0 -130
  91. package/node_modules/@aws-cdk/assert/lib/assertions/have-type.d.ts +0 -3
  92. package/node_modules/@aws-cdk/assert/lib/assertions/have-type.js +0 -22
  93. package/node_modules/@aws-cdk/assert/lib/assertions/match-template.d.ts +0 -19
  94. package/node_modules/@aws-cdk/assert/lib/assertions/match-template.js +0 -98
  95. package/node_modules/@aws-cdk/assert/lib/assertions/negated-assertion.d.ts +0 -8
  96. package/node_modules/@aws-cdk/assert/lib/assertions/negated-assertion.js +0 -18
  97. package/node_modules/@aws-cdk/assert/lib/canonicalize-assets.d.ts +0 -11
  98. package/node_modules/@aws-cdk/assert/lib/canonicalize-assets.js +0 -70
  99. package/node_modules/@aws-cdk/assert/lib/expect.d.ts +0 -4
  100. package/node_modules/@aws-cdk/assert/lib/expect.js +0 -16
  101. package/node_modules/@aws-cdk/assert/lib/index.d.ts +0 -14
  102. package/node_modules/@aws-cdk/assert/lib/index.js +0 -27
  103. package/node_modules/@aws-cdk/assert/lib/inspector.d.ts +0 -31
  104. package/node_modules/@aws-cdk/assert/lib/inspector.js +0 -69
  105. package/node_modules/@aws-cdk/assert/lib/synth-utils.d.ts +0 -30
  106. package/node_modules/@aws-cdk/assert/lib/synth-utils.js +0 -92
  107. package/node_modules/@aws-cdk/assert/package.json +0 -77
  108. package/node_modules/@aws-cdk/cfnspec/CHANGELOG.md +0 -16795
  109. package/node_modules/@aws-cdk/cfnspec/LICENSE +0 -201
  110. package/node_modules/@aws-cdk/cfnspec/NOTICE +0 -2
  111. package/node_modules/@aws-cdk/cfnspec/README.md +0 -14
  112. package/node_modules/@aws-cdk/cfnspec/build-tools/build.d.ts +0 -1
  113. package/node_modules/@aws-cdk/cfnspec/build-tools/build.js +0 -37
  114. package/node_modules/@aws-cdk/cfnspec/build-tools/create-missing-libraries.d.ts +0 -6
  115. package/node_modules/@aws-cdk/cfnspec/build-tools/create-missing-libraries.js +0 -311
  116. package/node_modules/@aws-cdk/cfnspec/build-tools/massage-spec.d.ts +0 -10
  117. package/node_modules/@aws-cdk/cfnspec/build-tools/massage-spec.js +0 -70
  118. package/node_modules/@aws-cdk/cfnspec/build-tools/patch-set.d.ts +0 -25
  119. package/node_modules/@aws-cdk/cfnspec/build-tools/patch-set.js +0 -241
  120. package/node_modules/@aws-cdk/cfnspec/build-tools/report-issues.d.ts +0 -9
  121. package/node_modules/@aws-cdk/cfnspec/build-tools/report-issues.js +0 -72
  122. package/node_modules/@aws-cdk/cfnspec/build-tools/scrutiny.d.ts +0 -12
  123. package/node_modules/@aws-cdk/cfnspec/build-tools/scrutiny.js +0 -85
  124. package/node_modules/@aws-cdk/cfnspec/build-tools/spec-diff.d.ts +0 -1
  125. package/node_modules/@aws-cdk/cfnspec/build-tools/spec-diff.js +0 -248
  126. package/node_modules/@aws-cdk/cfnspec/build-tools/split-spec-by-service.d.ts +0 -1
  127. package/node_modules/@aws-cdk/cfnspec/build-tools/split-spec-by-service.js +0 -120
  128. package/node_modules/@aws-cdk/cfnspec/build-tools/template/LICENSE +0 -201
  129. package/node_modules/@aws-cdk/cfnspec/build-tools/template/NOTICE +0 -2
  130. package/node_modules/@aws-cdk/cfnspec/build-tools/update-cfnlint.sh +0 -18
  131. package/node_modules/@aws-cdk/cfnspec/build-tools/update-metrics.sh +0 -15
  132. package/node_modules/@aws-cdk/cfnspec/build-tools/update.sh +0 -113
  133. package/node_modules/@aws-cdk/cfnspec/build-tools/validate-cfn.d.ts +0 -67
  134. package/node_modules/@aws-cdk/cfnspec/build-tools/validate-cfn.js +0 -285
  135. package/node_modules/@aws-cdk/cfnspec/cfn.version +0 -1
  136. package/node_modules/@aws-cdk/cfnspec/lib/_private_schema/cfn-lint.d.ts +0 -24
  137. package/node_modules/@aws-cdk/cfnspec/lib/_private_schema/cfn-lint.js +0 -3
  138. package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_EC2_VPNConnection.json +0 -27
  139. package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_Lambda_Function.json +0 -27
  140. package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_RDS_DBCluster.json +0 -70
  141. package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_RDS_DBInstance.json +0 -37
  142. package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_SNS_Topic.json +0 -52
  143. package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_SQS_Queue.json +0 -53
  144. package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics/README.md +0 -168
  145. package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics/canned-metrics-schema.d.ts +0 -60
  146. package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics/canned-metrics-schema.js +0 -12
  147. package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics/services.json +0 -31957
  148. package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics.d.ts +0 -41
  149. package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics.js +0 -75
  150. package/node_modules/@aws-cdk/cfnspec/lib/index.d.ts +0 -63
  151. package/node_modules/@aws-cdk/cfnspec/lib/index.js +0 -200
  152. package/node_modules/@aws-cdk/cfnspec/lib/schema/augmentation.d.ts +0 -87
  153. package/node_modules/@aws-cdk/cfnspec/lib/schema/augmentation.js +0 -28
  154. package/node_modules/@aws-cdk/cfnspec/lib/schema/base-types.d.ts +0 -14
  155. package/node_modules/@aws-cdk/cfnspec/lib/schema/base-types.js +0 -29
  156. package/node_modules/@aws-cdk/cfnspec/lib/schema/cfn-lint.d.ts +0 -13
  157. package/node_modules/@aws-cdk/cfnspec/lib/schema/cfn-lint.js +0 -3
  158. package/node_modules/@aws-cdk/cfnspec/lib/schema/docs.d.ts +0 -20
  159. package/node_modules/@aws-cdk/cfnspec/lib/schema/docs.js +0 -3
  160. package/node_modules/@aws-cdk/cfnspec/lib/schema/index.d.ts +0 -7
  161. package/node_modules/@aws-cdk/cfnspec/lib/schema/index.js +0 -20
  162. package/node_modules/@aws-cdk/cfnspec/lib/schema/property.d.ts +0 -179
  163. package/node_modules/@aws-cdk/cfnspec/lib/schema/property.js +0 -168
  164. package/node_modules/@aws-cdk/cfnspec/lib/schema/resource-type.d.ts +0 -118
  165. package/node_modules/@aws-cdk/cfnspec/lib/schema/resource-type.js +0 -99
  166. package/node_modules/@aws-cdk/cfnspec/lib/schema/specification.d.ts +0 -56
  167. package/node_modules/@aws-cdk/cfnspec/lib/schema/specification.js +0 -11
  168. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/CHANGELOG.md +0 -902
  169. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/LICENSE +0 -15
  170. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/README.md +0 -264
  171. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/copy/copy.js +0 -232
  172. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/copy/index.js +0 -6
  173. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/copy-sync/copy-sync.js +0 -166
  174. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/copy-sync/index.js +0 -5
  175. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/empty/index.js +0 -48
  176. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/ensure/file.js +0 -69
  177. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/ensure/index.js +0 -23
  178. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/ensure/link.js +0 -61
  179. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -99
  180. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -31
  181. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/ensure/symlink.js +0 -63
  182. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/fs/index.js +0 -130
  183. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/index.js +0 -27
  184. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/json/index.js +0 -16
  185. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
  186. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
  187. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/json/output-json.js +0 -12
  188. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
  189. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -141
  190. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/move/index.js +0 -6
  191. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/move/move.js +0 -65
  192. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/move-sync/index.js +0 -5
  193. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/move-sync/move-sync.js +0 -47
  194. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/output/index.js +0 -40
  195. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/path-exists/index.js +0 -12
  196. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/remove/index.js +0 -9
  197. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/remove/rimraf.js +0 -302
  198. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/util/stat.js +0 -139
  199. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/lib/util/utimes.js +0 -26
  200. package/node_modules/@aws-cdk/cfnspec/node_modules/fs-extra/package.json +0 -70
  201. package/node_modules/@aws-cdk/cfnspec/node_modules/jsonfile/CHANGELOG.md +0 -171
  202. package/node_modules/@aws-cdk/cfnspec/node_modules/jsonfile/LICENSE +0 -15
  203. package/node_modules/@aws-cdk/cfnspec/node_modules/jsonfile/README.md +0 -230
  204. package/node_modules/@aws-cdk/cfnspec/node_modules/jsonfile/index.js +0 -88
  205. package/node_modules/@aws-cdk/cfnspec/node_modules/jsonfile/package.json +0 -40
  206. package/node_modules/@aws-cdk/cfnspec/node_modules/jsonfile/utils.js +0 -14
  207. package/node_modules/@aws-cdk/cfnspec/node_modules/universalify/LICENSE +0 -20
  208. package/node_modules/@aws-cdk/cfnspec/node_modules/universalify/README.md +0 -76
  209. package/node_modules/@aws-cdk/cfnspec/node_modules/universalify/index.js +0 -24
  210. package/node_modules/@aws-cdk/cfnspec/node_modules/universalify/package.json +0 -34
  211. package/node_modules/@aws-cdk/cfnspec/package.json +0 -63
  212. package/node_modules/@aws-cdk/cfnspec/spec/cfn-docs.json +0 -51044
  213. package/node_modules/@aws-cdk/cfnspec/spec/cfn-lint.json +0 -35
  214. package/node_modules/@aws-cdk/cfnspec/spec/specification.json +0 -148332
  215. package/node_modules/@aws-cdk/cloudformation-diff/LICENSE +0 -201
  216. package/node_modules/@aws-cdk/cloudformation-diff/NOTICE +0 -2
  217. package/node_modules/@aws-cdk/cloudformation-diff/README.md +0 -12
  218. package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/index.d.ts +0 -9
  219. package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/index.js +0 -94
  220. package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/types.d.ts +0 -326
  221. package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/types.js +0 -457
  222. package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/util.d.ts +0 -41
  223. package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/util.js +0 -165
  224. package/node_modules/@aws-cdk/cloudformation-diff/lib/diff-template.d.ts +0 -21
  225. package/node_modules/@aws-cdk/cloudformation-diff/lib/diff-template.js +0 -166
  226. package/node_modules/@aws-cdk/cloudformation-diff/lib/diffable.d.ts +0 -22
  227. package/node_modules/@aws-cdk/cloudformation-diff/lib/diffable.js +0 -47
  228. package/node_modules/@aws-cdk/cloudformation-diff/lib/format-table.d.ts +0 -6
  229. package/node_modules/@aws-cdk/cloudformation-diff/lib/format-table.js +0 -109
  230. package/node_modules/@aws-cdk/cloudformation-diff/lib/format.d.ts +0 -23
  231. package/node_modules/@aws-cdk/cloudformation-diff/lib/format.js +0 -414
  232. package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/iam-changes.d.ts +0 -62
  233. package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/iam-changes.js +0 -246
  234. package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/managed-policy.d.ts +0 -18
  235. package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/managed-policy.js +0 -29
  236. package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/statement.d.ts +0 -127
  237. package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/statement.js +0 -268
  238. package/node_modules/@aws-cdk/cloudformation-diff/lib/index.d.ts +0 -4
  239. package/node_modules/@aws-cdk/cloudformation-diff/lib/index.js +0 -18
  240. package/node_modules/@aws-cdk/cloudformation-diff/lib/network/security-group-changes.d.ts +0 -32
  241. package/node_modules/@aws-cdk/cloudformation-diff/lib/network/security-group-changes.js +0 -95
  242. package/node_modules/@aws-cdk/cloudformation-diff/lib/network/security-group-rule.d.ts +0 -50
  243. package/node_modules/@aws-cdk/cloudformation-diff/lib/network/security-group-rule.js +0 -91
  244. package/node_modules/@aws-cdk/cloudformation-diff/lib/render-intrinsics.d.ts +0 -21
  245. package/node_modules/@aws-cdk/cloudformation-diff/lib/render-intrinsics.js +0 -79
  246. package/node_modules/@aws-cdk/cloudformation-diff/lib/util.d.ts +0 -7
  247. package/node_modules/@aws-cdk/cloudformation-diff/lib/util.js +0 -63
  248. package/node_modules/@aws-cdk/cloudformation-diff/package.json +0 -60
  249. package/node_modules/ajv/.runkit_example.js +0 -23
  250. package/node_modules/ajv/LICENSE +0 -22
  251. package/node_modules/ajv/README.md +0 -207
  252. package/node_modules/ajv/dist/2019.d.ts +0 -19
  253. package/node_modules/ajv/dist/2019.js +0 -61
  254. package/node_modules/ajv/dist/2019.js.map +0 -1
  255. package/node_modules/ajv/dist/2020.d.ts +0 -19
  256. package/node_modules/ajv/dist/2020.js +0 -55
  257. package/node_modules/ajv/dist/2020.js.map +0 -1
  258. package/node_modules/ajv/dist/ajv.d.ts +0 -18
  259. package/node_modules/ajv/dist/ajv.js +0 -50
  260. package/node_modules/ajv/dist/ajv.js.map +0 -1
  261. package/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
  262. package/node_modules/ajv/dist/compile/codegen/code.js +0 -156
  263. package/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
  264. package/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
  265. package/node_modules/ajv/dist/compile/codegen/index.js +0 -697
  266. package/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
  267. package/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
  268. package/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
  269. package/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
  270. package/node_modules/ajv/dist/compile/errors.d.ts +0 -13
  271. package/node_modules/ajv/dist/compile/errors.js +0 -123
  272. package/node_modules/ajv/dist/compile/errors.js.map +0 -1
  273. package/node_modules/ajv/dist/compile/index.d.ts +0 -80
  274. package/node_modules/ajv/dist/compile/index.js +0 -242
  275. package/node_modules/ajv/dist/compile/index.js.map +0 -1
  276. package/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
  277. package/node_modules/ajv/dist/compile/jtd/parse.js +0 -350
  278. package/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
  279. package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
  280. package/node_modules/ajv/dist/compile/jtd/serialize.js +0 -229
  281. package/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
  282. package/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
  283. package/node_modules/ajv/dist/compile/jtd/types.js +0 -14
  284. package/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
  285. package/node_modules/ajv/dist/compile/names.d.ts +0 -20
  286. package/node_modules/ajv/dist/compile/names.js +0 -28
  287. package/node_modules/ajv/dist/compile/names.js.map +0 -1
  288. package/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
  289. package/node_modules/ajv/dist/compile/ref_error.js +0 -12
  290. package/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
  291. package/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
  292. package/node_modules/ajv/dist/compile/resolve.js +0 -155
  293. package/node_modules/ajv/dist/compile/resolve.js.map +0 -1
  294. package/node_modules/ajv/dist/compile/rules.d.ts +0 -28
  295. package/node_modules/ajv/dist/compile/rules.js +0 -26
  296. package/node_modules/ajv/dist/compile/rules.js.map +0 -1
  297. package/node_modules/ajv/dist/compile/util.d.ts +0 -40
  298. package/node_modules/ajv/dist/compile/util.js +0 -178
  299. package/node_modules/ajv/dist/compile/util.js.map +0 -1
  300. package/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
  301. package/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
  302. package/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
  303. package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
  304. package/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
  305. package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
  306. package/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
  307. package/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
  308. package/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
  309. package/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
  310. package/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
  311. package/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
  312. package/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
  313. package/node_modules/ajv/dist/compile/validate/index.js +0 -520
  314. package/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
  315. package/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
  316. package/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
  317. package/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
  318. package/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
  319. package/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
  320. package/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
  321. package/node_modules/ajv/dist/core.d.ts +0 -173
  322. package/node_modules/ajv/dist/core.js +0 -618
  323. package/node_modules/ajv/dist/core.js.map +0 -1
  324. package/node_modules/ajv/dist/jtd.d.ts +0 -47
  325. package/node_modules/ajv/dist/jtd.js +0 -72
  326. package/node_modules/ajv/dist/jtd.js.map +0 -1
  327. package/node_modules/ajv/dist/refs/data.json +0 -13
  328. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
  329. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +0 -28
  330. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
  331. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +0 -53
  332. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +0 -17
  333. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +0 -57
  334. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +0 -14
  335. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +0 -37
  336. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +0 -90
  337. package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +0 -39
  338. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
  339. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
  340. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
  341. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
  342. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
  343. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
  344. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  345. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  346. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  347. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
  348. package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
  349. package/node_modules/ajv/dist/refs/json-schema-draft-06.json +0 -137
  350. package/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
  351. package/node_modules/ajv/dist/refs/json-schema-secure.json +0 -88
  352. package/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
  353. package/node_modules/ajv/dist/refs/jtd-schema.js +0 -118
  354. package/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
  355. package/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
  356. package/node_modules/ajv/dist/runtime/equal.js +0 -7
  357. package/node_modules/ajv/dist/runtime/equal.js.map +0 -1
  358. package/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
  359. package/node_modules/ajv/dist/runtime/parseJson.js +0 -185
  360. package/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
  361. package/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
  362. package/node_modules/ajv/dist/runtime/quote.js +0 -30
  363. package/node_modules/ajv/dist/runtime/quote.js.map +0 -1
  364. package/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
  365. package/node_modules/ajv/dist/runtime/re2.js +0 -6
  366. package/node_modules/ajv/dist/runtime/re2.js.map +0 -1
  367. package/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
  368. package/node_modules/ajv/dist/runtime/timestamp.js +0 -42
  369. package/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
  370. package/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
  371. package/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
  372. package/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
  373. package/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
  374. package/node_modules/ajv/dist/runtime/uri.js +0 -6
  375. package/node_modules/ajv/dist/runtime/uri.js.map +0 -1
  376. package/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
  377. package/node_modules/ajv/dist/runtime/validation_error.js +0 -11
  378. package/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
  379. package/node_modules/ajv/dist/standalone/index.d.ts +0 -6
  380. package/node_modules/ajv/dist/standalone/index.js +0 -90
  381. package/node_modules/ajv/dist/standalone/index.js.map +0 -1
  382. package/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
  383. package/node_modules/ajv/dist/standalone/instance.js +0 -35
  384. package/node_modules/ajv/dist/standalone/instance.js.map +0 -1
  385. package/node_modules/ajv/dist/types/index.d.ts +0 -183
  386. package/node_modules/ajv/dist/types/index.js +0 -3
  387. package/node_modules/ajv/dist/types/index.js.map +0 -1
  388. package/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
  389. package/node_modules/ajv/dist/types/json-schema.js +0 -3
  390. package/node_modules/ajv/dist/types/json-schema.js.map +0 -1
  391. package/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
  392. package/node_modules/ajv/dist/types/jtd-schema.js +0 -3
  393. package/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
  394. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
  395. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
  396. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
  397. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
  398. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
  399. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
  400. package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
  401. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
  402. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
  403. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
  404. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
  405. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
  406. package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
  407. package/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
  408. package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
  409. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
  410. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
  411. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
  412. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
  413. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
  414. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
  415. package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
  416. package/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
  417. package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
  418. package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
  419. package/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
  420. package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
  421. package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
  422. package/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
  423. package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
  424. package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
  425. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
  426. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
  427. package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
  428. package/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
  429. package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
  430. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
  431. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
  432. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
  433. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
  434. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
  435. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
  436. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
  437. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
  438. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
  439. package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
  440. package/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
  441. package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
  442. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
  443. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
  444. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
  445. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
  446. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
  447. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
  448. package/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
  449. package/node_modules/ajv/dist/vocabularies/code.js +0 -131
  450. package/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
  451. package/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
  452. package/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
  453. package/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
  454. package/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
  455. package/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
  456. package/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
  457. package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
  458. package/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
  459. package/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
  460. package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
  461. package/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
  462. package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
  463. package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
  464. package/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
  465. package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
  466. package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
  467. package/node_modules/ajv/dist/vocabularies/draft2020.js +0 -23
  468. package/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
  469. package/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
  470. package/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
  471. package/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
  472. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
  473. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
  474. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
  475. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
  476. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
  477. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
  478. package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
  479. package/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
  480. package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
  481. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
  482. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
  483. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
  484. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
  485. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
  486. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
  487. package/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
  488. package/node_modules/ajv/dist/vocabularies/errors.js +0 -3
  489. package/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
  490. package/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
  491. package/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
  492. package/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
  493. package/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
  494. package/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
  495. package/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
  496. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
  497. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +0 -71
  498. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
  499. package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
  500. package/node_modules/ajv/dist/vocabularies/jtd/elements.js +0 -24
  501. package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
  502. package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
  503. package/node_modules/ajv/dist/vocabularies/jtd/enum.js +0 -43
  504. package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
  505. package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
  506. package/node_modules/ajv/dist/vocabularies/jtd/error.js +0 -20
  507. package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
  508. package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
  509. package/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -29
  510. package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
  511. package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
  512. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +0 -25
  513. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
  514. package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
  515. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +0 -22
  516. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
  517. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
  518. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +0 -15
  519. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
  520. package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
  521. package/node_modules/ajv/dist/vocabularies/jtd/properties.js +0 -149
  522. package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
  523. package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
  524. package/node_modules/ajv/dist/vocabularies/jtd/ref.js +0 -67
  525. package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
  526. package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
  527. package/node_modules/ajv/dist/vocabularies/jtd/type.js +0 -69
  528. package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
  529. package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
  530. package/node_modules/ajv/dist/vocabularies/jtd/union.js +0 -12
  531. package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
  532. package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
  533. package/node_modules/ajv/dist/vocabularies/jtd/values.js +0 -51
  534. package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
  535. package/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
  536. package/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
  537. package/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
  538. package/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
  539. package/node_modules/ajv/dist/vocabularies/next.js +0 -8
  540. package/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
  541. package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
  542. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
  543. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
  544. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
  545. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
  546. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
  547. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
  548. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
  549. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
  550. package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
  551. package/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
  552. package/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
  553. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
  554. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
  555. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
  556. package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
  557. package/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
  558. package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
  559. package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
  560. package/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
  561. package/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
  562. package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
  563. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
  564. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
  565. package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
  566. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
  567. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
  568. package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
  569. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
  570. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
  571. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
  572. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
  573. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
  574. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
  575. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
  576. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
  577. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
  578. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
  579. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
  580. package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
  581. package/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -24
  582. package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
  583. package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
  584. package/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
  585. package/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
  586. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
  587. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
  588. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
  589. package/node_modules/ajv/lib/2019.ts +0 -81
  590. package/node_modules/ajv/lib/2020.ts +0 -75
  591. package/node_modules/ajv/lib/ajv.ts +0 -70
  592. package/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
  593. package/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
  594. package/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
  595. package/node_modules/ajv/lib/compile/errors.ts +0 -184
  596. package/node_modules/ajv/lib/compile/index.ts +0 -324
  597. package/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
  598. package/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -266
  599. package/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
  600. package/node_modules/ajv/lib/compile/names.ts +0 -27
  601. package/node_modules/ajv/lib/compile/ref_error.ts +0 -13
  602. package/node_modules/ajv/lib/compile/resolve.ts +0 -149
  603. package/node_modules/ajv/lib/compile/rules.ts +0 -50
  604. package/node_modules/ajv/lib/compile/util.ts +0 -213
  605. package/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
  606. package/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
  607. package/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
  608. package/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
  609. package/node_modules/ajv/lib/compile/validate/index.ts +0 -582
  610. package/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
  611. package/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
  612. package/node_modules/ajv/lib/core.ts +0 -891
  613. package/node_modules/ajv/lib/jtd.ts +0 -132
  614. package/node_modules/ajv/lib/refs/data.json +0 -13
  615. package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
  616. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +0 -53
  617. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +0 -17
  618. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +0 -57
  619. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +0 -14
  620. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +0 -37
  621. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +0 -90
  622. package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +0 -39
  623. package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
  624. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +0 -48
  625. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +0 -17
  626. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +0 -51
  627. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  628. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  629. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  630. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +0 -90
  631. package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +0 -55
  632. package/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -137
  633. package/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -151
  634. package/node_modules/ajv/lib/refs/json-schema-secure.json +0 -88
  635. package/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
  636. package/node_modules/ajv/lib/runtime/equal.ts +0 -7
  637. package/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
  638. package/node_modules/ajv/lib/runtime/quote.ts +0 -31
  639. package/node_modules/ajv/lib/runtime/re2.ts +0 -6
  640. package/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
  641. package/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
  642. package/node_modules/ajv/lib/runtime/uri.ts +0 -6
  643. package/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
  644. package/node_modules/ajv/lib/standalone/index.ts +0 -100
  645. package/node_modules/ajv/lib/standalone/instance.ts +0 -36
  646. package/node_modules/ajv/lib/types/index.ts +0 -244
  647. package/node_modules/ajv/lib/types/json-schema.ts +0 -187
  648. package/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
  649. package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
  650. package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
  651. package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
  652. package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
  653. package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
  654. package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
  655. package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
  656. package/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
  657. package/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
  658. package/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
  659. package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
  660. package/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
  661. package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
  662. package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
  663. package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
  664. package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
  665. package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
  666. package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
  667. package/node_modules/ajv/lib/vocabularies/code.ts +0 -168
  668. package/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
  669. package/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
  670. package/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
  671. package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
  672. package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
  673. package/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
  674. package/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
  675. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
  676. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
  677. package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
  678. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
  679. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
  680. package/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
  681. package/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
  682. package/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
  683. package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
  684. package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
  685. package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
  686. package/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
  687. package/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
  688. package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
  689. package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
  690. package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
  691. package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
  692. package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
  693. package/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
  694. package/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
  695. package/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
  696. package/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
  697. package/node_modules/ajv/lib/vocabularies/next.ts +0 -8
  698. package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
  699. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
  700. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
  701. package/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
  702. package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
  703. package/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
  704. package/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
  705. package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
  706. package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
  707. package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
  708. package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
  709. package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
  710. package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
  711. package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -28
  712. package/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
  713. package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
  714. package/node_modules/ajv/package.json +0 -126
  715. package/node_modules/ansi-regex/index.d.ts +0 -37
  716. package/node_modules/ansi-regex/index.js +0 -10
  717. package/node_modules/ansi-regex/license +0 -9
  718. package/node_modules/ansi-regex/package.json +0 -55
  719. package/node_modules/ansi-regex/readme.md +0 -78
  720. package/node_modules/ansi-styles/index.d.ts +0 -345
  721. package/node_modules/ansi-styles/index.js +0 -163
  722. package/node_modules/ansi-styles/license +0 -9
  723. package/node_modules/ansi-styles/package.json +0 -56
  724. package/node_modules/ansi-styles/readme.md +0 -152
  725. package/node_modules/astral-regex/index.d.ts +0 -28
  726. package/node_modules/astral-regex/index.js +0 -6
  727. package/node_modules/astral-regex/license +0 -9
  728. package/node_modules/astral-regex/package.json +0 -33
  729. package/node_modules/astral-regex/readme.md +0 -46
  730. package/node_modules/at-least-node/LICENSE +0 -6
  731. package/node_modules/at-least-node/README.md +0 -25
  732. package/node_modules/at-least-node/index.js +0 -5
  733. package/node_modules/at-least-node/package.json +0 -32
  734. package/node_modules/chalk/index.d.ts +0 -415
  735. package/node_modules/chalk/license +0 -9
  736. package/node_modules/chalk/package.json +0 -68
  737. package/node_modules/chalk/readme.md +0 -341
  738. package/node_modules/chalk/source/index.js +0 -229
  739. package/node_modules/chalk/source/templates.js +0 -134
  740. package/node_modules/chalk/source/util.js +0 -39
  741. package/node_modules/color-convert/CHANGELOG.md +0 -54
  742. package/node_modules/color-convert/LICENSE +0 -21
  743. package/node_modules/color-convert/README.md +0 -68
  744. package/node_modules/color-convert/conversions.js +0 -839
  745. package/node_modules/color-convert/index.js +0 -81
  746. package/node_modules/color-convert/package.json +0 -48
  747. package/node_modules/color-convert/route.js +0 -97
  748. package/node_modules/color-name/LICENSE +0 -8
  749. package/node_modules/color-name/README.md +0 -11
  750. package/node_modules/color-name/index.js +0 -152
  751. package/node_modules/color-name/package.json +0 -28
  752. package/node_modules/diff/CONTRIBUTING.md +0 -36
  753. package/node_modules/diff/LICENSE +0 -29
  754. package/node_modules/diff/README.md +0 -339
  755. package/node_modules/diff/dist/diff.js +0 -1730
  756. package/node_modules/diff/dist/diff.min.js +0 -1
  757. package/node_modules/diff/lib/convert/dmp.js +0 -32
  758. package/node_modules/diff/lib/convert/xml.js +0 -42
  759. package/node_modules/diff/lib/diff/array.js +0 -45
  760. package/node_modules/diff/lib/diff/base.js +0 -358
  761. package/node_modules/diff/lib/diff/character.js +0 -37
  762. package/node_modules/diff/lib/diff/css.js +0 -41
  763. package/node_modules/diff/lib/diff/json.js +0 -163
  764. package/node_modules/diff/lib/diff/line.js +0 -94
  765. package/node_modules/diff/lib/diff/sentence.js +0 -41
  766. package/node_modules/diff/lib/diff/word.js +0 -108
  767. package/node_modules/diff/lib/index.es6.js +0 -1699
  768. package/node_modules/diff/lib/index.js +0 -234
  769. package/node_modules/diff/lib/index.mjs +0 -1699
  770. package/node_modules/diff/lib/patch/apply.js +0 -238
  771. package/node_modules/diff/lib/patch/create.js +0 -276
  772. package/node_modules/diff/lib/patch/merge.js +0 -613
  773. package/node_modules/diff/lib/patch/parse.js +0 -167
  774. package/node_modules/diff/lib/patch/reverse.js +0 -63
  775. package/node_modules/diff/lib/util/array.js +0 -32
  776. package/node_modules/diff/lib/util/distance-iterator.js +0 -57
  777. package/node_modules/diff/lib/util/params.js +0 -24
  778. package/node_modules/diff/package.json +0 -89
  779. package/node_modules/diff/release-notes.md +0 -317
  780. package/node_modules/diff/runtime.js +0 -3
  781. package/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  782. package/node_modules/emoji-regex/README.md +0 -73
  783. package/node_modules/emoji-regex/es2015/index.js +0 -6
  784. package/node_modules/emoji-regex/es2015/text.js +0 -6
  785. package/node_modules/emoji-regex/index.d.ts +0 -23
  786. package/node_modules/emoji-regex/index.js +0 -6
  787. package/node_modules/emoji-regex/package.json +0 -50
  788. package/node_modules/emoji-regex/text.js +0 -6
  789. package/node_modules/fast-deep-equal/LICENSE +0 -21
  790. package/node_modules/fast-deep-equal/README.md +0 -96
  791. package/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
  792. package/node_modules/fast-deep-equal/es6/index.js +0 -72
  793. package/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
  794. package/node_modules/fast-deep-equal/es6/react.js +0 -79
  795. package/node_modules/fast-deep-equal/index.d.ts +0 -4
  796. package/node_modules/fast-deep-equal/index.js +0 -46
  797. package/node_modules/fast-deep-equal/package.json +0 -61
  798. package/node_modules/fast-deep-equal/react.d.ts +0 -2
  799. package/node_modules/fast-deep-equal/react.js +0 -53
  800. package/node_modules/fast-uri/.gitattributes +0 -2
  801. package/node_modules/fast-uri/.github/.stale.yml +0 -21
  802. package/node_modules/fast-uri/.github/dependabot.yml +0 -13
  803. package/node_modules/fast-uri/.github/tests_checker.yml +0 -8
  804. package/node_modules/fast-uri/.github/workflows/ci.yml +0 -23
  805. package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -20
  806. package/node_modules/fast-uri/LICENSE +0 -30
  807. package/node_modules/fast-uri/README.md +0 -125
  808. package/node_modules/fast-uri/benchmark.js +0 -105
  809. package/node_modules/fast-uri/index.js +0 -303
  810. package/node_modules/fast-uri/lib/schemes.js +0 -188
  811. package/node_modules/fast-uri/lib/scopedChars.js +0 -30
  812. package/node_modules/fast-uri/lib/utils.js +0 -242
  813. package/node_modules/fast-uri/package.json +0 -39
  814. package/node_modules/fast-uri/test/.gitkeep +0 -0
  815. package/node_modules/fast-uri/test/ajv.test.js +0 -39
  816. package/node_modules/fast-uri/test/compatibility.test.js +0 -131
  817. package/node_modules/fast-uri/test/equal.test.js +0 -103
  818. package/node_modules/fast-uri/test/parse.test.js +0 -318
  819. package/node_modules/fast-uri/test/resolve.test.js +0 -75
  820. package/node_modules/fast-uri/test/serialize.test.js +0 -143
  821. package/node_modules/fast-uri/test/uri-js.test.js +0 -912
  822. package/node_modules/fast-uri/test/util.test.js +0 -23
  823. package/node_modules/fast-uri/types/index.d.ts +0 -53
  824. package/node_modules/fast-uri/types/index.test-d.ts +0 -17
  825. package/node_modules/graphql-mapping-template/LICENSE +0 -201
  826. package/node_modules/graphql-transformer-common/LICENSE +0 -201
  827. package/node_modules/has-flag/index.d.ts +0 -39
  828. package/node_modules/has-flag/index.js +0 -8
  829. package/node_modules/has-flag/license +0 -9
  830. package/node_modules/has-flag/package.json +0 -46
  831. package/node_modules/has-flag/readme.md +0 -89
  832. package/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  833. package/node_modules/is-fullwidth-code-point/index.js +0 -50
  834. package/node_modules/is-fullwidth-code-point/license +0 -9
  835. package/node_modules/is-fullwidth-code-point/package.json +0 -42
  836. package/node_modules/is-fullwidth-code-point/readme.md +0 -39
  837. package/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
  838. package/node_modules/json-schema-traverse/.github/FUNDING.yml +0 -2
  839. package/node_modules/json-schema-traverse/.github/workflows/build.yml +0 -28
  840. package/node_modules/json-schema-traverse/.github/workflows/publish.yml +0 -27
  841. package/node_modules/json-schema-traverse/LICENSE +0 -21
  842. package/node_modules/json-schema-traverse/README.md +0 -95
  843. package/node_modules/json-schema-traverse/index.d.ts +0 -40
  844. package/node_modules/json-schema-traverse/index.js +0 -93
  845. package/node_modules/json-schema-traverse/package.json +0 -43
  846. package/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
  847. package/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
  848. package/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
  849. package/node_modules/lodash.truncate/LICENSE +0 -47
  850. package/node_modules/lodash.truncate/README.md +0 -18
  851. package/node_modules/lodash.truncate/index.js +0 -632
  852. package/node_modules/lodash.truncate/package.json +0 -17
  853. package/node_modules/require-from-string/index.js +0 -34
  854. package/node_modules/require-from-string/license +0 -21
  855. package/node_modules/require-from-string/package.json +0 -28
  856. package/node_modules/require-from-string/readme.md +0 -56
  857. package/node_modules/slice-ansi/index.js +0 -103
  858. package/node_modules/slice-ansi/license +0 -10
  859. package/node_modules/slice-ansi/package.json +0 -52
  860. package/node_modules/slice-ansi/readme.md +0 -66
  861. package/node_modules/string-width/index.d.ts +0 -29
  862. package/node_modules/string-width/index.js +0 -47
  863. package/node_modules/string-width/license +0 -9
  864. package/node_modules/string-width/package.json +0 -56
  865. package/node_modules/string-width/readme.md +0 -50
  866. package/node_modules/strip-ansi/index.d.ts +0 -17
  867. package/node_modules/strip-ansi/index.js +0 -4
  868. package/node_modules/strip-ansi/license +0 -9
  869. package/node_modules/strip-ansi/package.json +0 -54
  870. package/node_modules/strip-ansi/readme.md +0 -46
  871. package/node_modules/supports-color/browser.js +0 -5
  872. package/node_modules/supports-color/index.js +0 -135
  873. package/node_modules/supports-color/license +0 -9
  874. package/node_modules/supports-color/package.json +0 -53
  875. package/node_modules/supports-color/readme.md +0 -76
  876. package/node_modules/table/LICENSE +0 -24
  877. package/node_modules/table/README.md +0 -837
  878. package/node_modules/table/dist/src/alignSpanningCell.d.ts +0 -7
  879. package/node_modules/table/dist/src/alignSpanningCell.js +0 -48
  880. package/node_modules/table/dist/src/alignSpanningCell.js.map +0 -1
  881. package/node_modules/table/dist/src/alignString.d.ts +0 -6
  882. package/node_modules/table/dist/src/alignString.js +0 -60
  883. package/node_modules/table/dist/src/alignString.js.map +0 -1
  884. package/node_modules/table/dist/src/alignTableData.d.ts +0 -2
  885. package/node_modules/table/dist/src/alignTableData.js +0 -20
  886. package/node_modules/table/dist/src/alignTableData.js.map +0 -1
  887. package/node_modules/table/dist/src/calculateCellHeight.d.ts +0 -4
  888. package/node_modules/table/dist/src/calculateCellHeight.js +0 -12
  889. package/node_modules/table/dist/src/calculateCellHeight.js.map +0 -1
  890. package/node_modules/table/dist/src/calculateMaximumColumnWidths.d.ts +0 -7
  891. package/node_modules/table/dist/src/calculateMaximumColumnWidths.js +0 -36
  892. package/node_modules/table/dist/src/calculateMaximumColumnWidths.js.map +0 -1
  893. package/node_modules/table/dist/src/calculateOutputColumnWidths.d.ts +0 -2
  894. package/node_modules/table/dist/src/calculateOutputColumnWidths.js +0 -10
  895. package/node_modules/table/dist/src/calculateOutputColumnWidths.js.map +0 -1
  896. package/node_modules/table/dist/src/calculateRowHeights.d.ts +0 -5
  897. package/node_modules/table/dist/src/calculateRowHeights.js +0 -42
  898. package/node_modules/table/dist/src/calculateRowHeights.js.map +0 -1
  899. package/node_modules/table/dist/src/calculateSpanningCellWidth.d.ts +0 -3
  900. package/node_modules/table/dist/src/calculateSpanningCellWidth.js +0 -26
  901. package/node_modules/table/dist/src/calculateSpanningCellWidth.js.map +0 -1
  902. package/node_modules/table/dist/src/createStream.d.ts +0 -2
  903. package/node_modules/table/dist/src/createStream.js +0 -74
  904. package/node_modules/table/dist/src/createStream.js.map +0 -1
  905. package/node_modules/table/dist/src/drawBorder.d.ts +0 -34
  906. package/node_modules/table/dist/src/drawBorder.js +0 -202
  907. package/node_modules/table/dist/src/drawBorder.js.map +0 -1
  908. package/node_modules/table/dist/src/drawContent.d.ts +0 -14
  909. package/node_modules/table/dist/src/drawContent.js +0 -51
  910. package/node_modules/table/dist/src/drawContent.js.map +0 -1
  911. package/node_modules/table/dist/src/drawRow.d.ts +0 -10
  912. package/node_modules/table/dist/src/drawRow.js +0 -25
  913. package/node_modules/table/dist/src/drawRow.js.map +0 -1
  914. package/node_modules/table/dist/src/drawTable.d.ts +0 -2
  915. package/node_modules/table/dist/src/drawTable.js +0 -31
  916. package/node_modules/table/dist/src/drawTable.js.map +0 -1
  917. package/node_modules/table/dist/src/generated/validators.d.ts +0 -13
  918. package/node_modules/table/dist/src/generated/validators.js +0 -2694
  919. package/node_modules/table/dist/src/generated/validators.js.map +0 -1
  920. package/node_modules/table/dist/src/getBorderCharacters.d.ts +0 -2
  921. package/node_modules/table/dist/src/getBorderCharacters.js +0 -105
  922. package/node_modules/table/dist/src/getBorderCharacters.js.map +0 -1
  923. package/node_modules/table/dist/src/index.d.ts +0 -5
  924. package/node_modules/table/dist/src/index.js +0 -21
  925. package/node_modules/table/dist/src/index.js.map +0 -1
  926. package/node_modules/table/dist/src/injectHeaderConfig.d.ts +0 -3
  927. package/node_modules/table/dist/src/injectHeaderConfig.js +0 -29
  928. package/node_modules/table/dist/src/injectHeaderConfig.js.map +0 -1
  929. package/node_modules/table/dist/src/makeRangeConfig.d.ts +0 -3
  930. package/node_modules/table/dist/src/makeRangeConfig.js +0 -18
  931. package/node_modules/table/dist/src/makeRangeConfig.js.map +0 -1
  932. package/node_modules/table/dist/src/makeStreamConfig.d.ts +0 -7
  933. package/node_modules/table/dist/src/makeStreamConfig.js +0 -43
  934. package/node_modules/table/dist/src/makeStreamConfig.js.map +0 -1
  935. package/node_modules/table/dist/src/makeTableConfig.d.ts +0 -7
  936. package/node_modules/table/dist/src/makeTableConfig.js +0 -62
  937. package/node_modules/table/dist/src/makeTableConfig.js.map +0 -1
  938. package/node_modules/table/dist/src/mapDataUsingRowHeights.d.ts +0 -4
  939. package/node_modules/table/dist/src/mapDataUsingRowHeights.js +0 -52
  940. package/node_modules/table/dist/src/mapDataUsingRowHeights.js.map +0 -1
  941. package/node_modules/table/dist/src/padTableData.d.ts +0 -3
  942. package/node_modules/table/dist/src/padTableData.js +0 -23
  943. package/node_modules/table/dist/src/padTableData.js.map +0 -1
  944. package/node_modules/table/dist/src/schemas/config.json +0 -95
  945. package/node_modules/table/dist/src/schemas/shared.json +0 -139
  946. package/node_modules/table/dist/src/schemas/streamConfig.json +0 -25
  947. package/node_modules/table/dist/src/spanningCellManager.d.ts +0 -23
  948. package/node_modules/table/dist/src/spanningCellManager.js +0 -95
  949. package/node_modules/table/dist/src/spanningCellManager.js.map +0 -1
  950. package/node_modules/table/dist/src/stringifyTableData.d.ts +0 -2
  951. package/node_modules/table/dist/src/stringifyTableData.js +0 -13
  952. package/node_modules/table/dist/src/stringifyTableData.js.map +0 -1
  953. package/node_modules/table/dist/src/table.d.ts +0 -2
  954. package/node_modules/table/dist/src/table.js +0 -32
  955. package/node_modules/table/dist/src/table.js.map +0 -1
  956. package/node_modules/table/dist/src/truncateTableData.d.ts +0 -6
  957. package/node_modules/table/dist/src/truncateTableData.js +0 -24
  958. package/node_modules/table/dist/src/truncateTableData.js.map +0 -1
  959. package/node_modules/table/dist/src/types/api.d.ts +0 -130
  960. package/node_modules/table/dist/src/types/api.js +0 -3
  961. package/node_modules/table/dist/src/types/api.js.map +0 -1
  962. package/node_modules/table/dist/src/types/internal.d.ts +0 -1
  963. package/node_modules/table/dist/src/types/internal.js +0 -3
  964. package/node_modules/table/dist/src/types/internal.js.map +0 -1
  965. package/node_modules/table/dist/src/utils.d.ts +0 -9
  966. package/node_modules/table/dist/src/utils.js +0 -134
  967. package/node_modules/table/dist/src/utils.js.map +0 -1
  968. package/node_modules/table/dist/src/validateConfig.d.ts +0 -2
  969. package/node_modules/table/dist/src/validateConfig.js +0 -27
  970. package/node_modules/table/dist/src/validateConfig.js.map +0 -1
  971. package/node_modules/table/dist/src/validateSpanningCellConfig.d.ts +0 -3
  972. package/node_modules/table/dist/src/validateSpanningCellConfig.js +0 -46
  973. package/node_modules/table/dist/src/validateSpanningCellConfig.js.map +0 -1
  974. package/node_modules/table/dist/src/validateTableData.d.ts +0 -1
  975. package/node_modules/table/dist/src/validateTableData.js +0 -32
  976. package/node_modules/table/dist/src/validateTableData.js.map +0 -1
  977. package/node_modules/table/dist/src/wrapCell.d.ts +0 -8
  978. package/node_modules/table/dist/src/wrapCell.js +0 -33
  979. package/node_modules/table/dist/src/wrapCell.js.map +0 -1
  980. package/node_modules/table/dist/src/wrapString.d.ts +0 -9
  981. package/node_modules/table/dist/src/wrapString.js +0 -27
  982. package/node_modules/table/dist/src/wrapString.js.map +0 -1
  983. package/node_modules/table/dist/src/wrapWord.d.ts +0 -1
  984. package/node_modules/table/dist/src/wrapWord.js +0 -42
  985. package/node_modules/table/dist/src/wrapWord.js.map +0 -1
  986. package/node_modules/table/package.json +0 -77
@@ -1,15 +0,0 @@
1
- (The MIT License)
2
-
3
- Copyright (c) 2011-2017 JP Richardson
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
6
- (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
7
- merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
8
- furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11
-
12
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
13
- WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
14
- OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
15
- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,264 +0,0 @@
1
- Node.js: fs-extra
2
- =================
3
-
4
- `fs-extra` adds file system methods that aren't included in the native `fs` module and adds promise support to the `fs` methods. It also uses [`graceful-fs`](https://github.com/isaacs/node-graceful-fs) to prevent `EMFILE` errors. It should be a drop in replacement for `fs`.
5
-
6
- [![npm Package](https://img.shields.io/npm/v/fs-extra.svg)](https://www.npmjs.org/package/fs-extra)
7
- [![License](https://img.shields.io/npm/l/express.svg)](https://github.com/jprichardson/node-fs-extra/blob/master/LICENSE)
8
- [![build status](https://img.shields.io/travis/jprichardson/node-fs-extra/master.svg)](http://travis-ci.org/jprichardson/node-fs-extra)
9
- [![windows Build status](https://img.shields.io/appveyor/ci/jprichardson/node-fs-extra/master.svg?label=windows%20build)](https://ci.appveyor.com/project/jprichardson/node-fs-extra/branch/master)
10
- [![downloads per month](http://img.shields.io/npm/dm/fs-extra.svg)](https://www.npmjs.org/package/fs-extra)
11
- [![Coverage Status](https://img.shields.io/coveralls/github/jprichardson/node-fs-extra/master.svg)](https://coveralls.io/github/jprichardson/node-fs-extra)
12
- [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
13
-
14
- Why?
15
- ----
16
-
17
- I got tired of including `mkdirp`, `rimraf`, and `ncp` in most of my projects.
18
-
19
-
20
-
21
-
22
- Installation
23
- ------------
24
-
25
- npm install fs-extra
26
-
27
-
28
-
29
- Usage
30
- -----
31
-
32
- `fs-extra` is a drop in replacement for native `fs`. All methods in `fs` are attached to `fs-extra`. All `fs` methods return promises if the callback isn't passed.
33
-
34
- You don't ever need to include the original `fs` module again:
35
-
36
- ```js
37
- const fs = require('fs') // this is no longer necessary
38
- ```
39
-
40
- you can now do this:
41
-
42
- ```js
43
- const fs = require('fs-extra')
44
- ```
45
-
46
- or if you prefer to make it clear that you're using `fs-extra` and not `fs`, you may want
47
- to name your `fs` variable `fse` like so:
48
-
49
- ```js
50
- const fse = require('fs-extra')
51
- ```
52
-
53
- you can also keep both, but it's redundant:
54
-
55
- ```js
56
- const fs = require('fs')
57
- const fse = require('fs-extra')
58
- ```
59
-
60
- Sync vs Async vs Async/Await
61
- -------------
62
- Most methods are async by default. All async methods will return a promise if the callback isn't passed.
63
-
64
- Sync methods on the other hand will throw if an error occurs.
65
-
66
- Also Async/Await will throw an error if one occurs.
67
-
68
- Example:
69
-
70
- ```js
71
- const fs = require('fs-extra')
72
-
73
- // Async with promises:
74
- fs.copy('/tmp/myfile', '/tmp/mynewfile')
75
- .then(() => console.log('success!'))
76
- .catch(err => console.error(err))
77
-
78
- // Async with callbacks:
79
- fs.copy('/tmp/myfile', '/tmp/mynewfile', err => {
80
- if (err) return console.error(err)
81
- console.log('success!')
82
- })
83
-
84
- // Sync:
85
- try {
86
- fs.copySync('/tmp/myfile', '/tmp/mynewfile')
87
- console.log('success!')
88
- } catch (err) {
89
- console.error(err)
90
- }
91
-
92
- // Async/Await:
93
- async function copyFiles () {
94
- try {
95
- await fs.copy('/tmp/myfile', '/tmp/mynewfile')
96
- console.log('success!')
97
- } catch (err) {
98
- console.error(err)
99
- }
100
- }
101
-
102
- copyFiles()
103
- ```
104
-
105
-
106
- Methods
107
- -------
108
-
109
- ### Async
110
-
111
- - [copy](docs/copy.md)
112
- - [emptyDir](docs/emptyDir.md)
113
- - [ensureFile](docs/ensureFile.md)
114
- - [ensureDir](docs/ensureDir.md)
115
- - [ensureLink](docs/ensureLink.md)
116
- - [ensureSymlink](docs/ensureSymlink.md)
117
- - [mkdirp](docs/ensureDir.md)
118
- - [mkdirs](docs/ensureDir.md)
119
- - [move](docs/move.md)
120
- - [outputFile](docs/outputFile.md)
121
- - [outputJson](docs/outputJson.md)
122
- - [pathExists](docs/pathExists.md)
123
- - [readJson](docs/readJson.md)
124
- - [remove](docs/remove.md)
125
- - [writeJson](docs/writeJson.md)
126
-
127
- ### Sync
128
-
129
- - [copySync](docs/copy-sync.md)
130
- - [emptyDirSync](docs/emptyDir-sync.md)
131
- - [ensureFileSync](docs/ensureFile-sync.md)
132
- - [ensureDirSync](docs/ensureDir-sync.md)
133
- - [ensureLinkSync](docs/ensureLink-sync.md)
134
- - [ensureSymlinkSync](docs/ensureSymlink-sync.md)
135
- - [mkdirpSync](docs/ensureDir-sync.md)
136
- - [mkdirsSync](docs/ensureDir-sync.md)
137
- - [moveSync](docs/move-sync.md)
138
- - [outputFileSync](docs/outputFile-sync.md)
139
- - [outputJsonSync](docs/outputJson-sync.md)
140
- - [pathExistsSync](docs/pathExists-sync.md)
141
- - [readJsonSync](docs/readJson-sync.md)
142
- - [removeSync](docs/remove-sync.md)
143
- - [writeJsonSync](docs/writeJson-sync.md)
144
-
145
-
146
- **NOTE:** You can still use the native Node.js methods. They are promisified and copied over to `fs-extra`. See [notes on `fs.read()`, `fs.write()`, & `fs.writev()`](docs/fs-read-write-writev.md)
147
-
148
- ### What happened to `walk()` and `walkSync()`?
149
-
150
- They were removed from `fs-extra` in v2.0.0. If you need the functionality, `walk` and `walkSync` are available as separate packages, [`klaw`](https://github.com/jprichardson/node-klaw) and [`klaw-sync`](https://github.com/manidlou/node-klaw-sync).
151
-
152
-
153
- Third Party
154
- -----------
155
-
156
- ### CLI
157
-
158
- [fse-cli](https://www.npmjs.com/package/@atao60/fse-cli) allows you to run `fs-extra` from a console or from [npm](https://www.npmjs.com) scripts.
159
-
160
- ### TypeScript
161
-
162
- If you like TypeScript, you can use `fs-extra` with it: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fs-extra
163
-
164
-
165
- ### File / Directory Watching
166
-
167
- If you want to watch for changes to files or directories, then you should use [chokidar](https://github.com/paulmillr/chokidar).
168
-
169
- ### Obtain Filesystem (Devices, Partitions) Information
170
-
171
- [fs-filesystem](https://github.com/arthurintelligence/node-fs-filesystem) allows you to read the state of the filesystem of the host on which it is run. It returns information about both the devices and the partitions (volumes) of the system.
172
-
173
- ### Misc.
174
-
175
- - [fs-extra-debug](https://github.com/jdxcode/fs-extra-debug) - Send your fs-extra calls to [debug](https://npmjs.org/package/debug).
176
- - [mfs](https://github.com/cadorn/mfs) - Monitor your fs-extra calls.
177
-
178
-
179
-
180
- Hacking on fs-extra
181
- -------------------
182
-
183
- Wanna hack on `fs-extra`? Great! Your help is needed! [fs-extra is one of the most depended upon Node.js packages](http://nodei.co/npm/fs-extra.png?downloads=true&downloadRank=true&stars=true). This project
184
- uses [JavaScript Standard Style](https://github.com/feross/standard) - if the name or style choices bother you,
185
- you're gonna have to get over it :) If `standard` is good enough for `npm`, it's good enough for `fs-extra`.
186
-
187
- [![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
188
-
189
- What's needed?
190
- - First, take a look at existing issues. Those are probably going to be where the priority lies.
191
- - More tests for edge cases. Specifically on different platforms. There can never be enough tests.
192
- - Improve test coverage. See coveralls output for more info.
193
-
194
- Note: If you make any big changes, **you should definitely file an issue for discussion first.**
195
-
196
- ### Running the Test Suite
197
-
198
- fs-extra contains hundreds of tests.
199
-
200
- - `npm run lint`: runs the linter ([standard](http://standardjs.com/))
201
- - `npm run unit`: runs the unit tests
202
- - `npm test`: runs both the linter and the tests
203
-
204
-
205
- ### Windows
206
-
207
- If you run the tests on the Windows and receive a lot of symbolic link `EPERM` permission errors, it's
208
- because on Windows you need elevated privilege to create symbolic links. You can add this to your Windows's
209
- account by following the instructions here: http://superuser.com/questions/104845/permission-to-make-symbolic-links-in-windows-7
210
- However, I didn't have much luck doing this.
211
-
212
- Since I develop on Mac OS X, I use VMWare Fusion for Windows testing. I create a shared folder that I map to a drive on Windows.
213
- I open the `Node.js command prompt` and run as `Administrator`. I then map the network drive running the following command:
214
-
215
- net use z: "\\vmware-host\Shared Folders"
216
-
217
- I can then navigate to my `fs-extra` directory and run the tests.
218
-
219
-
220
- Naming
221
- ------
222
-
223
- I put a lot of thought into the naming of these functions. Inspired by @coolaj86's request. So he deserves much of the credit for raising the issue. See discussion(s) here:
224
-
225
- * https://github.com/jprichardson/node-fs-extra/issues/2
226
- * https://github.com/flatiron/utile/issues/11
227
- * https://github.com/ryanmcgrath/wrench-js/issues/29
228
- * https://github.com/substack/node-mkdirp/issues/17
229
-
230
- First, I believe that in as many cases as possible, the [Node.js naming schemes](http://nodejs.org/api/fs.html) should be chosen. However, there are problems with the Node.js own naming schemes.
231
-
232
- For example, `fs.readFile()` and `fs.readdir()`: the **F** is capitalized in *File* and the **d** is not capitalized in *dir*. Perhaps a bit pedantic, but they should still be consistent. Also, Node.js has chosen a lot of POSIX naming schemes, which I believe is great. See: `fs.mkdir()`, `fs.rmdir()`, `fs.chown()`, etc.
233
-
234
- We have a dilemma though. How do you consistently name methods that perform the following POSIX commands: `cp`, `cp -r`, `mkdir -p`, and `rm -rf`?
235
-
236
- My perspective: when in doubt, err on the side of simplicity. A directory is just a hierarchical grouping of directories and files. Consider that for a moment. So when you want to copy it or remove it, in most cases you'll want to copy or remove all of its contents. When you want to create a directory, if the directory that it's suppose to be contained in does not exist, then in most cases you'll want to create that too.
237
-
238
- So, if you want to remove a file or a directory regardless of whether it has contents, just call `fs.remove(path)`. If you want to copy a file or a directory whether it has contents, just call `fs.copy(source, destination)`. If you want to create a directory regardless of whether its parent directories exist, just call `fs.mkdirs(path)` or `fs.mkdirp(path)`.
239
-
240
-
241
- Credit
242
- ------
243
-
244
- `fs-extra` wouldn't be possible without using the modules from the following authors:
245
-
246
- - [Isaac Shlueter](https://github.com/isaacs)
247
- - [Charlie McConnel](https://github.com/avianflu)
248
- - [James Halliday](https://github.com/substack)
249
- - [Andrew Kelley](https://github.com/andrewrk)
250
-
251
-
252
-
253
-
254
- License
255
- -------
256
-
257
- Licensed under MIT
258
-
259
- Copyright (c) 2011-2017 [JP Richardson](https://github.com/jprichardson)
260
-
261
- [1]: http://nodejs.org/docs/latest/api/fs.html
262
-
263
-
264
- [jsonfile]: https://github.com/jprichardson/node-jsonfile
@@ -1,232 +0,0 @@
1
- 'use strict'
2
-
3
- const fs = require('graceful-fs')
4
- const path = require('path')
5
- const mkdirs = require('../mkdirs').mkdirs
6
- const pathExists = require('../path-exists').pathExists
7
- const utimesMillis = require('../util/utimes').utimesMillis
8
- const stat = require('../util/stat')
9
-
10
- function copy (src, dest, opts, cb) {
11
- if (typeof opts === 'function' && !cb) {
12
- cb = opts
13
- opts = {}
14
- } else if (typeof opts === 'function') {
15
- opts = { filter: opts }
16
- }
17
-
18
- cb = cb || function () {}
19
- opts = opts || {}
20
-
21
- opts.clobber = 'clobber' in opts ? !!opts.clobber : true // default to true for now
22
- opts.overwrite = 'overwrite' in opts ? !!opts.overwrite : opts.clobber // overwrite falls back to clobber
23
-
24
- // Warn about using preserveTimestamps on 32-bit node
25
- if (opts.preserveTimestamps && process.arch === 'ia32') {
26
- console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\n
27
- see https://github.com/jprichardson/node-fs-extra/issues/269`)
28
- }
29
-
30
- stat.checkPaths(src, dest, 'copy', (err, stats) => {
31
- if (err) return cb(err)
32
- const { srcStat, destStat } = stats
33
- stat.checkParentPaths(src, srcStat, dest, 'copy', err => {
34
- if (err) return cb(err)
35
- if (opts.filter) return handleFilter(checkParentDir, destStat, src, dest, opts, cb)
36
- return checkParentDir(destStat, src, dest, opts, cb)
37
- })
38
- })
39
- }
40
-
41
- function checkParentDir (destStat, src, dest, opts, cb) {
42
- const destParent = path.dirname(dest)
43
- pathExists(destParent, (err, dirExists) => {
44
- if (err) return cb(err)
45
- if (dirExists) return startCopy(destStat, src, dest, opts, cb)
46
- mkdirs(destParent, err => {
47
- if (err) return cb(err)
48
- return startCopy(destStat, src, dest, opts, cb)
49
- })
50
- })
51
- }
52
-
53
- function handleFilter (onInclude, destStat, src, dest, opts, cb) {
54
- Promise.resolve(opts.filter(src, dest)).then(include => {
55
- if (include) return onInclude(destStat, src, dest, opts, cb)
56
- return cb()
57
- }, error => cb(error))
58
- }
59
-
60
- function startCopy (destStat, src, dest, opts, cb) {
61
- if (opts.filter) return handleFilter(getStats, destStat, src, dest, opts, cb)
62
- return getStats(destStat, src, dest, opts, cb)
63
- }
64
-
65
- function getStats (destStat, src, dest, opts, cb) {
66
- const stat = opts.dereference ? fs.stat : fs.lstat
67
- stat(src, (err, srcStat) => {
68
- if (err) return cb(err)
69
-
70
- if (srcStat.isDirectory()) return onDir(srcStat, destStat, src, dest, opts, cb)
71
- else if (srcStat.isFile() ||
72
- srcStat.isCharacterDevice() ||
73
- srcStat.isBlockDevice()) return onFile(srcStat, destStat, src, dest, opts, cb)
74
- else if (srcStat.isSymbolicLink()) return onLink(destStat, src, dest, opts, cb)
75
- })
76
- }
77
-
78
- function onFile (srcStat, destStat, src, dest, opts, cb) {
79
- if (!destStat) return copyFile(srcStat, src, dest, opts, cb)
80
- return mayCopyFile(srcStat, src, dest, opts, cb)
81
- }
82
-
83
- function mayCopyFile (srcStat, src, dest, opts, cb) {
84
- if (opts.overwrite) {
85
- fs.unlink(dest, err => {
86
- if (err) return cb(err)
87
- return copyFile(srcStat, src, dest, opts, cb)
88
- })
89
- } else if (opts.errorOnExist) {
90
- return cb(new Error(`'${dest}' already exists`))
91
- } else return cb()
92
- }
93
-
94
- function copyFile (srcStat, src, dest, opts, cb) {
95
- fs.copyFile(src, dest, err => {
96
- if (err) return cb(err)
97
- if (opts.preserveTimestamps) return handleTimestampsAndMode(srcStat.mode, src, dest, cb)
98
- return setDestMode(dest, srcStat.mode, cb)
99
- })
100
- }
101
-
102
- function handleTimestampsAndMode (srcMode, src, dest, cb) {
103
- // Make sure the file is writable before setting the timestamp
104
- // otherwise open fails with EPERM when invoked with 'r+'
105
- // (through utimes call)
106
- if (fileIsNotWritable(srcMode)) {
107
- return makeFileWritable(dest, srcMode, err => {
108
- if (err) return cb(err)
109
- return setDestTimestampsAndMode(srcMode, src, dest, cb)
110
- })
111
- }
112
- return setDestTimestampsAndMode(srcMode, src, dest, cb)
113
- }
114
-
115
- function fileIsNotWritable (srcMode) {
116
- return (srcMode & 0o200) === 0
117
- }
118
-
119
- function makeFileWritable (dest, srcMode, cb) {
120
- return setDestMode(dest, srcMode | 0o200, cb)
121
- }
122
-
123
- function setDestTimestampsAndMode (srcMode, src, dest, cb) {
124
- setDestTimestamps(src, dest, err => {
125
- if (err) return cb(err)
126
- return setDestMode(dest, srcMode, cb)
127
- })
128
- }
129
-
130
- function setDestMode (dest, srcMode, cb) {
131
- return fs.chmod(dest, srcMode, cb)
132
- }
133
-
134
- function setDestTimestamps (src, dest, cb) {
135
- // The initial srcStat.atime cannot be trusted
136
- // because it is modified by the read(2) system call
137
- // (See https://nodejs.org/api/fs.html#fs_stat_time_values)
138
- fs.stat(src, (err, updatedSrcStat) => {
139
- if (err) return cb(err)
140
- return utimesMillis(dest, updatedSrcStat.atime, updatedSrcStat.mtime, cb)
141
- })
142
- }
143
-
144
- function onDir (srcStat, destStat, src, dest, opts, cb) {
145
- if (!destStat) return mkDirAndCopy(srcStat.mode, src, dest, opts, cb)
146
- if (destStat && !destStat.isDirectory()) {
147
- return cb(new Error(`Cannot overwrite non-directory '${dest}' with directory '${src}'.`))
148
- }
149
- return copyDir(src, dest, opts, cb)
150
- }
151
-
152
- function mkDirAndCopy (srcMode, src, dest, opts, cb) {
153
- fs.mkdir(dest, err => {
154
- if (err) return cb(err)
155
- copyDir(src, dest, opts, err => {
156
- if (err) return cb(err)
157
- return setDestMode(dest, srcMode, cb)
158
- })
159
- })
160
- }
161
-
162
- function copyDir (src, dest, opts, cb) {
163
- fs.readdir(src, (err, items) => {
164
- if (err) return cb(err)
165
- return copyDirItems(items, src, dest, opts, cb)
166
- })
167
- }
168
-
169
- function copyDirItems (items, src, dest, opts, cb) {
170
- const item = items.pop()
171
- if (!item) return cb()
172
- return copyDirItem(items, item, src, dest, opts, cb)
173
- }
174
-
175
- function copyDirItem (items, item, src, dest, opts, cb) {
176
- const srcItem = path.join(src, item)
177
- const destItem = path.join(dest, item)
178
- stat.checkPaths(srcItem, destItem, 'copy', (err, stats) => {
179
- if (err) return cb(err)
180
- const { destStat } = stats
181
- startCopy(destStat, srcItem, destItem, opts, err => {
182
- if (err) return cb(err)
183
- return copyDirItems(items, src, dest, opts, cb)
184
- })
185
- })
186
- }
187
-
188
- function onLink (destStat, src, dest, opts, cb) {
189
- fs.readlink(src, (err, resolvedSrc) => {
190
- if (err) return cb(err)
191
- if (opts.dereference) {
192
- resolvedSrc = path.resolve(process.cwd(), resolvedSrc)
193
- }
194
-
195
- if (!destStat) {
196
- return fs.symlink(resolvedSrc, dest, cb)
197
- } else {
198
- fs.readlink(dest, (err, resolvedDest) => {
199
- if (err) {
200
- // dest exists and is a regular file or directory,
201
- // Windows may throw UNKNOWN error. If dest already exists,
202
- // fs throws error anyway, so no need to guard against it here.
203
- if (err.code === 'EINVAL' || err.code === 'UNKNOWN') return fs.symlink(resolvedSrc, dest, cb)
204
- return cb(err)
205
- }
206
- if (opts.dereference) {
207
- resolvedDest = path.resolve(process.cwd(), resolvedDest)
208
- }
209
- if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {
210
- return cb(new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`))
211
- }
212
-
213
- // do not copy if src is a subdir of dest since unlinking
214
- // dest in this case would result in removing src contents
215
- // and therefore a broken symlink would be created.
216
- if (destStat.isDirectory() && stat.isSrcSubdir(resolvedDest, resolvedSrc)) {
217
- return cb(new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`))
218
- }
219
- return copyLink(resolvedSrc, dest, cb)
220
- })
221
- }
222
- })
223
- }
224
-
225
- function copyLink (resolvedSrc, dest, cb) {
226
- fs.unlink(dest, err => {
227
- if (err) return cb(err)
228
- return fs.symlink(resolvedSrc, dest, cb)
229
- })
230
- }
231
-
232
- module.exports = copy
@@ -1,6 +0,0 @@
1
- 'use strict'
2
-
3
- const u = require('universalify').fromCallback
4
- module.exports = {
5
- copy: u(require('./copy'))
6
- }
@@ -1,166 +0,0 @@
1
- 'use strict'
2
-
3
- const fs = require('graceful-fs')
4
- const path = require('path')
5
- const mkdirsSync = require('../mkdirs').mkdirsSync
6
- const utimesMillisSync = require('../util/utimes').utimesMillisSync
7
- const stat = require('../util/stat')
8
-
9
- function copySync (src, dest, opts) {
10
- if (typeof opts === 'function') {
11
- opts = { filter: opts }
12
- }
13
-
14
- opts = opts || {}
15
- opts.clobber = 'clobber' in opts ? !!opts.clobber : true // default to true for now
16
- opts.overwrite = 'overwrite' in opts ? !!opts.overwrite : opts.clobber // overwrite falls back to clobber
17
-
18
- // Warn about using preserveTimestamps on 32-bit node
19
- if (opts.preserveTimestamps && process.arch === 'ia32') {
20
- console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\n
21
- see https://github.com/jprichardson/node-fs-extra/issues/269`)
22
- }
23
-
24
- const { srcStat, destStat } = stat.checkPathsSync(src, dest, 'copy')
25
- stat.checkParentPathsSync(src, srcStat, dest, 'copy')
26
- return handleFilterAndCopy(destStat, src, dest, opts)
27
- }
28
-
29
- function handleFilterAndCopy (destStat, src, dest, opts) {
30
- if (opts.filter && !opts.filter(src, dest)) return
31
- const destParent = path.dirname(dest)
32
- if (!fs.existsSync(destParent)) mkdirsSync(destParent)
33
- return startCopy(destStat, src, dest, opts)
34
- }
35
-
36
- function startCopy (destStat, src, dest, opts) {
37
- if (opts.filter && !opts.filter(src, dest)) return
38
- return getStats(destStat, src, dest, opts)
39
- }
40
-
41
- function getStats (destStat, src, dest, opts) {
42
- const statSync = opts.dereference ? fs.statSync : fs.lstatSync
43
- const srcStat = statSync(src)
44
-
45
- if (srcStat.isDirectory()) return onDir(srcStat, destStat, src, dest, opts)
46
- else if (srcStat.isFile() ||
47
- srcStat.isCharacterDevice() ||
48
- srcStat.isBlockDevice()) return onFile(srcStat, destStat, src, dest, opts)
49
- else if (srcStat.isSymbolicLink()) return onLink(destStat, src, dest, opts)
50
- }
51
-
52
- function onFile (srcStat, destStat, src, dest, opts) {
53
- if (!destStat) return copyFile(srcStat, src, dest, opts)
54
- return mayCopyFile(srcStat, src, dest, opts)
55
- }
56
-
57
- function mayCopyFile (srcStat, src, dest, opts) {
58
- if (opts.overwrite) {
59
- fs.unlinkSync(dest)
60
- return copyFile(srcStat, src, dest, opts)
61
- } else if (opts.errorOnExist) {
62
- throw new Error(`'${dest}' already exists`)
63
- }
64
- }
65
-
66
- function copyFile (srcStat, src, dest, opts) {
67
- fs.copyFileSync(src, dest)
68
- if (opts.preserveTimestamps) handleTimestamps(srcStat.mode, src, dest)
69
- return setDestMode(dest, srcStat.mode)
70
- }
71
-
72
- function handleTimestamps (srcMode, src, dest) {
73
- // Make sure the file is writable before setting the timestamp
74
- // otherwise open fails with EPERM when invoked with 'r+'
75
- // (through utimes call)
76
- if (fileIsNotWritable(srcMode)) makeFileWritable(dest, srcMode)
77
- return setDestTimestamps(src, dest)
78
- }
79
-
80
- function fileIsNotWritable (srcMode) {
81
- return (srcMode & 0o200) === 0
82
- }
83
-
84
- function makeFileWritable (dest, srcMode) {
85
- return setDestMode(dest, srcMode | 0o200)
86
- }
87
-
88
- function setDestMode (dest, srcMode) {
89
- return fs.chmodSync(dest, srcMode)
90
- }
91
-
92
- function setDestTimestamps (src, dest) {
93
- // The initial srcStat.atime cannot be trusted
94
- // because it is modified by the read(2) system call
95
- // (See https://nodejs.org/api/fs.html#fs_stat_time_values)
96
- const updatedSrcStat = fs.statSync(src)
97
- return utimesMillisSync(dest, updatedSrcStat.atime, updatedSrcStat.mtime)
98
- }
99
-
100
- function onDir (srcStat, destStat, src, dest, opts) {
101
- if (!destStat) return mkDirAndCopy(srcStat.mode, src, dest, opts)
102
- if (destStat && !destStat.isDirectory()) {
103
- throw new Error(`Cannot overwrite non-directory '${dest}' with directory '${src}'.`)
104
- }
105
- return copyDir(src, dest, opts)
106
- }
107
-
108
- function mkDirAndCopy (srcMode, src, dest, opts) {
109
- fs.mkdirSync(dest)
110
- copyDir(src, dest, opts)
111
- return setDestMode(dest, srcMode)
112
- }
113
-
114
- function copyDir (src, dest, opts) {
115
- fs.readdirSync(src).forEach(item => copyDirItem(item, src, dest, opts))
116
- }
117
-
118
- function copyDirItem (item, src, dest, opts) {
119
- const srcItem = path.join(src, item)
120
- const destItem = path.join(dest, item)
121
- const { destStat } = stat.checkPathsSync(srcItem, destItem, 'copy')
122
- return startCopy(destStat, srcItem, destItem, opts)
123
- }
124
-
125
- function onLink (destStat, src, dest, opts) {
126
- let resolvedSrc = fs.readlinkSync(src)
127
- if (opts.dereference) {
128
- resolvedSrc = path.resolve(process.cwd(), resolvedSrc)
129
- }
130
-
131
- if (!destStat) {
132
- return fs.symlinkSync(resolvedSrc, dest)
133
- } else {
134
- let resolvedDest
135
- try {
136
- resolvedDest = fs.readlinkSync(dest)
137
- } catch (err) {
138
- // dest exists and is a regular file or directory,
139
- // Windows may throw UNKNOWN error. If dest already exists,
140
- // fs throws error anyway, so no need to guard against it here.
141
- if (err.code === 'EINVAL' || err.code === 'UNKNOWN') return fs.symlinkSync(resolvedSrc, dest)
142
- throw err
143
- }
144
- if (opts.dereference) {
145
- resolvedDest = path.resolve(process.cwd(), resolvedDest)
146
- }
147
- if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {
148
- throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`)
149
- }
150
-
151
- // prevent copy if src is a subdir of dest since unlinking
152
- // dest in this case would result in removing src contents
153
- // and therefore a broken symlink would be created.
154
- if (fs.statSync(dest).isDirectory() && stat.isSrcSubdir(resolvedDest, resolvedSrc)) {
155
- throw new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`)
156
- }
157
- return copyLink(resolvedSrc, dest)
158
- }
159
- }
160
-
161
- function copyLink (resolvedSrc, dest) {
162
- fs.unlinkSync(dest)
163
- return fs.symlinkSync(resolvedSrc, dest)
164
- }
165
-
166
- module.exports = copySync
@@ -1,5 +0,0 @@
1
- 'use strict'
2
-
3
- module.exports = {
4
- copySync: require('./copy-sync')
5
- }