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

context

Package Overview
Dependencies
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

context - npm Package Compare versions

Comparing version 3.0.11 to 3.0.12-dev-20230915-dd25

dist/cjs/context.development.js.map

1

dist/cjs/context.development.js

@@ -64,1 +64,2 @@ 'use strict';

exports.createContext = createContext;
//# sourceMappingURL=context.development.js.map
"use strict";var n=require("vest-utils");const t=Symbol();function e(e){let u=t;return{run:function(n,e){const i=o()?r():t;u=n;const c=e();return u=i,c},use:r,useX:function(t){return n.invariant(o(),n.defaultTo(t,"Not inside of a running context.")),u}};function r(){return o()?u:e}function o(){return u!==t}}exports.createCascade=function(t){const u=e();return{bind:function(n,t){return function(...e){return r(n,(function(){return t(...e)}))}},run:r,use:u.use,useX:u.useX};function r(e,r){var o;const i=u.use(),c=n.assign({},i||{},null!==(o=n.optionalFunctionValue(t,e,i))&&void 0!==o?o:e);return u.run(Object.freeze(c),r)}},exports.createContext=e;
//# sourceMappingURL=context.production.js.map

@@ -61,1 +61,2 @@ import { invariant, defaultTo, assign, optionalFunctionValue } from 'vest-utils';

export { createCascade, createContext };
//# sourceMappingURL=context.development.js.map
import{invariant as n,defaultTo as t,assign as u,optionalFunctionValue as r}from"vest-utils";const e=Symbol();function o(u){let r=e;return{run:function(n,t){const u=c()?o():e;r=n;const i=t();return r=u,i},use:o,useX:function(u){return n(c(),t(u,"Not inside of a running context.")),r}};function o(){return c()?r:u}function c(){return r!==e}}function c(n){const t=o();return{bind:function(n,t){return function(...u){return e(n,(function(){return t(...u)}))}},run:e,use:t.use,useX:t.useX};function e(e,o){var c;const i=t.use(),s=u({},i||{},null!==(c=r(n,e,i))&&void 0!==c?c:e);return t.run(Object.freeze(s),o)}}export{c as createCascade,o as createContext};
//# sourceMappingURL=context.production.js.map

@@ -68,1 +68,2 @@ (function (global, factory) {

}));
//# sourceMappingURL=context.development.js.map
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vest-utils")):"function"==typeof define&&define.amd?define(["exports","vest-utils"],t):t((n="undefined"!=typeof globalThis?globalThis:n||self).context={},n["vest-utils"])}(this,(function(n,t){"use strict";const e=Symbol();function u(n){let u=e;return{run:function(n,t){const r=i()?o():e;u=n;const s=t();return u=r,s},use:o,useX:function(n){return t.invariant(i(),t.defaultTo(n,"Not inside of a running context.")),u}};function o(){return i()?u:n}function i(){return u!==e}}n.createCascade=function(n){const e=u();return{bind:function(n,t){return function(...e){return o(n,(function(){return t(...e)}))}},run:o,use:e.use,useX:e.useX};function o(u,o){var i;const r=e.use(),s=t.assign({},r||{},null!==(i=t.optionalFunctionValue(n,u,r))&&void 0!==i?i:u);return e.run(Object.freeze(s),o)}},n.createContext=u}));
//# sourceMappingURL=context.production.js.map

4

package.json
{
"version": "3.0.11",
"version": "3.0.12-dev-20230915-dd25",
"license": "MIT",

@@ -14,3 +14,3 @@ "main": "./dist/cjs/context.js",

"dependencies": {
"vest-utils": "^1.0.2"
"vest-utils": "1.0.3-dev-20230915-dd25"
},

@@ -17,0 +17,0 @@ "module": "./dist/es/context.production.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