@boost/common
Advanced tools
Comparing version 1.1.3 to 1.2.0
@@ -6,2 +6,14 @@ # Change Log | ||
## 1.2.0 - 2019-08-03 | ||
#### 🚀 Updates | ||
- Migrate to new RuntimeError layer. ([0793ffd](https://github.com/milesj/boost/tree/master/packages/common/commit/0793ffd)) | ||
**Note:** Version bump only for package @boost/common | ||
### 1.1.3 - 2019-08-01 | ||
@@ -8,0 +20,0 @@ |
@@ -10,2 +10,3 @@ "use strict"; | ||
const js_yaml_1 = __importDefault(require("js-yaml")); | ||
const internal_1 = require("@boost/internal"); | ||
const requireModule_1 = __importDefault(require("./requireModule")); | ||
@@ -16,3 +17,3 @@ function parseFile(filePath) { | ||
if (!path_1.default.isAbsolute(filePath)) { | ||
throw new Error('An absolute file path is required.'); | ||
throw new internal_1.RuntimeError('common', 'CM_REQ_ABS_PATH'); | ||
} | ||
@@ -30,5 +31,5 @@ switch (ext) { | ||
default: | ||
throw new Error(`Unable to parse file "${name}". Unsupported file extension.`); | ||
throw new internal_1.RuntimeError('common', 'CM_PARSE_INVALID_EXT', [name]); | ||
} | ||
} | ||
exports.default = parseFile; |
{ | ||
"name": "@boost/common", | ||
"version": "1.1.3", | ||
"version": "1.2.0", | ||
"description": "Common utilities for Boost applications.", | ||
@@ -22,2 +22,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@boost/internal": "^1.0.0", | ||
"js-yaml": "^3.13.1", | ||
@@ -33,3 +34,3 @@ "json5": "^2.1.0", | ||
}, | ||
"gitHead": "cf50d411c778a661520be41b0ea1042b31ce900d" | ||
"gitHead": "df95147bce94ffa5bdddd011edf3d4261255f094" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18347
35
239
5
+ Added@boost/internal@^1.0.0
+ Added@boost/internal@1.2.0(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedchalk@3.0.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedms@2.1.3(transitive)
+ Addedsupports-color@7.2.0(transitive)