🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
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

to
1.8.0

lib/helpers/createBlueprint.d.ts

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

## 1.8.0 - 2020-01-25
#### 🚀 Updates
- Add `createBlueprint()` helper function. ([7047424](https://github.com/milesj/boost/commit/7047424))
- Export optimal predicates from the index. ([cac3fc7](https://github.com/milesj/boost/commit/cac3fc7))
#### 📦 Dependencies
- **[optimal]** Update to v3.4. ([2ef70ff](https://github.com/milesj/boost/commit/2ef70ff))
- **[optimal]** Update to v4. ([d52cc7c](https://github.com/milesj/boost/commit/d52cc7c))
**Note:** Version bump only for package @boost/common
## 1.7.0 - 2019-12-27

@@ -8,0 +26,0 @@

2

lib/Contract.js

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

writable: true,
value: void 0
value: options
});

@@ -20,0 +20,0 @@ this.options = this.configure(options);

@@ -0,1 +1,2 @@

export { default as createBlueprint } from './createBlueprint';
export { default as formatMs } from './formatMs';

@@ -2,0 +3,0 @@ export { default as instanceOf } from './instanceOf';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var createBlueprint_1 = require("./createBlueprint");
exports.createBlueprint = createBlueprint_1.default;
var formatMs_1 = require("./formatMs");

@@ -4,0 +6,0 @@ exports.formatMs = formatMs_1.default;

@@ -5,3 +5,3 @@ /**

*/
import optimal, { Blueprint, Predicates } from 'optimal';
import optimal, { predicates, Blueprint, Predicates } from 'optimal';
import Contract from './Contract';

@@ -12,3 +12,3 @@ import Path from './Path';

export * from './types';
export { Contract, Blueprint, Path, PathResolver, Predicates, optimal };
export { Contract, Blueprint, Path, PathResolver, Predicates, optimal, predicates };
//# sourceMappingURL=index.d.ts.map

@@ -9,2 +9,9 @@ "use strict";

}
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -14,4 +21,5 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

Object.defineProperty(exports, "__esModule", { value: true });
const optimal_1 = __importDefault(require("optimal"));
const optimal_1 = __importStar(require("optimal"));
exports.optimal = optimal_1.default;
exports.predicates = optimal_1.predicates;
const Contract_1 = __importDefault(require("./Contract"));

@@ -18,0 +26,0 @@ exports.Contract = Contract_1.default;

@@ -20,5 +20,6 @@ import { Blueprint, Predicates } from 'optimal';

export declare type Constructor<T> = AbstractConstructor<T> | ConcreteConstructor<T>;
export declare type BlueprintFactory<T extends object> = (predicates: Predicates) => Blueprint<T>;
export interface Optionable<T extends object = {}> {
readonly options: Required<T>;
blueprint(predicates: Predicates): Blueprint<T>;
blueprint: BlueprintFactory<T>;
}

@@ -25,0 +26,0 @@ export interface Toolable {

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

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

@@ -25,3 +25,3 @@ "keywords": [

"json5": "^2.1.1",
"optimal": "^3.3.0",
"optimal": "^4.1.1",
"pretty-ms": "^5.1.0"

@@ -36,3 +36,3 @@ },

},
"gitHead": "2121f3e6c0b9a9db0559abd65a889253a74f3c03"
"gitHead": "06877f461f77bd007a1d2e800d25a9f27b275e65"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet