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

is-regular-file

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-regular-file - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

CHANGELOG.md

1

index.js

@@ -35,4 +35,3 @@ 'use strict';

module.exports = isRegularFile;
module.exports.sync = isRegularFileSync;
{
"name": "is-regular-file",
"version": "1.1.0",
"description": "Checks if a given path is a regular file",
"main": "index.js",
"scripts": {
"lint": "eslint '{*.js,test/**/*.js}' --ignore-pattern=test/coverage",
"test": "mocha --bail",
"test-cov": "istanbul cover --dir test/coverage _mocha -- --bail && echo Coverage lies in test/coverage/lcov-report/index.html",
"test-travis": "istanbul cover _mocha --report lcovonly -- --bail && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"bugs": {
"url": "https://github.com/IndigoUnited/node-is-regular-file/issues/"
},
"repository": {
"type": "git",
"url": "git://github.com/IndigoUnited/node-is-regular-file.git"
},
"version": "1.1.1",
"keywords": [

@@ -24,18 +10,45 @@ "file",

],
"author": "IndigoUnited <hello@indigounited.com> (http://indigounited.com)",
"author": "André Cruz <andre@moxy.studio>",
"homepage": "https://github.com/moxystudio/node-is-regular-file",
"repository": {
"type": "git",
"url": "git@github.com:moxystudio/node-is-regular-file.git"
},
"license": "MIT",
"main": "index.js",
"files": [],
"scripts": {
"lint": "eslint .",
"test": "jest --env node --coverage",
"prerelease": "npm t && npm run lint",
"release": "standard-version",
"precommit": "lint-staged",
"commitmsg": "commitlint -e $GIT_PARAMS"
},
"standard-version": {
"scripts": {
"posttag": "git push --follow-tags origin master && npm publish"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@satazor/eslint-config": "^3.0.0",
"betray": "^1.3.0",
"chai": "^4.0.2",
"coveralls": "^2.11.9",
"eslint": "^3.0.0",
"istanbul": "^0.4.3",
"mkdirp": "^0.5.1",
"mocha": "^3.2.0",
"rimraf": "^2.5.2"
},
"engines": {
"node": ">=4.0.0"
"@commitlint/cli": "^6.0.0",
"@commitlint/config-conventional": "^6.0.2",
"eslint": "^4.3.0",
"eslint-config-moxy": "^4.1.0",
"husky": "^0.14.3",
"jest": "^22.0.0",
"lint-staged": "^6.0.0",
"standard-version": "^4.2.0"
}
}
# is-regular-file
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url] [![Greenkeeper badge][greenkeeper-image]][greenkeeper-url]
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][codecov-image]][codecov-url] [![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url] [![Greenkeeper badge][greenkeeper-image]][greenkeeper-url]

@@ -8,11 +8,11 @@ [npm-url]:https://npmjs.org/package/is-regular-file

[npm-image]:http://img.shields.io/npm/v/is-regular-file.svg
[travis-url]:https://travis-ci.org/IndigoUnited/node-is-regular-file
[travis-image]:http://img.shields.io/travis/IndigoUnited/node-is-regular-file/master.svg
[coveralls-url]:https://coveralls.io/r/IndigoUnited/node-is-regular-file
[coveralls-image]:https://img.shields.io/coveralls/IndigoUnited/node-is-regular-file/master.svg
[david-dm-url]:https://david-dm.org/IndigoUnited/node-is-regular-file
[david-dm-image]:https://img.shields.io/david/IndigoUnited/node-is-regular-file.svg
[david-dm-dev-url]:https://david-dm.org/IndigoUnited/node-is-regular-file?type=dev
[david-dm-dev-image]:https://img.shields.io/david/dev/IndigoUnited/node-is-regular-file.svg
[greenkeeper-image]:https://badges.greenkeeper.io/IndigoUnited/node-is-regular-file.svg
[travis-url]:https://travis-ci.org/moxystudio/node-is-regular-file
[travis-image]:http://img.shields.io/travis/moxystudio/node-is-regular-file/master.svg
[codecov-url]:https://codecov.io/gh/moxystudio/node-is-regular-file
[codecov-image]:https://img.shields.io/codecov/c/github/moxystudio/node-is-regular-file/master.svg
[david-dm-url]:https://david-dm.org/moxystudio/node-is-regular-file
[david-dm-image]:https://img.shields.io/david/moxystudio/node-is-regular-file.svg
[david-dm-dev-url]:https://david-dm.org/moxystudio/node-is-regular-file?type=dev
[david-dm-dev-image]:https://img.shields.io/david/dev/moxystudio/node-is-regular-file.svg
[greenkeeper-image]:https://badges.greenkeeper.io/moxystudio/node-is-regular-file.svg
[greenkeeper-url]:https://greenkeeper.io/

@@ -33,4 +33,4 @@

isRegularFile('path-to-file')
.then((is) => console.log('result', is));
isRegularFile('path/to/file')
.then((is) => console.log('Is regular file:', is));
```

@@ -43,5 +43,3 @@

const is = isRegularFileSync('path-to-file')
console.log('result', is);
console.log('Is regular file:', isRegularFileSync('path/to/file'));
```

@@ -48,0 +46,0 @@

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