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

read-installed

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read-installed - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

4

package.json
{
"name": "read-installed",
"description": "Read all the installed packages in a folder, and return a tree structure with all the data.",
"version": "0.2.1",
"version": "0.2.2",
"repository": {

@@ -14,3 +14,3 @@ "type": "git",

"dependencies": {
"semver": "1.x",
"semver": "2",
"slide": "~1.1.3",

@@ -17,0 +17,0 @@ "read-package-json": "1"

@@ -182,4 +182,4 @@

if (reqver
&& semver.validRange(reqver)
&& !semver.satisfies(obj.version, reqver)) {
&& semver.validRange(reqver, true)
&& !semver.satisfies(obj.version, reqver, true)) {
obj.invalid = true

@@ -285,3 +285,3 @@ }

&& !url.parse(deps[d]).protocol
&& !semver.satisfies(found.version, deps[d])) {
&& !semver.satisfies(found.version, deps[d], true)) {
// the bad thing will happen

@@ -320,3 +320,3 @@ log("unmet dependency", obj.path + " requires "+d+"@'"+deps[d]

if (!semver.satisfies(dependency.version, peerDeps[d])) {
if (!semver.satisfies(dependency.version, peerDeps[d], true)) {
dependency.peerInvalid = true

@@ -323,0 +323,0 @@ }

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