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

baset-core

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baset-core - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

11

CHANGELOG.md

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

<a name="0.2.0"></a>
# [0.2.0](https://github.com/Igmat/baset/compare/v0.1.0...v0.2.0) (2018-01-17)
### Features
* **Core, CLI:** Adding two different commands (test and accept), also introducing yargs to parse ar ([2d98352](https://github.com/Igmat/baset/commit/2d98352))
<a name="0.1.0"></a>

@@ -8,0 +19,0 @@ # [0.1.0](https://github.com/Igmat/baset/compare/v0.0.1...v0.1.0) (2018-01-17)

1

dist/index.d.ts
export declare function test(specs: string[], baselines: string[]): void;
export declare function accept(files: string[]): void;

@@ -27,2 +27,10 @@ "use strict";

exports.test = test;
function accept(files) {
files.forEach(file => {
const baseline = fs.readFileSync(file, { encoding: 'utf-8' });
const filePath = file.replace(/.tmp$/, '');
fs.writeFile(filePath, baseline, err => console.log(err || `Baseline ${filePath} is written.`));
});
}
exports.accept = accept;
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "baset-core",
"version": "0.1.0",
"version": "0.2.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -26,1 +26,12 @@ import * as fs from 'fs';

}
export function accept(files: string[]) {
files.forEach(file => {
const baseline = fs.readFileSync(file, { encoding: 'utf-8' });
const filePath = file.replace(/.tmp$/, '');
fs.writeFile(
filePath,
baseline,
err => console.log(err || `Baseline ${filePath} is written.`));
});
}

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