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

read-yaml-file

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read-yaml-file - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

index.d.ts

5

index.js

@@ -10,3 +10,6 @@ 'use strict'

module.exports = fp => pify(fs.readFile)(fp, 'utf8').then(data => parse(data))
const readYamlFile = fp => pify(fs.readFile)(fp, 'utf8').then(data => parse(data))
module.exports = readYamlFile
module.exports.default = readYamlFile
module.exports.sync = fp => parse(fs.readFileSync(fp, 'utf8'))
{
"name": "read-yaml-file",
"version": "1.0.0",
"version": "1.1.0",
"license": "MIT",

@@ -20,3 +20,4 @@ "main": "index.js",

"files": [
"index.js"
"index.js",
"index.d.ts"
],

@@ -23,0 +24,0 @@ "scripts": {

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