@finnair/path 0.7.0 → 1.0.1

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 CHANGED
@@ -3,6 +3,30 @@
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.1](https://github.com/finnair/v-validation/compare/v0.9.1...v1.0.1) (2022-01-20)
7
+
8
+ **Note:** Version bump only for package @finnair/path
9
+
10
+
11
+
12
+
13
+
14
+ # [0.9.0](https://github.com/finnair/v-validation/compare/v0.8.0...v0.9.0) (2020-09-23)
15
+
16
+ **Note:** Version bump only for package @finnair/path
17
+
18
+
19
+
20
+
21
+
22
+ # [0.8.0](https://github.com/finnair/v-validation/compare/v0.7.0...v0.8.0) (2020-09-09)
23
+
24
+ **Note:** Version bump only for package @finnair/path
25
+
26
+
27
+
28
+
29
+
6
30
  # [0.7.0](https://github.com/finnair/v-validation/compare/v0.6.2...v0.7.0) (2020-08-26)
7
31
 
8
32
  **Note:** Version bump only for package @finnair/path
@@ -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" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
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.7.0",
3
+ "version": "1.0.1",
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": "fb72cb84d63f59b6e7374f40852fb8ad212b0b53"
25
+ "gitHead": "890c4bdff08e421a7732e816b1a0c6d5c3653914"
26
26
  }