Socket
Socket
Sign inDemoInstall

package.json

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

package.json - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

11

lib/index.js
"use strict";
const npmPackageJson = require("package-json")
, gitPackageJson = require("git-package-json")
, gitSource = require("git-source")
;
var npmPackageJson = require("package-json"),
gitPackageJson = require("git-package-json"),
gitSource = require("git-source");

@@ -21,3 +20,3 @@ /**

let parsed = gitSource(input);
var parsed = gitSource(input);

@@ -34,2 +33,2 @@ if (typeof version === "function") {

}
};
};
{
"name": "package.json",
"version": "1.0.1",
"version": "1.0.2",
"description": "Get the package.json content either from npm or from a git repository.",

@@ -40,2 +40,3 @@ "main": "lib/index.js",

"menu/",
"scripts/",
"cli.js",

@@ -42,0 +43,0 @@ "index.js"

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