Socket
Socket
Sign inDemoInstall

baset-cli

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baset-cli - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

src/types/glob-promise.d.ts

11

CHANGELOG.md

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

<a name="0.1.0"></a>
# [0.1.0](https://github.com/Igmat/baset/compare/v0.0.1...v0.1.0) (2018-01-17)
### Features
* **Core:** Added simple comparison between temp and existing baseline ([f0a775b](https://github.com/Igmat/baset/commit/f0a775b))
<a name="0.0.1"></a>

@@ -8,0 +19,0 @@ ## 0.0.1 (2018-01-16)

"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const baset_core_1 = require("baset-core");
const glob = require("glob-promise");
const path = require("path");
function init() {
return __awaiter(this, void 0, void 0, function* () {
const [specs, baselines] = yield Promise.all([glob('**/*.spec.js'), glob('**/*.base')]);
baset_core_1.test(specs.map(spec => path.resolve(spec)), baselines.map(base => path.resolve(base)));
});
}
exports.init = init;
//# sourceMappingURL=index.js.map

11

package.json
{
"name": "baset-cli",
"version": "0.0.1",
"version": "0.1.0",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {

@@ -10,3 +11,3 @@ "build": "npm run tslint && tsc",

"tslint": "tslint -c tslint.json -p tsconfig.json",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "baset"
},

@@ -16,2 +17,4 @@ "author": "",

"devDependencies": {
"@types/glob": "^5.0.34",
"@types/node": "^9.3.0",
"tslint": "^5.9.1",

@@ -21,4 +24,6 @@ "typescript": "^2.6.2"

"dependencies": {
"baset-core": "^0.0.1"
"baset-core": "^0.1.0",
"glob": "^7.1.2",
"glob-promise": "^3.3.0"
}
}

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