@finnair/path 0.9.0 → 1.0.0
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 +8 -0
- package/dist/PathMatcher.js +1 -1
- package/dist/index.js +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
# [1.0.0](https://github.com/finnair/v-validation/compare/v0.9.1...v1.0.0) (2022-01-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @finnair/path
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [0.9.0](https://github.com/finnair/v-validation/compare/v0.8.0...v0.9.0) (2020-09-23)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @finnair/path
|
package/dist/PathMatcher.js
CHANGED
|
@@ -123,7 +123,7 @@ class PathMatcher {
|
|
|
123
123
|
if (type === 'string') {
|
|
124
124
|
return new matchers_1.PropertyMatcher(component);
|
|
125
125
|
}
|
|
126
|
-
if (matchers_1.isPathExpression(component)) {
|
|
126
|
+
if ((0, matchers_1.isPathExpression)(component)) {
|
|
127
127
|
return component;
|
|
128
128
|
}
|
|
129
129
|
throw new Error(`Unrecognized PathComponent: ${component} of type ${type}`);
|
package/dist/index.js
CHANGED
|
@@ -7,9 +7,10 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
7
7
|
o[k2] = m[k];
|
|
8
8
|
}));
|
|
9
9
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.Path = void 0;
|
|
13
14
|
var Path_1 = require("./Path");
|
|
14
15
|
Object.defineProperty(exports, "Path", { enumerable: true, get: function () { return Path_1.Path; } });
|
|
15
16
|
__exportStar(require("./PathMatcher"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finnair/path",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Simple object path as array of strings and numbers",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "tsc -b ."
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "bd40a739be8c006e46f0b9f59426f435a971389b"
|
|
26
26
|
}
|