data-restructor 3.4.1 → 3.4.3

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 (43) hide show
  1. package/.github/workflows/codeql-analysis.yml +4 -4
  2. package/.github/workflows/continuous-integration.yaml +23 -10
  3. package/CHANGELOG.md +25 -1
  4. package/coverage/coverage-summary.json +4 -4
  5. package/coverage/datarestructor.js.html +137 -137
  6. package/coverage/describedfield.js.html +45 -45
  7. package/coverage/index.html +6 -6
  8. package/coverage/templateResolver.js.html +26 -26
  9. package/devdist/datarestructor-ie.js +19 -19
  10. package/devdist/datarestructor.js +9 -9
  11. package/devdist/describedfield-ie.js +4 -4
  12. package/devdist/describedfield.js +2 -2
  13. package/devdist/templateResolver-ie.js +10 -10
  14. package/devdist/templateResolver.js +4 -4
  15. package/dist/datarestructor-ie.js +1 -1
  16. package/dist/datarestructor-ie.js.map +1 -1
  17. package/dist/datarestructor.js +1 -1
  18. package/dist/datarestructor.js.map +1 -1
  19. package/dist/describedfield-ie.js +1 -1
  20. package/dist/describedfield-ie.js.map +1 -1
  21. package/dist/describedfield.js +1 -1
  22. package/dist/describedfield.js.map +1 -1
  23. package/dist/templateResolver-ie.js +1 -1
  24. package/dist/templateResolver-ie.js.map +1 -1
  25. package/dist/templateResolver.js +1 -1
  26. package/dist/templateResolver.js.map +1 -1
  27. package/docs/datarestructor.js.html +1 -1
  28. package/docs/describedfield.js.html +1 -1
  29. package/docs/index.html +1 -1
  30. package/docs/module-datarestructor.DescribedEntryCreator.html +1 -1
  31. package/docs/module-datarestructor.PropertyStructureDescriptionBuilder.html +1 -1
  32. package/docs/module-datarestructor.Restructor.html +1 -1
  33. package/docs/module-datarestructor.Transform.html +1 -1
  34. package/docs/module-datarestructor.html +1 -1
  35. package/docs/module-described_field.DescribedDataFieldBuilder.html +1 -1
  36. package/docs/module-described_field.DescribedDataFieldGroup.html +1 -1
  37. package/docs/module-described_field.html +1 -1
  38. package/docs/module-template_resolver.Resolver.html +1 -1
  39. package/docs/module-template_resolver.html +1 -1
  40. package/docs/templateResolver.js.html +1 -1
  41. package/eslint.config.js +15 -0
  42. package/package.json +13 -12
  43. package/.eslintrc.json +0 -13
@@ -339,7 +339,7 @@ var result = datarestructor.Restructor.processJsonUsingDescriptions(jsonData, al
339
339
  <br class="clear">
340
340
 
341
341
  <footer>
342
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Tue Feb 28 2023 21:27:12 GMT+0100 (Central European Standard Time)
342
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Sat Jun 15 2024 08:36:34 GMT+0000 (Coordinated Universal Time)
343
343
  </footer>
344
344
 
345
345
  <script> prettyPrint(); </script>
@@ -3094,7 +3094,7 @@ in a recursive manner. The maximum recursion depth is taken as the second parame
3094
3094
  <br class="clear">
3095
3095
 
3096
3096
  <footer>
3097
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Tue Feb 28 2023 21:27:12 GMT+0100 (Central European Standard Time)
3097
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Sat Jun 15 2024 08:36:34 GMT+0000 (Coordinated Universal Time)
3098
3098
  </footer>
3099
3099
 
3100
3100
  <script> prettyPrint(); </script>
@@ -2734,7 +2734,7 @@ how the data should be transformed.</p>
2734
2734
  <br class="clear">
2735
2735
 
2736
2736
  <footer>
2737
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Tue Feb 28 2023 21:27:12 GMT+0100 (Central European Standard Time)
2737
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Sat Jun 15 2024 08:36:34 GMT+0000 (Coordinated Universal Time)
2738
2738
  </footer>
2739
2739
 
2740
2740
  <script> prettyPrint(); </script>
@@ -2123,7 +2123,7 @@ Example: &quot;responses[2].hits.hits[4]._source.name&quot; will have an index o
2123
2123
  <br class="clear">
2124
2124
 
2125
2125
  <footer>
2126
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Tue Feb 28 2023 21:27:12 GMT+0100 (Central European Standard Time)
2126
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Sat Jun 15 2024 08:36:34 GMT+0000 (Coordinated Universal Time)
2127
2127
  </footer>
2128
2128
 
2129
2129
  <script> prettyPrint(); </script>
@@ -577,7 +577,7 @@ that contain an array of sub fields of the same type <a href="module-described_f
577
577
  <br class="clear">
578
578
 
579
579
  <footer>
580
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Tue Feb 28 2023 21:27:12 GMT+0100 (Central European Standard Time)
580
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Sat Jun 15 2024 08:36:34 GMT+0000 (Coordinated Universal Time)
581
581
  </footer>
582
582
 
583
583
  <script> prettyPrint(); </script>
@@ -747,7 +747,7 @@ Dynamically added properties represent custom named groups containing DescribedD
747
747
  <br class="clear">
748
748
 
749
749
  <footer>
750
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Tue Feb 28 2023 21:27:12 GMT+0100 (Central European Standard Time)
750
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Sat Jun 15 2024 08:36:34 GMT+0000 (Coordinated Universal Time)
751
751
  </footer>
752
752
 
753
753
  <script> prettyPrint(); </script>
@@ -1285,7 +1285,7 @@ Example: <code>{name: &quot;accountNumber&quot;, value: &quot;12345&quot;}</code
1285
1285
  <br class="clear">
1286
1286
 
1287
1287
  <footer>
1288
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Tue Feb 28 2023 21:27:12 GMT+0100 (Central European Standard Time)
1288
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Sat Jun 15 2024 08:36:34 GMT+0000 (Coordinated Universal Time)
1289
1289
  </footer>
1290
1290
 
1291
1291
  <script> prettyPrint(); </script>
@@ -127,7 +127,7 @@
127
127
  <br class="clear">
128
128
 
129
129
  <footer>
130
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Tue Feb 28 2023 21:27:12 GMT+0100 (Central European Standard Time)
130
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Sat Jun 15 2024 08:36:34 GMT+0000 (Coordinated Universal Time)
131
131
  </footer>
132
132
 
133
133
  <script> prettyPrint(); </script>
@@ -210,7 +210,7 @@ template_resolver.Resolver = (function () {
210
210
  <br class="clear">
211
211
 
212
212
  <footer>
213
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Tue Feb 28 2023 21:27:12 GMT+0100 (Central European Standard Time)
213
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Sat Jun 15 2024 08:36:34 GMT+0000 (Coordinated Universal Time)
214
214
  </footer>
215
215
 
216
216
  <script> prettyPrint(); </script>
@@ -0,0 +1,15 @@
1
+ let globals = require("globals");
2
+ let js = require("@eslint/js");
3
+
4
+ module.exports = [
5
+ js.configs.recommended,
6
+ {
7
+ languageOptions: {
8
+ ecmaVersion: 2022,
9
+ sourceType: "commonjs",
10
+ globals: {
11
+ ...globals.browser,
12
+ },
13
+ },
14
+ },
15
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "data-restructor",
3
- "version": "3.4.1",
3
+ "version": "3.4.3",
4
4
  "description": "Transforms parsed JSON objects into a uniform data structure",
5
5
  "directories": {
6
6
  "test": "test"
@@ -10,12 +10,12 @@
10
10
  "context": "node",
11
11
  "includeNodeModules": true,
12
12
  "engines": {
13
- "node": "18"
13
+ "node": "20"
14
14
  }
15
15
  }
16
16
  },
17
17
  "engines": {
18
- "node": "18"
18
+ "node": "20"
19
19
  },
20
20
  "scripts": {
21
21
  "prebuild": "rm -rf dist",
@@ -30,7 +30,7 @@
30
30
  "build": "export NODE_OPTIONS=--no-experimental-fetch;parcel build ./src/js/*.js",
31
31
  "changelog": "auto-changelog",
32
32
  "changelog-debug": "auto-changelog --template json --output changelog-data.json",
33
- "package": "npm run lint && npm run coverage && npm run coverage-badge && npm run doc && npm run devbuild && npm run build && npm run merger"
33
+ "package": "npm run lint && npm run coverage && npm run coverage-badge && npm run doc && npm run changelog && npm run devbuild && npm run build && npm run merger"
34
34
  },
35
35
  "repository": {
36
36
  "type": "git",
@@ -48,16 +48,17 @@
48
48
  },
49
49
  "homepage": "https://joht.github.io/data-restructor-js",
50
50
  "devDependencies": {
51
+ "@eslint/js": "9.5.0",
51
52
  "auto-changelog": "2.4.0",
52
- "eslint": "8.35.0",
53
- "inquirer": "9.1.4",
54
- "istanbul-badges-readme": "1.8.5",
55
- "jasmine": "4.5.0",
56
- "jsdoc": "4.0.2",
57
- "lmdb": "2.7.9",
53
+ "eslint": "9.5.0",
54
+ "inquirer": "9.2.23",
55
+ "istanbul-badges-readme": "1.9.0",
56
+ "jasmine": "5.1.0",
57
+ "jsdoc": "4.0.3",
58
+ "lmdb": "3.0.12",
58
59
  "merger-js": "3.10.3",
59
60
  "node-notifier": "10.0.1",
60
- "nyc": "15.1.0",
61
- "parcel": "2.8.3"
61
+ "nyc": "17.0.0",
62
+ "parcel": "2.12.0"
62
63
  }
63
64
  }
package/.eslintrc.json DELETED
@@ -1,13 +0,0 @@
1
- {
2
- "env": {
3
- "browser": true,
4
- "commonjs": true,
5
- "es2021": true
6
- },
7
- "extends": "eslint:recommended",
8
- "parserOptions": {
9
- "ecmaVersion": 12
10
- },
11
- "rules": {
12
- }
13
- }