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

merge-yaml-cli

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

merge-yaml-cli - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

circle.yml

4

index.js

@@ -28,9 +28,9 @@ #!/usr/bin/env node

const swagger = mergeYaml(files)
const mergeResult = mergeYaml(files)
console.log('Writing:')
console.log(args.output)
fs.writeFileSync(args.output, jsYaml.safeDump(swagger))
fs.writeFileSync(args.output, jsYaml.safeDump(mergeResult))
console.log(os.EOL)
console.log('Finished merge!')
{
"name": "merge-yaml-cli",
"version": "1.0.3",
"version": "1.0.4",
"description": "CLI utility for merging YAML files",

@@ -23,3 +23,5 @@ "bin": {

"scripts": {
"test": "standard"
"test": "npm run test:lint && docker-compose run --rm test",
"test:ci": "npm run test:lint && docker-compose run test",
"test:lint": "standard"
},

@@ -26,0 +28,0 @@ "dependencies": {

@@ -5,2 +5,4 @@ # merge-yaml-cli

[![CircleCI](https://circleci.com/gh/brainsiq/merge-yaml-cli/tree/master.svg?style=svg&circle-token=077fdc5153f1faebffa5e687a44369759c6a820d)](https://circleci.com/gh/brainsiq/merge-yaml-cli/tree/master)
A simple CLI wrapper around [merge-yaml](https://www.npmjs.com/package/merge-yaml) using [glob](https://www.npmjs.com/package/glob) patterns to specify input files.

@@ -14,1 +16,7 @@

```
#### Tests
The repo contains one simple test case. `tests/base.yml` is merged with `includes/*.yml` and the output is compared with `expected.yml`.
The test can be run with `yarn test` or `npm test` but requires Docker and Docker Compose to be installed.

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