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

contextor

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contextor - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

5

index.d.ts

@@ -19,8 +19,7 @@ declare namespace contextor {

* @param {*} defaultValue - The default value to return in case.
* @param {boolean} allowUndefinedContext - Whether or not to allow undefined context,
* default false.
* @param {boolean} allowUndefinedContext - Whether or not to allow undefined context.
* @returns {*} The value or default value for missing key.
* @throws {ReferenceError} On missing value for given key in current context.
*/
get: (key: string, defaultValue: any, allowUndefinedContext: boolean = false) => any;
get: (key: string, defaultValue: any, allowUndefinedContext?: boolean) => any;
}

@@ -27,0 +26,0 @@ }

2

package.json
{
"name": "contextor",
"description": "Package allowing to pass a context along an asynchronous process",
"version": "0.3.0",
"version": "0.3.1",
"author": "Thomas Prelot <tprelot@gmail.com> (https://github.com/Gnucki)",

@@ -6,0 +6,0 @@ "contributors": [],

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