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

dependencies-version

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dependencies-version - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

index.js

34

package.json
{
"name": "dependencies-version",
"version": "1.0.1",
"version": "1.0.2",
"description": "List your runtime dependencies and their versions",
"main": "dist/index.js",
"scripts": {
"test": "jest",
"check-jshint": "jshint src/index.js",
"prebuild": "rimraf dist",
"build": "npm run build:main && npm run build:umd && npm run build:umd.min",
"build:main": "babel --copy-files --out-dir dist --ignore *.test.js src",
"build:umd": "webpack --output-filename index.umd.js",
"build:umd.min": "webpack --output-filename index.umd.min.js -p"
},
"main": "index.js",
"repository": {

@@ -26,3 +17,3 @@ "type": "git",

"files": [
"dist",
"index.js",
"README.md"

@@ -38,20 +29,3 @@ ],

},
"homepage": "https://github.com/tsachis/dependencies-version#readme",
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"ajv": "^6.0.0",
"babel-loader": "^8.0.0",
"ghooks": "^2.0.0",
"jshint": "^2.9.4",
"rimraf": "^2.5.4",
"webpack": "^4.17.0",
"webpack-cli": "^3.1.0"
},
"config": {
"ghooks": {
"pre-commit": "npm run check-jshint"
}
}
"homepage": "https://github.com/tsachis/dependencies-version#readme"
}

@@ -8,1 +8,11 @@ # dependencies-version

## Installation
<code>dependencies-version</code> is available via npm:
<code>$ npm install dependencies-version --save</code>
## Usage
<pre><code>const dependenciesVersion = require('dependencies-version');
// ...
console.log(dependenciesVersion.list());
</code></pre>
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