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.5.0 to 0.5.1

11

CHANGELOG.md

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

<a name="0.5.1"></a>
## [0.5.1](https://github.com/Igmat/baset/compare/v0.5.0...v0.5.1) (2018-01-29)
### Bug Fixes
* **core:** replace all line endings with LF and trim baseline ([3d75a3e](https://github.com/Igmat/baset/commit/3d75a3e)), closes [#32](https://github.com/Igmat/baset/issues/32)
<a name="0.5.0"></a>

@@ -8,0 +19,0 @@ # [0.5.0](https://github.com/Igmat/baset/compare/v0.4.1...v0.5.0) (2018-01-26)

4

dist/index.js

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

throw new Error(`No reader defined for ${name}!`);
const output = yield reader.read(name);
const output = (yield reader.read(name)).replace(/\r?\n|\r/g, '\n').trim();
const ext = path.extname(name);
const baselinePath = path.resolve(name.replace(new RegExp(`${ext}$`), '.base'));
const baselineValue = (yield isExists(baselinePath))
? yield readFile(baselinePath, { encoding: 'utf-8' })
? (yield readFile(baselinePath, { encoding: 'utf-8' })).replace(/\r?\n|\r/g, '\n').trim()
: false;

@@ -32,0 +32,0 @@ yield writeFile(path.resolve(`${baselinePath}.tmp`), output);

{
"name": "baset-core",
"version": "0.5.0",
"version": "0.5.1",
"description": "Core library for BaseT project.",

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

"@types/node": "^9.3.0",
"baset": "^0.5.0",
"baset": "^0.5.1",
"doctoc": "^1.3.0",

@@ -31,0 +31,0 @@ "tslint": "^5.9.1",

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