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.
- package/.github/workflows/codeql-analysis.yml +4 -4
- package/.github/workflows/continuous-integration.yaml +23 -10
- package/CHANGELOG.md +25 -1
- package/coverage/coverage-summary.json +4 -4
- package/coverage/datarestructor.js.html +137 -137
- package/coverage/describedfield.js.html +45 -45
- package/coverage/index.html +6 -6
- package/coverage/templateResolver.js.html +26 -26
- package/devdist/datarestructor-ie.js +19 -19
- package/devdist/datarestructor.js +9 -9
- package/devdist/describedfield-ie.js +4 -4
- package/devdist/describedfield.js +2 -2
- package/devdist/templateResolver-ie.js +10 -10
- package/devdist/templateResolver.js +4 -4
- 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 +1 -1
- 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/eslint.config.js +15 -0
- package/package.json +13 -12
- package/.eslintrc.json +0 -13
|
@@ -39,11 +39,11 @@ jobs:
|
|
|
39
39
|
|
|
40
40
|
steps:
|
|
41
41
|
- name: Checkout repository
|
|
42
|
-
uses: actions/checkout@
|
|
42
|
+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
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@v3
|
|
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@v3
|
|
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@v3
|
|
@@ -23,14 +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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
27
27
|
with:
|
|
28
28
|
token: ${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }}
|
|
29
|
+
- name: Get GIT tags for auto-changelog generation (startingVersion config option)
|
|
30
|
+
run: git fetch --tags origin
|
|
29
31
|
|
|
30
32
|
# Build
|
|
31
|
-
- uses: actions/setup-node@
|
|
33
|
+
- uses: actions/setup-node@v4
|
|
32
34
|
with:
|
|
33
|
-
node-version: '
|
|
35
|
+
node-version: '20'
|
|
34
36
|
- name: Install node packages
|
|
35
37
|
run: npm ci
|
|
36
38
|
- name: Build package (lint, test, build, package, merge)
|
|
@@ -38,28 +40,35 @@ jobs:
|
|
|
38
40
|
|
|
39
41
|
# Archive generated or updated files
|
|
40
42
|
- name: Archive code coverage results
|
|
41
|
-
uses: actions/upload-artifact@
|
|
43
|
+
uses: actions/upload-artifact@v4
|
|
42
44
|
with:
|
|
43
45
|
name: test-code-coverage-report
|
|
44
46
|
path: coverage
|
|
45
47
|
retention-days: 14
|
|
46
48
|
if-no-files-found: error
|
|
47
49
|
- name: Archive documentation
|
|
48
|
-
uses: actions/upload-artifact@
|
|
50
|
+
uses: actions/upload-artifact@v4
|
|
49
51
|
with:
|
|
50
52
|
name: documentation
|
|
51
53
|
path: docs
|
|
52
54
|
retention-days: 14
|
|
53
55
|
if-no-files-found: error
|
|
56
|
+
- name: Archive CHANGELOG.md
|
|
57
|
+
uses: actions/upload-artifact@v4
|
|
58
|
+
with:
|
|
59
|
+
name: changelog
|
|
60
|
+
path: CHANGELOG.md
|
|
61
|
+
retention-days: 14
|
|
62
|
+
if-no-files-found: error
|
|
54
63
|
- name: Archive build artifacts
|
|
55
|
-
uses: actions/upload-artifact@
|
|
64
|
+
uses: actions/upload-artifact@v4
|
|
56
65
|
with:
|
|
57
66
|
name: distribution-production
|
|
58
67
|
path: dist
|
|
59
68
|
retention-days: 14
|
|
60
69
|
if-no-files-found: error
|
|
61
70
|
- name: Archive build artifacts
|
|
62
|
-
uses: actions/upload-artifact@
|
|
71
|
+
uses: actions/upload-artifact@v4
|
|
63
72
|
with:
|
|
64
73
|
name: distribution-development
|
|
65
74
|
path: devdist
|
|
@@ -77,8 +86,12 @@ jobs:
|
|
|
77
86
|
if: github.event_name == 'push'
|
|
78
87
|
run: |
|
|
79
88
|
git config --global user.name '${{ env.CI_COMMIT_AUTHOR }}'
|
|
80
|
-
git config --global user.email
|
|
81
|
-
git
|
|
89
|
+
git config --global user.email "7671054+JohT@users.noreply.github.com"
|
|
90
|
+
git fetch origin
|
|
91
|
+
git status
|
|
82
92
|
git add coverage devdist dist docs *.md
|
|
83
93
|
git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
|
|
84
|
-
git
|
|
94
|
+
git status
|
|
95
|
+
git rebase --strategy-option=theirs origin/master --verbose
|
|
96
|
+
git status
|
|
97
|
+
git push --verbose
|
package/CHANGELOG.md
CHANGED
|
@@ -8,7 +8,31 @@ 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.3](https://github.com/JohT/data-restructor-js/compare/v3.4.2...master) (upcoming)
|
|
12
|
+
|
|
13
|
+
## [v3.4.2](https://github.com/JohT/data-restructor-js/compare/v3.4.1...v3.4.2) (20 October 2023)
|
|
14
|
+
|
|
15
|
+
### Changes
|
|
16
|
+
|
|
17
|
+
- Add CHANGELOG.md regeneration to continuous integration pipeline [`#142`](https://github.com/JohT/data-restructor-js/pull/142)
|
|
18
|
+
|
|
19
|
+
### Dependency Updates
|
|
20
|
+
|
|
21
|
+
- Update actions/checkout digest to b4ffde6 [`#185`](https://github.com/JohT/data-restructor-js/pull/185)
|
|
22
|
+
- Update actions/checkout action to v4 [`#178`](https://github.com/JohT/data-restructor-js/pull/178)
|
|
23
|
+
- Update dependency lmdb to v2.8.4 [`#171`](https://github.com/JohT/data-restructor-js/pull/171)
|
|
24
|
+
- Update dependency parcel to v2.9.3 [`#165`](https://github.com/JohT/data-restructor-js/pull/165)
|
|
25
|
+
- Update dependency lmdb to v2.8.2 [`#164`](https://github.com/JohT/data-restructor-js/pull/164)
|
|
26
|
+
- Update dependency eslint to v8.42.0 [`#157`](https://github.com/JohT/data-restructor-js/pull/157)
|
|
27
|
+
- Update dependency lmdb to v2.8.0 [`#154`](https://github.com/JohT/data-restructor-js/pull/154)
|
|
28
|
+
- Update dependency parcel to v2.9.1 [`#155`](https://github.com/JohT/data-restructor-js/pull/155)
|
|
29
|
+
- Update dependency jasmine to v5 [`#156`](https://github.com/JohT/data-restructor-js/pull/156)
|
|
30
|
+
- Update dependency inquirer to v9.2.0 [`#151`](https://github.com/JohT/data-restructor-js/pull/151)
|
|
31
|
+
- Update dependency eslint to v8.38.0 [`#149`](https://github.com/JohT/data-restructor-js/pull/149)
|
|
32
|
+
- Update dependency eslint to v8.37.0 [`#148`](https://github.com/JohT/data-restructor-js/pull/148)
|
|
33
|
+
- Update dependency inquirer to v9.1.5 [`#146`](https://github.com/JohT/data-restructor-js/pull/146)
|
|
34
|
+
|
|
35
|
+
## [v3.4.1](https://github.com/JohT/data-restructor-js/compare/v3.4.0...v3.4.1) (28 February 2023)
|
|
12
36
|
|
|
13
37
|
### Changes
|
|
14
38
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{"total": {"lines":{"total":461,"covered":455,"skipped":0,"pct":98.
|
|
2
|
-
,"/
|
|
3
|
-
,"/
|
|
4
|
-
,"/
|
|
1
|
+
{"total": {"lines":{"total":461,"covered":455,"skipped":0,"pct":98.69},"statements":{"total":470,"covered":462,"skipped":0,"pct":98.29},"functions":{"total":108,"covered":106,"skipped":0,"pct":98.14},"branches":{"total":167,"covered":158,"skipped":0,"pct":94.61},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":"Unknown"}}
|
|
2
|
+
,"/home/runner/work/data-restructor-js/data-restructor-js/src/js/datarestructor.js": {"lines":{"total":340,"covered":335,"skipped":0,"pct":98.52},"functions":{"total":76,"covered":75,"skipped":0,"pct":98.68},"statements":{"total":349,"covered":342,"skipped":0,"pct":97.99},"branches":{"total":128,"covered":119,"skipped":0,"pct":92.96}}
|
|
3
|
+
,"/home/runner/work/data-restructor-js/data-restructor-js/src/js/describedfield.js": {"lines":{"total":70,"covered":69,"skipped":0,"pct":98.57},"functions":{"total":22,"covered":21,"skipped":0,"pct":95.45},"statements":{"total":70,"covered":69,"skipped":0,"pct":98.57},"branches":{"total":21,"covered":21,"skipped":0,"pct":100}}
|
|
4
|
+
,"/home/runner/work/data-restructor-js/data-restructor-js/src/js/templateResolver.js": {"lines":{"total":51,"covered":51,"skipped":0,"pct":100},"functions":{"total":10,"covered":10,"skipped":0,"pct":100},"statements":{"total":51,"covered":51,"skipped":0,"pct":100},"branches":{"total":18,"covered":18,"skipped":0,"pct":100}}
|
|
5
5
|
}
|