New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.8.1 to 1.8.2

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

### 1.8.2 - 2020-02-04
#### ⚙️ Types
- Add `PackageStructure` type. ([dcb4f52](https://github.com/milesj/boost/commit/dcb4f52))
#### 📦 Dependencies
- **[optimal]** Update to v4.2. ([85aeb76](https://github.com/milesj/boost/commit/85aeb76))
**Note:** Version bump only for package @boost/common
### 1.8.1 - 2020-01-25

@@ -8,0 +24,0 @@

2

lib/Contract.js

@@ -25,3 +25,3 @@ "use strict";

// @ts-ignore
this.options = Object.freeze(optimal_1.default({ ...this.options, ...nextOptions }, this.blueprint(optimal_1.predicates), {
this.options = Object.freeze(optimal_1.default(Object.assign(Object.assign({}, this.options), nextOptions), this.blueprint(optimal_1.predicates), {
name: this.constructor.name,

@@ -28,0 +28,0 @@ }));

@@ -11,4 +11,4 @@ "use strict";

}
return pretty_ms_1.default(ms, { keepDecimalsOnWholeSeconds: true, ...options });
return pretty_ms_1.default(ms, Object.assign({ keepDecimalsOnWholeSeconds: true }, options));
}
exports.default = formatMs;
import { FilePath, PortablePath } from './types';
export default class Path {
static DELIMITER: ";" | ":";
static DELIMITER: string;
static SEP: string;

@@ -5,0 +5,0 @@ private internalPath;

@@ -28,2 +28,73 @@ import { Blueprint, Predicates } from 'optimal';

}
export interface BugSetting {
url?: string;
email?: string;
}
export interface TypeSetting {
type: string;
url: string;
}
export interface PeopleSetting {
name: string;
email?: string;
url?: string;
}
export interface SettingMap {
[key: string]: string;
}
export interface DependencyMap {
[module: string]: string;
}
export interface PackageStructure {
author?: string | PeopleSetting;
bin?: string | SettingMap;
browser?: string;
browserslist?: string[];
bugs?: string | BugSetting;
bundledDependencies?: string[];
config?: SettingMap;
contributors?: string[] | PeopleSetting[];
cpu?: string[];
dependencies?: DependencyMap;
description?: string;
devDependencies?: DependencyMap;
directories?: SettingMap;
engines?: SettingMap;
exports?: {
[path: string]: string | string[] | SettingMap;
};
files?: string[];
homepage?: string;
keywords?: string[];
license?: string | TypeSetting | TypeSetting[];
main?: string;
man?: string | string[];
name: string;
optionalDependencies?: DependencyMap;
os?: string[];
peerDependencies?: DependencyMap;
private?: boolean;
publishConfig?: {
access?: 'public' | 'restricted';
registry?: string;
tag?: string;
};
repository?: string | TypeSetting;
scripts?: SettingMap;
type?: 'commonjs' | 'module';
version: string;
types?: string;
typesVersions?: {
[version: string]: {
[glob: string]: string[];
};
};
typings?: string;
module?: string;
sideEffects?: boolean | string[];
workspaces?: string[] | {
packages?: string[];
nohoist?: string[];
};
}
//# sourceMappingURL=types.d.ts.map

@@ -8,2 +8,1 @@ "use strict";

})(LookupType = exports.LookupType || (exports.LookupType = {}));
// MISC
{
"name": "@boost/common",
"version": "1.8.1",
"version": "1.8.2",
"description": "Common utilities for Boost applications.",

@@ -23,6 +23,6 @@ "keywords": [

"dependencies": {
"@boost/internal": "^1.0.3",
"@boost/internal": "^1.1.0",
"js-yaml": "^3.13.1",
"json5": "^2.1.1",
"optimal": "^4.1.1",
"optimal": "^4.2.0",
"pretty-ms": "^5.1.0"

@@ -37,3 +37,3 @@ },

},
"gitHead": "415de2e011ad6252dde167d5e4c8a93d3719ea83"
"gitHead": "3c0a3aabc8de08093f34daaa4fbad3b42a7609db"
}

Sorry, the diff of this file is not supported yet

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