cloudstructs 0.13.5 → 0.13.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/.jsii +3 -3
  2. package/assets/slack-textract/detect.lambda/index.js +7 -5
  3. package/lib/codecommit-mirror/index.js +2 -2
  4. package/lib/dmarc/index.js +1 -1
  5. package/lib/ecs-service-roller/index.js +2 -2
  6. package/lib/email-receiver/receiver.js +1 -1
  7. package/lib/saml-identity-provider/index.js +2 -2
  8. package/lib/slack-app/manifest.js +1 -1
  9. package/lib/slack-app/slack-app.js +2 -2
  10. package/lib/slack-events/index.js +1 -1
  11. package/lib/slack-textract/index.js +1 -1
  12. package/lib/ssl-server-test/index.js +1 -1
  13. package/lib/state-machine-cr-provider/index.js +1 -1
  14. package/lib/static-website/index.js +1 -1
  15. package/lib/toolkit-cleaner/index.js +1 -1
  16. package/lib/url-shortener/index.js +1 -1
  17. package/node_modules/@aws-sdk/core/package.json +2 -2
  18. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  19. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  20. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  21. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  22. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  23. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  24. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  25. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  26. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  27. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  28. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  29. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  30. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  31. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  32. package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  33. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  34. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  35. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  36. package/node_modules/@slack/web-api/dist/file-upload.d.ts.map +1 -1
  37. package/node_modules/@slack/web-api/dist/file-upload.js +4 -2
  38. package/node_modules/@slack/web-api/dist/file-upload.js.map +1 -1
  39. package/node_modules/@slack/web-api/dist/types/request/files.d.ts +10 -0
  40. package/node_modules/@slack/web-api/dist/types/request/files.d.ts.map +1 -1
  41. package/node_modules/@slack/web-api/package.json +2 -2
  42. package/node_modules/fast-xml-parser/CHANGELOG.md +7 -0
  43. package/node_modules/fast-xml-parser/README.md +0 -3
  44. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  45. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
  46. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  47. package/node_modules/fast-xml-parser/lib/fxp.d.cts +1 -0
  48. package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  49. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  50. package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  51. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  52. package/node_modules/fast-xml-parser/package.json +2 -4
  53. package/node_modules/fast-xml-parser/src/fxp.d.ts +1 -0
  54. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +1 -1
  55. package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +4 -0
  56. package/package.json +22 -22
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fast-xml-parser",
3
- "version": "5.7.2",
3
+ "version": "5.7.3",
4
4
  "description": "Validate XML, Parse XML, Build XML without C/C++ based libraries",
5
5
  "main": "./lib/fxp.cjs",
6
6
  "type": "module",
@@ -23,7 +23,6 @@
23
23
  "test": "c8 --reporter=lcov --reporter=text jasmine spec/*spec.js",
24
24
  "test-types": "tsc --noEmit spec/typings/typings-test.ts",
25
25
  "unit": "jasmine",
26
- "coverage": "nyc report --reporter html --reporter text -t .nyc_output --report-dir .nyc_output/summary",
27
26
  "perf": "node ./benchmark/perfTest3.js",
28
27
  "lint": "eslint src/**/*.js spec/**/*.js benchmark/**/*.js",
29
28
  "bundle": "webpack --config webpack.cjs.config.js",
@@ -72,7 +71,6 @@
72
71
  "babel-loader": "^8.2.2",
73
72
  "c8": "^10.1.3",
74
73
  "eslint": "^8.3.0",
75
- "he": "^1.2.0",
76
74
  "jasmine": "^5.6.0",
77
75
  "prettier": "^3.5.1",
78
76
  "publish-please": "^5.5.2",
@@ -88,7 +86,7 @@
88
86
  ],
89
87
  "dependencies": {
90
88
  "@nodable/entities": "^2.1.0",
91
- "fast-xml-builder": "^1.1.5",
89
+ "fast-xml-builder": "^1.1.7",
92
90
  "path-expression-matcher": "^1.5.0",
93
91
  "strnum": "^2.2.3"
94
92
  }
@@ -701,6 +701,7 @@ export class XMLParser {
701
701
  * Add Entity which is not by default supported by this library
702
702
  * @param entityIdentifier {string} Eg: 'ent' for &ent;
703
703
  * @param entityValue {string} Eg: '\r'
704
+ * @deprecated Use `entityDecoder` instead
704
705
  */
705
706
  addEntity(entityIdentifier: string, entityValue: string): void;
706
707
 
@@ -776,7 +776,7 @@ function readStopNodeData(xmlData, tagName, i) {
776
776
  const closeIndex = findClosingIndex(xmlData, "]]>", i, "StopNode is not closed.") - 2;
777
777
  i = closeIndex;
778
778
  } else {
779
- const tagData = readTagExp(xmlData, i, '>')
779
+ const tagData = readTagExp(xmlData, i, false)
780
780
 
781
781
  if (tagData) {
782
782
  const openTagName = tagData && tagData.tagName;
@@ -71,6 +71,10 @@ function compress(arr, options, matcher, readonlyMatcher) {
71
71
  let val = compress(tagObj[property], options, matcher, readonlyMatcher);
72
72
  const isLeaf = isLeafTag(val, options);
73
73
 
74
+ if (Object.keys(val).length === 0 && options.alwaysCreateTextNode) {
75
+ val[options.textNodeName] = "";
76
+ }
77
+
74
78
  if (tagObj[":@"]) {
75
79
  assignAttributes(val, tagObj[":@"], readonlyMatcher, options);
76
80
  } else if (Object.keys(val).length === 1 && val[options.textNodeName] !== undefined && !options.alwaysCreateTextNode) {
package/package.json CHANGED
@@ -76,44 +76,44 @@
76
76
  "organization": false
77
77
  },
78
78
  "devDependencies": {
79
- "@aws-sdk/client-cloudformation": "^3.1045.0",
80
- "@aws-sdk/client-dynamodb": "^3.1045.0",
81
- "@aws-sdk/client-ecr": "^3.1045.0",
82
- "@aws-sdk/client-ecs": "^3.1045.0",
83
- "@aws-sdk/client-eventbridge": "^3.1045.0",
84
- "@aws-sdk/client-iam": "^3.1045.0",
85
- "@aws-sdk/client-s3": "^3.1045.0",
86
- "@aws-sdk/client-secrets-manager": "^3.1045.0",
87
- "@aws-sdk/client-sfn": "^3.1045.0",
88
- "@aws-sdk/client-sns": "^3.1045.0",
89
- "@aws-sdk/client-textract": "^3.1045.0",
90
- "@aws-sdk/lib-dynamodb": "^3.1045.0",
79
+ "@aws-sdk/client-cloudformation": "^3.1047.0",
80
+ "@aws-sdk/client-dynamodb": "^3.1047.0",
81
+ "@aws-sdk/client-ecr": "^3.1047.0",
82
+ "@aws-sdk/client-ecs": "^3.1047.0",
83
+ "@aws-sdk/client-eventbridge": "^3.1047.0",
84
+ "@aws-sdk/client-iam": "^3.1047.0",
85
+ "@aws-sdk/client-s3": "^3.1047.0",
86
+ "@aws-sdk/client-secrets-manager": "^3.1047.0",
87
+ "@aws-sdk/client-sfn": "^3.1047.0",
88
+ "@aws-sdk/client-sns": "^3.1047.0",
89
+ "@aws-sdk/client-textract": "^3.1047.0",
90
+ "@aws-sdk/lib-dynamodb": "^3.1047.0",
91
91
  "@aws/durable-execution-sdk-js-testing": "^1.1.1",
92
92
  "@stylistic/eslint-plugin": "^2",
93
93
  "@types/aws-lambda": "^8.10.161",
94
- "@types/jest": "^29.5.14",
94
+ "@types/jest": "^30.0.0",
95
95
  "@types/node": "^18.19.130",
96
96
  "@types/tsscmp": "^1.0.2",
97
97
  "@typescript-eslint/eslint-plugin": "^8",
98
98
  "@typescript-eslint/parser": "^8",
99
99
  "aws-cdk": "^2",
100
100
  "aws-cdk-lib": "2.253.1",
101
- "aws-sdk-client-mock": "^2.2.0",
102
- "aws-sdk-client-mock-jest": "^2.2.0",
101
+ "aws-sdk-client-mock": "^4.1.0",
102
+ "aws-sdk-client-mock-jest": "^4.1.0",
103
103
  "commit-and-tag-version": "^12",
104
104
  "constructs": "10.5.1",
105
105
  "esbuild": "^0.28.0",
106
106
  "eslint": "^9",
107
- "eslint-import-resolver-typescript": "^3.10.1",
107
+ "eslint-import-resolver-typescript": "^4.4.4",
108
108
  "eslint-plugin-import": "^2.32.0",
109
- "jest": "^29.7.0",
109
+ "jest": "^30.4.2",
110
110
  "jest-junit": "^17",
111
111
  "jsii": "5.x",
112
- "jsii-diff": "^1.129.0",
112
+ "jsii-diff": "^1.130.0",
113
113
  "jsii-docgen": "^10.5.0",
114
- "jsii-pacmak": "^1.129.0",
114
+ "jsii-pacmak": "^1.130.0",
115
115
  "jsii-rosetta": "5.x",
116
- "projen": "^0.99.60",
116
+ "projen": "^0.99.61",
117
117
  "ts-jest": "^29.4.9",
118
118
  "ts-node": "^10.9.2",
119
119
  "typescript": "^5.9.3"
@@ -124,7 +124,7 @@
124
124
  },
125
125
  "dependencies": {
126
126
  "@aws/durable-execution-sdk-js": "^1.1.2",
127
- "@slack/web-api": "^7.15.2"
127
+ "@slack/web-api": "^7.16.0"
128
128
  },
129
129
  "bundledDependencies": [
130
130
  "@aws/durable-execution-sdk-js",
@@ -144,7 +144,7 @@
144
144
  "publishConfig": {
145
145
  "access": "public"
146
146
  },
147
- "version": "0.13.5",
147
+ "version": "0.13.7",
148
148
  "jest": {
149
149
  "coverageProvider": "v8",
150
150
  "testMatch": [