New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

declarative-factory

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

declarative-factory - npm Package Compare versions

Comparing version 1.20.0 to 1.21.0

2

package.json
{
"name": "declarative-factory",
"version": "1.20.0",
"version": "1.21.0",
"description": "A simple yet effective function to create factory objects through a declarative API.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -42,10 +42,10 @@ /*

*
* - testCondition: A boolean value or a function returning a boolean value
* which, if "true", instructs this function to return the "factory" factory
* bound to this "testCondition".
* Note that the first "factory" for which "testCondition" is truthy
* will be returned and further tuples will be ignored;
* - testCondition: A boolean value or a function returning a boolean value
* which, if "true", instructs this function to return the "factory" factory
* bound to this "testCondition".
* Note that the first "factory" for which "testCondition" is truthy
* will be returned and further tuples will be ignored;
*
* - factory: Anything. The value to return if "testCondition" is a truthy value
* or a function returning a truthy value.
* - factory: Anything. The value to return if "testCondition" is a truthy value
* or a function returning a truthy value.
*

@@ -52,0 +52,0 @@ * The last element of the returned tuples MAY not be a tuple array with two elements,

Sorry, the diff of this file is too big to display

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