Socket
Socket
Sign inDemoInstall

yaml

Package Overview
Dependencies
Maintainers
3
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaml - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

dist/cst/Node.js

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

if (this.range) offset = this.range.setOrigRange(cr, offset);
this.valueRange.setOrigRange(cr, offset);
if (this.valueRange) this.valueRange.setOrigRange(cr, offset);
this.props.forEach(prop => prop.setOrigRange(cr, offset));

@@ -358,0 +358,0 @@ return offset;

@@ -124,2 +124,3 @@ "use strict";

const pos = item.range.start + 1;
const origPos = item.range.origStart + 1;
valueNode.range = {

@@ -133,2 +134,7 @@ start: pos,

};
if (typeof item.range.origStart === 'number') {
valueNode.range.origStart = valueNode.range.origEnd = origPos;
valueNode.valueRange.origStart = valueNode.valueRange.origEnd = origPos;
}
}

@@ -135,0 +141,0 @@

{
"name": "yaml",
"version": "1.0.1",
"version": "1.0.2",
"main": "dist/index.js",

@@ -70,5 +70,5 @@ "license": "ISC",

"@babel/cli": "^7.1.5",
"@babel/core": "^7.1.5",
"@babel/core": "^7.1.6",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/preset-env": "^7.1.5",
"@babel/preset-env": "^7.1.6",
"babel-core": "^7.0.0-bridge.0",

@@ -79,3 +79,3 @@ "babel-jest": "^23.6.0",

"jest": "^23.6.0",
"prettier": "^1.15.1"
"prettier": "^1.15.2"
},

@@ -82,0 +82,0 @@ "dependencies": {},

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