Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@boost/common

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boost/common - npm Package Compare versions

Comparing version 1.1.3 to 1.2.0

res/errors.json

12

CHANGELOG.md

@@ -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 @@

5

lib/helpers/parseFile.js

@@ -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"
}
lib/helpers/parseFile.d.ts.map

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc