@thi.ng/resolve-map 5.0.3 → 5.0.8
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/CHANGELOG.md +54 -62
- package/README.md +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [5.0.
|
|
6
|
+
## [5.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@5.0.7...@thi.ng/resolve-map@5.0.8) (2021-11-10)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @thi.ng/resolve-map
|
|
9
9
|
|
|
@@ -11,15 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
## [5.0.
|
|
15
|
-
|
|
16
|
-
**Note:** Version bump only for package @thi.ng/resolve-map
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## [5.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@5.0.0...@thi.ng/resolve-map@5.0.1) (2021-10-13)
|
|
14
|
+
## [5.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@5.0.6...@thi.ng/resolve-map@5.0.7) (2021-11-03)
|
|
23
15
|
|
|
24
16
|
**Note:** Version bump only for package @thi.ng/resolve-map
|
|
25
17
|
|
|
@@ -56,100 +48,100 @@ Also:
|
|
|
56
48
|
|
|
57
49
|
|
|
58
50
|
|
|
59
|
-
# [4.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.1.31...@thi.ng/resolve-map@4.2.0) (2020-07-18)
|
|
51
|
+
# [4.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.1.31...@thi.ng/resolve-map@4.2.0) (2020-07-18)
|
|
60
52
|
|
|
61
|
-
### Features
|
|
53
|
+
### Features
|
|
62
54
|
|
|
63
|
-
- **resolve-map:** add support for custom lookup prefix ([bf89503](https://github.com/thi-ng/umbrella/commit/bf89503424887018d120d3960d9d86a992c31c91))
|
|
55
|
+
- **resolve-map:** add support for custom lookup prefix ([bf89503](https://github.com/thi-ng/umbrella/commit/bf89503424887018d120d3960d9d86a992c31c91))
|
|
64
56
|
|
|
65
|
-
## [4.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.1.1...@thi.ng/resolve-map@4.1.2) (2019-07-08)
|
|
57
|
+
## [4.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.1.1...@thi.ng/resolve-map@4.1.2) (2019-07-08)
|
|
66
58
|
|
|
67
|
-
### Bug Fixes
|
|
59
|
+
### Bug Fixes
|
|
68
60
|
|
|
69
|
-
- **resolve-map:** fix [#97](https://github.com/thi-ng/umbrella/issues/97), update to consider trailing comma & whitespace ([de9532b](https://github.com/thi-ng/umbrella/commit/de9532b))
|
|
61
|
+
- **resolve-map:** fix [#97](https://github.com/thi-ng/umbrella/issues/97), update to consider trailing comma & whitespace ([de9532b](https://github.com/thi-ng/umbrella/commit/de9532b))
|
|
70
62
|
|
|
71
|
-
## [4.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.1.0...@thi.ng/resolve-map@4.1.1) (2019-07-08)
|
|
63
|
+
## [4.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.1.0...@thi.ng/resolve-map@4.1.1) (2019-07-08)
|
|
72
64
|
|
|
73
|
-
### Bug Fixes
|
|
65
|
+
### Bug Fixes
|
|
74
66
|
|
|
75
|
-
- **resolve-map:** fix [#97](https://github.com/thi-ng/umbrella/issues/97), update fn arg destructuring ([e68dc19](https://github.com/thi-ng/umbrella/commit/e68dc19))
|
|
67
|
+
- **resolve-map:** fix [#97](https://github.com/thi-ng/umbrella/issues/97), update fn arg destructuring ([e68dc19](https://github.com/thi-ng/umbrella/commit/e68dc19))
|
|
76
68
|
|
|
77
|
-
# [4.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.0.12...@thi.ng/resolve-map@4.1.0) (2019-07-07)
|
|
69
|
+
# [4.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.0.12...@thi.ng/resolve-map@4.1.0) (2019-07-07)
|
|
78
70
|
|
|
79
|
-
### Features
|
|
71
|
+
### Features
|
|
80
72
|
|
|
81
|
-
- **resolve-map:** enable TS strict compiler flags (refactor) ([7e7ff2a](https://github.com/thi-ng/umbrella/commit/7e7ff2a))
|
|
73
|
+
- **resolve-map:** enable TS strict compiler flags (refactor) ([7e7ff2a](https://github.com/thi-ng/umbrella/commit/7e7ff2a))
|
|
82
74
|
|
|
83
|
-
# [4.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@3.0.16...@thi.ng/resolve-map@4.0.0) (2019-01-21)
|
|
75
|
+
# [4.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@3.0.16...@thi.ng/resolve-map@4.0.0) (2019-01-21)
|
|
84
76
|
|
|
85
|
-
### Build System
|
|
77
|
+
### Build System
|
|
86
78
|
|
|
87
|
-
- update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
|
|
79
|
+
- update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
|
|
88
80
|
|
|
89
|
-
### BREAKING CHANGES
|
|
81
|
+
### BREAKING CHANGES
|
|
90
82
|
|
|
91
|
-
- enabled multi-outputs (ES6 modules, CJS, UMD)
|
|
92
|
-
- build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
93
|
-
- all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
|
|
83
|
+
- enabled multi-outputs (ES6 modules, CJS, UMD)
|
|
84
|
+
- build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
85
|
+
- all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
|
|
94
86
|
|
|
95
|
-
## [3.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@3.0.9...@thi.ng/resolve-map@3.0.10) (2018-09-01)
|
|
87
|
+
## [3.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@3.0.9...@thi.ng/resolve-map@3.0.10) (2018-09-01)
|
|
96
88
|
|
|
97
|
-
### Bug Fixes
|
|
89
|
+
### Bug Fixes
|
|
98
90
|
|
|
99
|
-
- **resolve-map:** deep resolve of yet unknown path values ([a710453](https://github.com/thi-ng/umbrella/commit/a710453))
|
|
91
|
+
- **resolve-map:** deep resolve of yet unknown path values ([a710453](https://github.com/thi-ng/umbrella/commit/a710453))
|
|
100
92
|
|
|
101
|
-
## [3.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@3.0.4...@thi.ng/resolve-map@3.0.5) (2018-07-15)
|
|
93
|
+
## [3.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@3.0.4...@thi.ng/resolve-map@3.0.5) (2018-07-15)
|
|
102
94
|
|
|
103
|
-
### Bug Fixes
|
|
95
|
+
### Bug Fixes
|
|
104
96
|
|
|
105
|
-
- **resolve-map:** add support for alt ES6 destructure form `{a: b}` ([2482945](https://github.com/thi-ng/umbrella/commit/2482945))
|
|
97
|
+
- **resolve-map:** add support for alt ES6 destructure form `{a: b}` ([2482945](https://github.com/thi-ng/umbrella/commit/2482945))
|
|
106
98
|
|
|
107
|
-
# [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@2.0.6...@thi.ng/resolve-map@3.0.0) (2018-06-07)
|
|
99
|
+
# [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@2.0.6...@thi.ng/resolve-map@3.0.0) (2018-06-07)
|
|
108
100
|
|
|
109
|
-
### Features
|
|
101
|
+
### Features
|
|
110
102
|
|
|
111
|
-
- **resolve-map:** add cycle detection, fix edge cases ([e61c3b5](https://github.com/thi-ng/umbrella/commit/e61c3b5))
|
|
112
|
-
- **resolve-map:** add ES6 destructuring shorthands for function vals ([57f1ed5](https://github.com/thi-ng/umbrella/commit/57f1ed5))
|
|
103
|
+
- **resolve-map:** add cycle detection, fix edge cases ([e61c3b5](https://github.com/thi-ng/umbrella/commit/e61c3b5))
|
|
104
|
+
- **resolve-map:** add ES6 destructuring shorthands for function vals ([57f1ed5](https://github.com/thi-ng/umbrella/commit/57f1ed5))
|
|
113
105
|
|
|
114
|
-
### BREAKING CHANGES
|
|
106
|
+
### BREAKING CHANGES
|
|
115
107
|
|
|
116
|
-
- **resolve-map:** `resolveMap()` renamed to `resolve()`, update docs
|
|
108
|
+
- **resolve-map:** `resolveMap()` renamed to `resolve()`, update docs
|
|
117
109
|
|
|
118
|
-
## [2.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@2.0.5...@thi.ng/resolve-map@2.0.6) (2018-06-06)
|
|
110
|
+
## [2.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@2.0.5...@thi.ng/resolve-map@2.0.6) (2018-06-06)
|
|
119
111
|
|
|
120
|
-
### Bug Fixes
|
|
112
|
+
### Bug Fixes
|
|
121
113
|
|
|
122
114
|
- **resolve-map:** add private _resolveDeep ([558f4f8](https://github.com/thi-ng/umbrella/commit/558f4f8))
|
|
123
|
-
- **resolve-map:** also use_resolvePath for plain lookups, optimize ([48c796f](https://github.com/thi-ng/umbrella/commit/48c796f))
|
|
115
|
+
- **resolve-map:** also use_resolvePath for plain lookups, optimize ([48c796f](https://github.com/thi-ng/umbrella/commit/48c796f))
|
|
124
116
|
|
|
125
|
-
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@1.0.5...@thi.ng/resolve-map@2.0.0) (2018-05-09)
|
|
117
|
+
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@1.0.5...@thi.ng/resolve-map@2.0.0) (2018-05-09)
|
|
126
118
|
|
|
127
|
-
### Code Refactoring
|
|
119
|
+
### Code Refactoring
|
|
128
120
|
|
|
129
|
-
- **resolve-map:** fix [#21](https://github.com/thi-ng/umbrella/issues/21) ([5d2a3fe](https://github.com/thi-ng/umbrella/commit/5d2a3fe))
|
|
121
|
+
- **resolve-map:** fix [#21](https://github.com/thi-ng/umbrella/issues/21) ([5d2a3fe](https://github.com/thi-ng/umbrella/commit/5d2a3fe))
|
|
130
122
|
|
|
131
|
-
### BREAKING CHANGES
|
|
123
|
+
### BREAKING CHANGES
|
|
132
124
|
|
|
133
|
-
- **resolve-map:** update lookup path prefix & separators
|
|
134
|
-
- lookup paths now are prefixed with `@` instead of `->`
|
|
135
|
-
- all path segments must be separated by `/`
|
|
136
|
-
- update readme & tests
|
|
125
|
+
- **resolve-map:** update lookup path prefix & separators
|
|
126
|
+
- lookup paths now are prefixed with `@` instead of `->`
|
|
127
|
+
- all path segments must be separated by `/`
|
|
128
|
+
- update readme & tests
|
|
137
129
|
|
|
138
|
-
# [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@0.2.0...@thi.ng/resolve-map@1.0.0) (2018-04-16)
|
|
130
|
+
# [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@0.2.0...@thi.ng/resolve-map@1.0.0) (2018-04-16)
|
|
139
131
|
|
|
140
|
-
### Features
|
|
132
|
+
### Features
|
|
141
133
|
|
|
142
|
-
- **resolve-map:** support relative parent refs, update tests/readme ([a379d12](https://github.com/thi-ng/umbrella/commit/a379d12))
|
|
134
|
+
- **resolve-map:** support relative parent refs, update tests/readme ([a379d12](https://github.com/thi-ng/umbrella/commit/a379d12))
|
|
143
135
|
|
|
144
|
-
### BREAKING CHANGES
|
|
136
|
+
### BREAKING CHANGES
|
|
145
137
|
|
|
146
|
-
- **resolve-map:** lookup paths passed to the provided `resolve()` fn inside function values are now relative by default (previously only absolute paths were allowed)
|
|
147
|
-
- remove `resolveArray()` from module exports (use `resolveMap()` instead)
|
|
148
|
-
- add absPath() to compute absolute path
|
|
149
|
-
- add support for "../" ancestor access
|
|
138
|
+
- **resolve-map:** lookup paths passed to the provided `resolve()` fn inside function values are now relative by default (previously only absolute paths were allowed)
|
|
139
|
+
- remove `resolveArray()` from module exports (use `resolveMap()` instead)
|
|
140
|
+
- add absPath() to compute absolute path
|
|
141
|
+
- add support for "../" ancestor access
|
|
150
142
|
|
|
151
|
-
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@0.1.7...@thi.ng/resolve-map@0.2.0) (2018-04-16)
|
|
143
|
+
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@0.1.7...@thi.ng/resolve-map@0.2.0) (2018-04-16)
|
|
152
144
|
|
|
153
|
-
### Features
|
|
145
|
+
### Features
|
|
154
146
|
|
|
155
147
|
- **resolve-map:** resolve each ref only once, re-use resolved results ([6992e82](https://github.com/thi-ng/umbrella/commit/6992e82))
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/resolve-map",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.8",
|
|
4
4
|
"description": "DAG resolution of vanilla objects & arrays with internally linked values",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.0
|
|
38
|
-
"@thi.ng/checks": "^3.0.
|
|
39
|
-
"@thi.ng/errors": "^2.0.
|
|
40
|
-
"@thi.ng/paths": "^5.0.
|
|
37
|
+
"@thi.ng/api": "^8.2.0",
|
|
38
|
+
"@thi.ng/checks": "^3.0.7",
|
|
39
|
+
"@thi.ng/errors": "^2.0.6",
|
|
40
|
+
"@thi.ng/paths": "^5.0.8"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@thi.ng/testament": "^0.1.
|
|
43
|
+
"@thi.ng/testament": "^0.1.6"
|
|
44
44
|
},
|
|
45
45
|
"keywords": [
|
|
46
46
|
"configuration",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
],
|
|
72
72
|
"year": 2018
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159"
|
|
75
75
|
}
|