data-restructor 3.4.3 → 3.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.auto-changelog-template.hbs +1 -1
- package/.github/workflows/codeql-analysis.yml +6 -6
- package/.github/workflows/continuous-integration.yaml +11 -11
- package/.nvmrc +1 -0
- package/CHANGELOG.md +71 -1
- package/CONTRIBUTING.md +3 -3
- package/README.md +25 -25
- package/coverage/datarestructor.js.html +133 -133
- package/coverage/describedfield.js.html +45 -45
- package/coverage/index.html +1 -1
- package/coverage/templateResolver.js.html +26 -26
- package/devdist/datarestructor-ie.js +86 -21
- package/devdist/datarestructor.js +77 -12
- package/devdist/describedfield-ie.js +75 -10
- package/devdist/describedfield.js +74 -9
- package/devdist/templateResolver-ie.js +79 -14
- package/devdist/templateResolver.js +75 -10
- package/dist/datarestructor-ie.js +1 -1
- package/dist/datarestructor-ie.js.map +1 -1
- package/dist/datarestructor.js +1 -1
- package/dist/datarestructor.js.map +1 -1
- package/dist/describedfield-ie.js +1 -1
- package/dist/describedfield-ie.js.map +1 -1
- package/dist/describedfield.js +1 -1
- package/dist/describedfield.js.map +1 -1
- package/dist/templateResolver-ie.js +1 -1
- package/dist/templateResolver-ie.js.map +1 -1
- package/dist/templateResolver.js +1 -1
- package/dist/templateResolver.js.map +1 -1
- package/docs/datarestructor.js.html +1 -1
- package/docs/describedfield.js.html +1 -1
- package/docs/index.html +26 -26
- package/docs/module-datarestructor.DescribedEntryCreator.html +1 -1
- package/docs/module-datarestructor.PropertyStructureDescriptionBuilder.html +1 -1
- package/docs/module-datarestructor.Restructor.html +1 -1
- package/docs/module-datarestructor.Transform.html +1 -1
- package/docs/module-datarestructor.html +1 -1
- package/docs/module-described_field.DescribedDataFieldBuilder.html +1 -1
- package/docs/module-described_field.DescribedDataFieldGroup.html +1 -1
- package/docs/module-described_field.html +1 -1
- package/docs/module-template_resolver.Resolver.html +1 -1
- package/docs/module-template_resolver.html +1 -1
- package/docs/templateResolver.js.html +1 -1
- package/merger-config.json +2 -2
- package/package.json +12 -12
|
@@ -16,7 +16,7 @@ All notable changes to this project will be documented in this file.
|
|
|
16
16
|
## {{title}} ({{niceDate}})
|
|
17
17
|
{{/if}}
|
|
18
18
|
{{else}}
|
|
19
|
-
## [{{title}}](https://github.com/JohT/data-restructor-js/compare/{{diff}}.
|
|
19
|
+
## [{{title}}](https://github.com/JohT/data-restructor-js/compare/{{diff}}.main) (upcoming)
|
|
20
20
|
{{/if}}
|
|
21
21
|
|
|
22
22
|
{{#if summary}}
|
|
@@ -13,10 +13,10 @@ name: "CodeQL"
|
|
|
13
13
|
|
|
14
14
|
on:
|
|
15
15
|
push:
|
|
16
|
-
branches: [
|
|
16
|
+
branches: [ main ]
|
|
17
17
|
pull_request:
|
|
18
18
|
# The branches below must be a subset of the branches above
|
|
19
|
-
branches: [
|
|
19
|
+
branches: [ main ]
|
|
20
20
|
schedule:
|
|
21
21
|
- cron: '32 8 * * 0'
|
|
22
22
|
|
|
@@ -39,11 +39,11 @@ jobs:
|
|
|
39
39
|
|
|
40
40
|
steps:
|
|
41
41
|
- name: Checkout repository
|
|
42
|
-
uses: actions/checkout@
|
|
42
|
+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
|
43
43
|
|
|
44
44
|
# Initializes the CodeQL tools for scanning.
|
|
45
45
|
- name: Initialize CodeQL
|
|
46
|
-
uses: github/codeql-action/init@
|
|
46
|
+
uses: github/codeql-action/init@v4
|
|
47
47
|
with:
|
|
48
48
|
languages: ${{ matrix.language }}
|
|
49
49
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
@@ -54,7 +54,7 @@ jobs:
|
|
|
54
54
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
55
55
|
# If this step fails, then you should remove it and run the build manually (see below)
|
|
56
56
|
- name: Autobuild
|
|
57
|
-
uses: github/codeql-action/autobuild@
|
|
57
|
+
uses: github/codeql-action/autobuild@v4
|
|
58
58
|
|
|
59
59
|
# ℹ️ Command-line programs to run using the OS shell.
|
|
60
60
|
# 📚 https://git.io/JvXDl
|
|
@@ -68,4 +68,4 @@ jobs:
|
|
|
68
68
|
# make release
|
|
69
69
|
|
|
70
70
|
- name: Perform CodeQL Analysis
|
|
71
|
-
uses: github/codeql-action/analyze@
|
|
71
|
+
uses: github/codeql-action/analyze@v4
|
|
@@ -3,7 +3,7 @@ name: Continuous Integration
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
|
-
-
|
|
6
|
+
- main
|
|
7
7
|
# Ignore changes in folders with generated contents or documentation.
|
|
8
8
|
# Need to match git add parameters below.
|
|
9
9
|
paths-ignore:
|
|
@@ -14,7 +14,7 @@ on:
|
|
|
14
14
|
- '**/*.md'
|
|
15
15
|
pull_request:
|
|
16
16
|
branches:
|
|
17
|
-
-
|
|
17
|
+
- main
|
|
18
18
|
|
|
19
19
|
jobs:
|
|
20
20
|
build:
|
|
@@ -23,16 +23,16 @@ jobs:
|
|
|
23
23
|
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
|
|
24
24
|
CI_COMMIT_AUTHOR: ${{ github.event.repository.name }} Continuous Integration
|
|
25
25
|
steps:
|
|
26
|
-
- uses: actions/checkout@
|
|
26
|
+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
|
27
27
|
with:
|
|
28
28
|
token: ${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }}
|
|
29
29
|
- name: Get GIT tags for auto-changelog generation (startingVersion config option)
|
|
30
30
|
run: git fetch --tags origin
|
|
31
31
|
|
|
32
32
|
# Build
|
|
33
|
-
- uses: actions/setup-node@
|
|
33
|
+
- uses: actions/setup-node@v6
|
|
34
34
|
with:
|
|
35
|
-
node-version: '
|
|
35
|
+
node-version-file: '.nvmrc'
|
|
36
36
|
- name: Install node packages
|
|
37
37
|
run: npm ci
|
|
38
38
|
- name: Build package (lint, test, build, package, merge)
|
|
@@ -40,35 +40,35 @@ jobs:
|
|
|
40
40
|
|
|
41
41
|
# Archive generated or updated files
|
|
42
42
|
- name: Archive code coverage results
|
|
43
|
-
uses: actions/upload-artifact@
|
|
43
|
+
uses: actions/upload-artifact@v6
|
|
44
44
|
with:
|
|
45
45
|
name: test-code-coverage-report
|
|
46
46
|
path: coverage
|
|
47
47
|
retention-days: 14
|
|
48
48
|
if-no-files-found: error
|
|
49
49
|
- name: Archive documentation
|
|
50
|
-
uses: actions/upload-artifact@
|
|
50
|
+
uses: actions/upload-artifact@v6
|
|
51
51
|
with:
|
|
52
52
|
name: documentation
|
|
53
53
|
path: docs
|
|
54
54
|
retention-days: 14
|
|
55
55
|
if-no-files-found: error
|
|
56
56
|
- name: Archive CHANGELOG.md
|
|
57
|
-
uses: actions/upload-artifact@
|
|
57
|
+
uses: actions/upload-artifact@v6
|
|
58
58
|
with:
|
|
59
59
|
name: changelog
|
|
60
60
|
path: CHANGELOG.md
|
|
61
61
|
retention-days: 14
|
|
62
62
|
if-no-files-found: error
|
|
63
63
|
- name: Archive build artifacts
|
|
64
|
-
uses: actions/upload-artifact@
|
|
64
|
+
uses: actions/upload-artifact@v6
|
|
65
65
|
with:
|
|
66
66
|
name: distribution-production
|
|
67
67
|
path: dist
|
|
68
68
|
retention-days: 14
|
|
69
69
|
if-no-files-found: error
|
|
70
70
|
- name: Archive build artifacts
|
|
71
|
-
uses: actions/upload-artifact@
|
|
71
|
+
uses: actions/upload-artifact@v6
|
|
72
72
|
with:
|
|
73
73
|
name: distribution-development
|
|
74
74
|
path: devdist
|
|
@@ -92,6 +92,6 @@ jobs:
|
|
|
92
92
|
git add coverage devdist dist docs *.md
|
|
93
93
|
git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
|
|
94
94
|
git status
|
|
95
|
-
git rebase --strategy-option=theirs origin/
|
|
95
|
+
git rebase --strategy-option=theirs origin/main --verbose
|
|
96
96
|
git status
|
|
97
97
|
git push --verbose
|
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
v24.13.0
|
package/CHANGELOG.md
CHANGED
|
@@ -8,7 +8,77 @@ All notable changes to this project will be documented in this file.
|
|
|
8
8
|
- [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
|
|
9
9
|
- [`auto-changelog`](https://github.com/CookPete/auto-changelog)
|
|
10
10
|
|
|
11
|
-
## [v3.4.
|
|
11
|
+
## [v3.4.5](https://github.com/JohT/data-restructor-js/compare/v3.4.4...main) (upcoming)
|
|
12
|
+
|
|
13
|
+
## [v3.4.4](https://github.com/JohT/data-restructor-js/compare/v3.4.3...v3.4.4) (19 December 2024)
|
|
14
|
+
|
|
15
|
+
### Dependency Updates
|
|
16
|
+
|
|
17
|
+
- Update dependency parcel to v2.13.3 [`#312`](https://github.com/JohT/data-restructor-js/pull/312)
|
|
18
|
+
- Update eslint monorepo to v9.17.0 [`#311`](https://github.com/JohT/data-restructor-js/pull/311)
|
|
19
|
+
- Update dependency inquirer to v12.2.0 [`#310`](https://github.com/JohT/data-restructor-js/pull/310)
|
|
20
|
+
- Update dependency jasmine to v5.5.0 [`#309`](https://github.com/JohT/data-restructor-js/pull/309)
|
|
21
|
+
- Update eslint monorepo to v9.16.0 [`#308`](https://github.com/JohT/data-restructor-js/pull/308)
|
|
22
|
+
- Update dependency lmdb to v3.2.0 [`#307`](https://github.com/JohT/data-restructor-js/pull/307)
|
|
23
|
+
- Update dependency parcel to v2.13.2 [`#306`](https://github.com/JohT/data-restructor-js/pull/306)
|
|
24
|
+
- Update dependency parcel to v2.13.1 [`#305`](https://github.com/JohT/data-restructor-js/pull/305)
|
|
25
|
+
- Update eslint monorepo to v9.15.0 [`#304`](https://github.com/JohT/data-restructor-js/pull/304)
|
|
26
|
+
- Update dependency lmdb to v3.1.6 [`#303`](https://github.com/JohT/data-restructor-js/pull/303)
|
|
27
|
+
- Update dependency parcel to v2.13.0 [`#302`](https://github.com/JohT/data-restructor-js/pull/302)
|
|
28
|
+
- Update dependency lmdb to v3.1.5 [`#301`](https://github.com/JohT/data-restructor-js/pull/301)
|
|
29
|
+
- Update dependency inquirer to v12.1.0 [`#300`](https://github.com/JohT/data-restructor-js/pull/300)
|
|
30
|
+
- Update Node.js to v22 [`#297`](https://github.com/JohT/data-restructor-js/pull/297)
|
|
31
|
+
- Update actions/checkout digest to eef6144 [`#291`](https://github.com/JohT/data-restructor-js/pull/291)
|
|
32
|
+
- Update dependency inquirer to v12 [`#290`](https://github.com/JohT/data-restructor-js/pull/290)
|
|
33
|
+
- Update dependency jasmine to v5.3.1 [`#288`](https://github.com/JohT/data-restructor-js/pull/288)
|
|
34
|
+
- Update eslint monorepo to v9.11.0 (minor) [`#284`](https://github.com/JohT/data-restructor-js/pull/284)
|
|
35
|
+
- Update dependency inquirer to v11.0.2 [`#282`](https://github.com/JohT/data-restructor-js/pull/282)
|
|
36
|
+
- Update dependency lmdb to v3.1.2 [`#281`](https://github.com/JohT/data-restructor-js/pull/281)
|
|
37
|
+
- Update dependency inquirer to v11 [`#279`](https://github.com/JohT/data-restructor-js/pull/279)
|
|
38
|
+
- Update dependency lmdb to v3.1.1 [`#280`](https://github.com/JohT/data-restructor-js/pull/280)
|
|
39
|
+
- Update eslint monorepo to v9.10.0 (minor) [`#274`](https://github.com/JohT/data-restructor-js/pull/274)
|
|
40
|
+
- Update dependency inquirer to v10.2.0 [`#272`](https://github.com/JohT/data-restructor-js/pull/272)
|
|
41
|
+
- Update dependency inquirer to v10.0.4 [`#258`](https://github.com/JohT/data-restructor-js/pull/258)
|
|
42
|
+
- Update dependency inquirer to v10.0.1 [`#253`](https://github.com/JohT/data-restructor-js/pull/253)
|
|
43
|
+
- Update dependency inquirer to v10 [`#252`](https://github.com/JohT/data-restructor-js/pull/252)
|
|
44
|
+
- Update dependency inquirer to v9.3.5 [`#251`](https://github.com/JohT/data-restructor-js/pull/251)
|
|
45
|
+
- Update dependency inquirer to v9.3.4 [`#250`](https://github.com/JohT/data-restructor-js/pull/250)
|
|
46
|
+
- Update dependency inquirer to v9.3.1 [`#246`](https://github.com/JohT/data-restructor-js/pull/246)
|
|
47
|
+
|
|
48
|
+
## [v3.4.3](https://github.com/JohT/data-restructor-js/compare/v3.4.2...v3.4.3) (15 June 2024)
|
|
49
|
+
|
|
50
|
+
### Changes
|
|
51
|
+
|
|
52
|
+
- Pin dependency @eslint/js to 9.1.1 [`#221`](https://github.com/JohT/data-restructor-js/pull/221)
|
|
53
|
+
|
|
54
|
+
### Dependency Updates
|
|
55
|
+
|
|
56
|
+
- Update actions/checkout digest to 692973e [`#243`](https://github.com/JohT/data-restructor-js/pull/243)
|
|
57
|
+
- Update dependency lmdb to v3.0.12 [`#242`](https://github.com/JohT/data-restructor-js/pull/242)
|
|
58
|
+
- Update dependency lmdb to v3.0.10 [`#237`](https://github.com/JohT/data-restructor-js/pull/237)
|
|
59
|
+
- Update dependency lmdb to v3.0.9 [`#236`](https://github.com/JohT/data-restructor-js/pull/236)
|
|
60
|
+
- Update eslint monorepo to v9.3.0 (minor) [`#234`](https://github.com/JohT/data-restructor-js/pull/234)
|
|
61
|
+
- Update dependency inquirer to v9.2.21 [`#232`](https://github.com/JohT/data-restructor-js/pull/232)
|
|
62
|
+
- Update actions/checkout digest to 0ad4b8f [`#231`](https://github.com/JohT/data-restructor-js/pull/231)
|
|
63
|
+
- Update dependency istanbul-badges-readme to v1.9.0 [`#229`](https://github.com/JohT/data-restructor-js/pull/229)
|
|
64
|
+
- Update dependency jsdoc to v4.0.3 [`#226`](https://github.com/JohT/data-restructor-js/pull/226)
|
|
65
|
+
- Update dependency lmdb to v3.0.8 [`#225`](https://github.com/JohT/data-restructor-js/pull/225)
|
|
66
|
+
- Update dependency inquirer to v9.2.20 [`#223`](https://github.com/JohT/data-restructor-js/pull/223)
|
|
67
|
+
- Update actions/checkout digest to 0ad4b8f [`#222`](https://github.com/JohT/data-restructor-js/pull/222)
|
|
68
|
+
- Update dependency eslint to v9 [`#214`](https://github.com/JohT/data-restructor-js/pull/214)
|
|
69
|
+
- Update dependency lmdb to v3.0.6 [`#218`](https://github.com/JohT/data-restructor-js/pull/218)
|
|
70
|
+
- Update dependency lmdb to v3 [`#209`](https://github.com/JohT/data-restructor-js/pull/209)
|
|
71
|
+
- Update dependency lmdb to v2.9.4 [`#207`](https://github.com/JohT/data-restructor-js/pull/207)
|
|
72
|
+
- Update dependency parcel to v2.12.0 [`#206`](https://github.com/JohT/data-restructor-js/pull/206)
|
|
73
|
+
- Update dependency inquirer to v9.2.15 [`#204`](https://github.com/JohT/data-restructor-js/pull/204)
|
|
74
|
+
- Update dependency parcel to v2.11.0 [`#201`](https://github.com/JohT/data-restructor-js/pull/201)
|
|
75
|
+
- Update actions/upload-artifact action to v4 [`#199`](https://github.com/JohT/data-restructor-js/pull/199)
|
|
76
|
+
- Update github/codeql-action action to v3 [`#198`](https://github.com/JohT/data-restructor-js/pull/198)
|
|
77
|
+
- Update Node.js to v20 [`#188`](https://github.com/JohT/data-restructor-js/pull/188)
|
|
78
|
+
- Update dependency lmdb to v2.9.2 [`#197`](https://github.com/JohT/data-restructor-js/pull/197)
|
|
79
|
+
- Update dependency parcel to v2.10.3 [`#193`](https://github.com/JohT/data-restructor-js/pull/193)
|
|
80
|
+
- Update dependency parcel to v2.10.2 [`#190`](https://github.com/JohT/data-restructor-js/pull/190)
|
|
81
|
+
- Update actions/setup-node action to v4 [`#187`](https://github.com/JohT/data-restructor-js/pull/187)
|
|
12
82
|
|
|
13
83
|
## [v3.4.2](https://github.com/JohT/data-restructor-js/compare/v3.4.1...v3.4.2) (20 October 2023)
|
|
14
84
|
|
package/CONTRIBUTING.md
CHANGED
|
@@ -54,7 +54,7 @@ This project and everyone participating in it is governed by the [Code of Conduc
|
|
|
54
54
|
|
|
55
55
|
This section guides you through submitting a bug report for the search menu UI. Following these guidelines helps maintainers and the community understand your report :pencil:, reproduce the behavior :computer: :computer:, and find related reports :mag_right:.
|
|
56
56
|
|
|
57
|
-
Before creating bug reports, please check [this list](#before-submitting-a-bug-report) as you might find out that you don't need to create one. When you are creating a bug report, please [include as many details as possible](#how-do-i-submit-a-good-bug-report). Fill out [the required template](https://github.com/JohT/data-restructor-js/blob/
|
|
57
|
+
Before creating bug reports, please check [this list](#before-submitting-a-bug-report) as you might find out that you don't need to create one. When you are creating a bug report, please [include as many details as possible](#how-do-i-submit-a-good-bug-report). Fill out [the required template](https://github.com/JohT/data-restructor-js/blob/main/.github/ISSUE_TEMPLATE/bug_report.md), the information it asks for helps us resolve issues faster.
|
|
58
58
|
|
|
59
59
|
> **Note:** If you find a **Closed** issue that seems like it is the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one.
|
|
60
60
|
|
|
@@ -64,7 +64,7 @@ Before creating bug reports, please check [this list](#before-submitting-a-bug-r
|
|
|
64
64
|
|
|
65
65
|
#### How Do I Submit A (Good) Bug Report?
|
|
66
66
|
|
|
67
|
-
Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). Create an issue and provide the following information by filling in [the template](https://github.com/JohT/data-restructor-js/blob/
|
|
67
|
+
Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). Create an issue and provide the following information by filling in [the template](https://github.com/JohT/data-restructor-js/blob/main/.github/ISSUE_TEMPLATE/bug_report.md).
|
|
68
68
|
|
|
69
69
|
Explain the problem and include additional details to help maintainers reproduce the problem:
|
|
70
70
|
|
|
@@ -93,7 +93,7 @@ Include details about your configuration and environment:
|
|
|
93
93
|
|
|
94
94
|
This section guides you through submitting an enhancement suggestion for the search menu UI, including completely new features and minor improvements to existing functionality. Following these guidelines helps maintainers and the community understand your suggestion :pencil: and find related suggestions :mag_right:.
|
|
95
95
|
|
|
96
|
-
Before creating enhancement suggestions, please check [this list](#before-submitting-an-enhancement-suggestion) as you might find out that you don't need to create one. When you are creating an enhancement suggestion, please [include as many details as possible](#how-do-i-submit-a-good-enhancement-suggestion). Fill in [the template](https://github.com/JohT/data-restructor-js/blob/
|
|
96
|
+
Before creating enhancement suggestions, please check [this list](#before-submitting-an-enhancement-suggestion) as you might find out that you don't need to create one. When you are creating an enhancement suggestion, please [include as many details as possible](#how-do-i-submit-a-good-enhancement-suggestion). Fill in [the template](https://github.com/JohT/data-restructor-js/blob/main/.github/ISSUE_TEMPLATE/feature_request.md), including the steps that you imagine you would take if the feature you're requesting existed.
|
|
97
97
|
|
|
98
98
|
#### Before Submitting An Enhancement Suggestion
|
|
99
99
|
|
package/README.md
CHANGED
|
@@ -36,20 +36,20 @@ npm install data-restructor
|
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
Alternatively, the sources can be found inside the
|
|
39
|
-
[source folder](https://github.com/JohT/data-restructor-js/tree/
|
|
39
|
+
[source folder](https://github.com/JohT/data-restructor-js/tree/main/src/):
|
|
40
40
|
|
|
41
|
-
- [datarestructor.js](https://github.com/JohT/data-restructor-js/blob/
|
|
42
|
-
- [templateResolver.js](https://github.com/JohT/data-restructor-js/blob/
|
|
43
|
-
- [describedfield.js](https://github.com/JohT/data-restructor-js/blob/
|
|
41
|
+
- [datarestructor.js](https://github.com/JohT/data-restructor-js/blob/main/src/js/datarestructor.js)
|
|
42
|
+
- [templateResolver.js](https://github.com/JohT/data-restructor-js/blob/main/src/js/templateResolver.js)
|
|
43
|
+
- [describedfield.js](https://github.com/JohT/data-restructor-js/blob/main/src/js/describedfield.js)
|
|
44
44
|
|
|
45
45
|
The development artifacts (not minified) can be found inside the
|
|
46
|
-
[devdist folder](https://github.com/JohT/data-restructor-js/tree/
|
|
46
|
+
[devdist folder](https://github.com/JohT/data-restructor-js/tree/main/devdist):
|
|
47
47
|
|
|
48
|
-
- [datarestructor-ie-global-all.js](https://github.com/JohT/data-restructor-js/blob/
|
|
49
|
-
- [datarestructor-global-all.js](https://github.com/JohT/data-restructor-js/blob/
|
|
50
|
-
- [datarestructor.js](https://github.com/JohT/data-restructor-js/blob/
|
|
51
|
-
- [templateResolver.js](https://github.com/JohT/data-restructor-js/blob/
|
|
52
|
-
- [describedfield.js](https://github.com/JohT/data-restructor-js/blob/
|
|
48
|
+
- [datarestructor-ie-global-all.js](https://github.com/JohT/data-restructor-js/blob/main/devdist/datarestructor-ie-global-all.js) all sources including polyfills merged to be used without module system
|
|
49
|
+
- [datarestructor-global-all.js](https://github.com/JohT/data-restructor-js/blob/main/devdist/datarestructor-global-all.js) all sources without polyfills merged to be used without module system
|
|
50
|
+
- [datarestructor.js](https://github.com/JohT/data-restructor-js/blob/main/devdist/datarestructor.js)
|
|
51
|
+
- [templateResolver.js](https://github.com/JohT/data-restructor-js/blob/main/devdist/templateResolver.js)
|
|
52
|
+
- [describedfield.js](https://github.com/JohT/data-restructor-js/blob/main/devdist/describedfield.js)
|
|
53
53
|
|
|
54
54
|
Here are some code examples on how these modules can be imported:
|
|
55
55
|
|
|
@@ -60,16 +60,16 @@ var datarestructor = datarestructor || require("data-restructor/devdist/datarest
|
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
The built (minified) versions can be found inside the
|
|
63
|
-
[distribution folder](https://github.com/JohT/data-restructor-js/tree/
|
|
63
|
+
[distribution folder](https://github.com/JohT/data-restructor-js/tree/main/dist):
|
|
64
64
|
|
|
65
|
-
- [datarestructor-ie-global-all-min.js](https://github.com/JohT/data-restructor-js/blob/
|
|
66
|
-
- [datarestructor-global-all-min.js](https://github.com/JohT/data-restructor-js/blob/
|
|
67
|
-
- [datarestructor.js](https://github.com/JohT/data-restructor-js/blob/
|
|
68
|
-
- [datarestructor-ie.js](https://github.com/JohT/data-restructor-js/blob/
|
|
69
|
-
- [templateResolver.js](https://github.com/JohT/data-restructor-js/blob/
|
|
70
|
-
- [templateResolver-ie.js](https://github.com/JohT/data-restructor-js/blob/
|
|
71
|
-
- [describedfield.js](https://github.com/JohT/data-restructor-js/blob/
|
|
72
|
-
- [describedfield-ie.js](https://github.com/JohT/data-restructor-js/blob/
|
|
65
|
+
- [datarestructor-ie-global-all-min.js](https://github.com/JohT/data-restructor-js/blob/main/dist/datarestructor-ie-global-all-min.js) all sources including polyfills merged and minified to be used without module system
|
|
66
|
+
- [datarestructor-global-all-min.js](https://github.com/JohT/data-restructor-js/blob/main/dist/datarestructor-global-all-min.js) all sources without polyfills merged and minified to be used without module system
|
|
67
|
+
- [datarestructor.js](https://github.com/JohT/data-restructor-js/blob/main/dist/datarestructor.js)
|
|
68
|
+
- [datarestructor-ie.js](https://github.com/JohT/data-restructor-js/blob/main/dist/datarestructor-ie.js) (full compatibility with IE)
|
|
69
|
+
- [templateResolver.js](https://github.com/JohT/data-restructor-js/blob/main/dist/templateResolver.js)
|
|
70
|
+
- [templateResolver-ie.js](https://github.com/JohT/data-restructor-js/blob/main/dist/templateResolver-ie.js) (full compatibility with IE)
|
|
71
|
+
- [describedfield.js](https://github.com/JohT/data-restructor-js/blob/main/dist/describedfield.js)
|
|
72
|
+
- [describedfield-ie.js](https://github.com/JohT/data-restructor-js/blob/main/dist/describedfield-ie.js) (full compatibility with IE)
|
|
73
73
|
|
|
74
74
|
## Code Documentation
|
|
75
75
|
|
|
@@ -91,7 +91,7 @@ npm run package
|
|
|
91
91
|
|
|
92
92
|
As a starting point you may have a look at the following example.
|
|
93
93
|
A running, comprehensive example can be found here:
|
|
94
|
-
[DataRestructorUseCaseTest.js](https://github.com/JohT/data-restructor-js/blob/
|
|
94
|
+
[DataRestructorUseCaseTest.js](https://github.com/JohT/data-restructor-js/blob/main/test/js/DataRestructorUseCaseTest.js)
|
|
95
95
|
|
|
96
96
|
### Input Object
|
|
97
97
|
|
|
@@ -516,11 +516,11 @@ That leads to recursion and duplication, that need to be limited. This can be co
|
|
|
516
516
|
|
|
517
517
|
Although this project doesn't use any runtime dependencies, it is created using these great tools:
|
|
518
518
|
|
|
519
|
-
- [ESLint](https://eslint.org) - [MIT License](https://github.com/eslint/eslint/blob/
|
|
519
|
+
- [ESLint](https://eslint.org) - [MIT License](https://github.com/eslint/eslint/blob/main/LICENSE)
|
|
520
520
|
- [istanbul-badges-readme](https://www.npmjs.com/package/istanbul-badges-readme) - [MIT License](https://github.com/olavoparno/istanbul-badges-readme/blob/develop/LICENSE)
|
|
521
521
|
- [Jasmine](https://jasmine.github.io) - [MIT License](https://github.com/jasmine/jasmine/blob/main/MIT.LICENSE)
|
|
522
|
-
- [JSDoc](https://jsdoc.app) - [Apache Licence 2.0](https://github.com/jsdoc/jsdoc/blob/
|
|
523
|
-
- [merger-js](https://github.com/joao-neves95/merger-js) - [GNU General Public License v3.0](https://github.com/joao-neves95/merger-js/blob/
|
|
524
|
-
- [NYC aka Istanbul](https://istanbul.js.org) - [ISC License](https://github.com/istanbuljs/nyc/blob/
|
|
522
|
+
- [JSDoc](https://jsdoc.app) - [Apache Licence 2.0](https://github.com/jsdoc/jsdoc/blob/main/LICENSE)
|
|
523
|
+
- [merger-js](https://github.com/joao-neves95/merger-js) - [GNU General Public License v3.0](https://github.com/joao-neves95/merger-js/blob/main/LICENSE.md)
|
|
524
|
+
- [NYC aka Istanbul](https://istanbul.js.org) - [ISC License](https://github.com/istanbuljs/nyc/blob/main/LICENSE.txt)
|
|
525
525
|
- [PARCEL](https://v2.parceljs.org) - [MIT License](https://github.com/parcel-bundler/parcel/blob/v2/LICENSE)
|
|
526
|
-
- [merger-js](https://github.com/joao-neves95/merger-js) - [GNU General Public License v3.0](https://github.com/joao-neves95/merger-js/blob/
|
|
526
|
+
- [merger-js](https://github.com/joao-neves95/merger-js) - [GNU General Public License v3.0](https://github.com/joao-neves95/merger-js/blob/main/LICENSE.md)
|