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

yaml-boost

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaml-boost - npm Package Compare versions

Comparing version 1.9.10 to 1.9.11

11

lib/index.js

@@ -0,1 +1,7 @@

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
const fs = require('fs');

@@ -25,3 +31,4 @@

if (match) {
const varsNew = Object.assign({}, vars, match[4] ? JSON.parse(`{"${match[4].replace(/&/g, '","').replace(/=/g, '":"')}"}`) : {});
const varsNew = _objectSpread({}, vars, {}, match[4] ? JSON.parse(`{"${match[4].replace(/&/g, '","').replace(/=/g, '":"')}"}`) : {});
let loaded;

@@ -62,2 +69,2 @@ let newRelDir = relDir;

module.exports.dump = yaml.safeDump;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJmcyIsInJlcXVpcmUiLCJwYXRoIiwiZ2V0Iiwic2V0IiwibWVyZ2VXaX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5zdGFuY2VvZiBPYmplY3QpIHtcbiAgICBjb25zdCB0b01lcmdlID0gZ2V0KHJlc3VsdCwgJzw8PCcsIFtdKS5tYXAoKGUpID0+IGxvYWRSZWN1cnNpdmUoZGlyLCByZWxEaXIsIGUsIHZhcnMpKTtcbiAgICBkZWxldGUgcmVzdWx0Wyc8PDwnXTtcbiAgICBPYmplY3Qua2V5cyhyZXN1bHQpLmZvckVhY2goKGtleSkgPT4gc2V0KHJlc3VsdCwga2V5LCBsb2FkUmVjdXJzaXZlKGRpciwgcmVsRGlyLCBnZXQocmVzdWx0LCBrZXkpLCB2YXJzKSkpO1xuICAgIHJlc3VsdCA9IHRvTWVyZ2UucmVkdWNlKChwcmV2LCBjdXIpID0+IG1lcmdlV2l0aChwcmV2LCBjdXIsIGNvbmNhdEFycmF5cyksIHJlc3VsdCk7XG4gIH1cbiAgcmV0dXJuIHJlc3VsdDtcbn07XG5cbm1vZHVsZS5leHBvcnRzLmxvYWQgPSAoZmlsZVBhdGgsIHZhcnMgPSB7fSkgPT4gbG9hZFJlY3Vyc2l2ZShcbiAgcGF0aC5kaXJuYW1lKGZpbGVQYXRoKSxcbiAgcGF0aC5kaXJuYW1lKGZpbGVQYXRoKSxcbiAgeWFtbC5zYWZlTG9hZChmcy5yZWFkRmlsZVN5bmMoZmlsZVBhdGgsICd1dGY4JykpLFxuICB2YXJzXG4pO1xuXG5tb2R1bGUuZXhwb3J0cy5kdW1wID0geWFtbC5zYWZlRHVtcDtcbiJdfQ==

12

package.json
{
"name": "yaml-boost",
"version": "1.9.10",
"version": "1.9.11",
"description": "Yaml Parser with additional functionality.",

@@ -37,11 +37,11 @@ "main": "lib/index.js",

"@babel/register": "7.5.5",
"@blackflux/eslint-plugin-rules": "1.0.23",
"@blackflux/robo-config-plugin": "2.1.3",
"@blackflux/eslint-plugin-rules": "1.1.0",
"@blackflux/robo-config-plugin": "2.4.3",
"babel-eslint": "10.0.2",
"chai": "4.2.0",
"coveralls": "3.0.5",
"coveralls": "3.0.6",
"eslint": "6.1.0",
"js-gardener": "2.0.53",
"js-gardener": "2.0.59",
"nyc": "14.1.1",
"semantic-release": "15.13.18"
"semantic-release": "15.13.19"
},

@@ -48,0 +48,0 @@ "keywords": [

@@ -78,3 +78,3 @@ # Yaml-Boost

```js
module.exports = args => ({ args });
module.exports = (args) => ({ args });
```

@@ -81,0 +81,0 @@

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