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

read-ini-file

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read-ini-file - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

CHANGELOG.md

6

index.js

@@ -5,7 +5,9 @@ 'use strict'

const ini = require('ini')
const pify = require('pify')
const { promisify } = require('util')
const readFile = promisify(fs.readFile)
const parse = (data) => ini.parse(stripBom(data))
module.exports = fp => pify(fs.readFile)(fp, 'utf8').then(parse)
module.exports = fp => readFile(fp, 'utf8').then(parse)
module.exports.sync = fp => parse(fs.readFileSync(fp, 'utf8'))
{
"name": "read-ini-file",
"version": "3.0.0",
"description": "Read and parse an ini file",
"main": "index.js",
"files": [
"index.js"
],
"scripts": {
"test-readme": "mos t",
"test": "standard && preview && tape test",
"md": "mos"
},
"repository": "https://github.com/zkochan/packages/tree/master/read-ini-file",
"mos": {
"plugins": [
"readme"
],
"installation": {
"useShortAlias": true
}
},
"keywords": [
"read",
"ini",
"parse",
"file",
"fs",
"graceful",
"load"
],
"author": {
"name": "Zoltan Kochan",
"email": "zoltankochan@gmail.com",
"url": "https://www.kochan.io"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/zkochan/packages/issues"
},
"homepage": "https://github.com/zkochan/packages/tree/master/read-ini-file#readme#readme",
"dependencies": {
"graceful-fs": "^4.2.3",
"ini": "^1.3.5",
"pify": "^5.0.0",
"strip-bom": "^4.0.0"
},
"devDependencies": {
"mos": "^2.0.0-alpha.3",
"mos-plugin-readme": "^1.0.4",
"package-preview": "3.0.0",
"standard": "^14.3.3",
"tape": "^4.13.2"
},
"engines": {
"node": ">=10.13"
}
"name": "read-ini-file",
"version": "3.0.1",
"description": "Read and parse an ini file",
"main": "index.js",
"files": [
"index.js"
],
"scripts": {
"test-readme": "mos t",
"test": "standard && preview && tape test",
"md": "mos"
},
"repository": "https://github.com/zkochan/packages/tree/master/read-ini-file",
"mos": {
"plugins": [
"readme"
],
"installation": {
"useShortAlias": true
}
},
"keywords": [
"read",
"ini",
"parse",
"file",
"fs",
"graceful",
"load"
],
"author": {
"name": "Zoltan Kochan",
"email": "zoltankochan@gmail.com",
"url": "https://www.kochan.io"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/zkochan/packages/issues"
},
"homepage": "https://github.com/zkochan/packages/tree/master/read-ini-file#readme#readme",
"dependencies": {
"graceful-fs": "^4.2.4",
"ini": "^2.0.0",
"strip-bom": "^4.0.0"
},
"devDependencies": {
"mos": "2.0.0-alpha.3",
"mos-plugin-readme": "^1.0.4",
"package-preview": "3.0.0",
"standard": "^16.0.1",
"tape": "^5.0.1"
},
"engines": {
"node": ">=10.13"
}
}

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