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

pdi

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdi - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

2

package.json
{
"name": "pdi",
"version": "4.0.1",
"version": "4.0.2",
"description": "Minimal Promise based dependency injection framework",

@@ -5,0 +5,0 @@ "repository": "https://github.com/davidgtonge/pdi",

@@ -82,3 +82,3 @@ const Promise = require("bluebird")

}
throw new Error(`Invalid property access: ${prop}`)
throw new Error(`Invalid property access (${prop}) in ${item.name}`)
},

@@ -92,3 +92,3 @@ })

throw new Error(
`Depended on property not accessed: ${notAccessed.join(",")}`,
`Depended on property (${notAccessed.join(",")}) not accessed in ${item.name}`,
)

@@ -95,0 +95,0 @@ }

@@ -195,3 +195,3 @@ /* eslint max-nested-callbacks: 0 */

pdi.add("c", fn3)
return rejects(() => pdi.start(), {message: "Invalid property access: d"})
return rejects(() => pdi.start(), {message: "Invalid property access (d) in a"})
})

@@ -210,3 +210,3 @@

return rejects(() => pdi.start(), {
message: "Depended on property not accessed: c",
message: "Depended on property (c) not accessed in a",
})

@@ -226,3 +226,3 @@ })

return rejects(() => pdi.start(), {
message: "Depended on property not accessed: c",
message: "Depended on property (c) not accessed in a",
})

@@ -229,0 +229,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