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

@plasmicapp/query

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plasmicapp/query - npm Package Compare versions

Comparing version 0.1.52 to 0.1.53

3

dist/query.cjs.development.js

@@ -46,4 +46,3 @@ 'use strict';

revalidateOnFocus: false,
revalidateOnReconnect: false,
revalidateOnMount: false
revalidateOnReconnect: false
};

@@ -50,0 +49,0 @@ }

@@ -1,2 +0,2 @@

"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react")),r=require("swr"),n=e(r);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var u=void 0,o=t.createContext(!1);if("undefined"!=typeof window){var i=window,c=i.__SWRMutateAllKeys;i.__SWRMutateAllKeys=function(){!function(){if(u){var e=u.mutate;Array.from(u.cache.keys()).forEach((function(t){e(t)}))}}(),"function"==typeof c&&c()}}exports.PlasmicPrepassContext=function(e){var n=e.cache;return t.createElement(o.Provider,{value:!0},t.createElement(r.SWRConfig,{value:{provider:function(){return n},suspense:!0,fallback:{}}},e.children))},exports.PlasmicQueryDataProvider=function(e){var n=e.children,a=e.suspense,u=e.prefetchedCache;return t.useContext(o)?t.createElement(t.Fragment,null,n):t.createElement(r.SWRConfig,{value:{fallback:null!=u?u:{},suspense:a}},n)},exports.useMutablePlasmicQueryData=function(e,i,c){var s=t.useContext(o),l=a({},{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateOnMount:!1},c);s&&(l.suspense=!0);var f=r.useSWRConfig();return t.useEffect((function(){u=f}),[f]),n(e,i,l)},exports.usePlasmicQueryData=function(e,a){var i={revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateOnMount:!1};t.useContext(o)&&(i.suspense=!0);var c=r.useSWRConfig();t.useEffect((function(){u=c}),[c]);var s=n(e,a,i);return s.data?{data:s.data}:s.error?{error:s.error}:{isLoading:!0}};
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react")),r=require("swr"),n=e(r);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var u=void 0,o=t.createContext(!1);if("undefined"!=typeof window){var c=window,i=c.__SWRMutateAllKeys;c.__SWRMutateAllKeys=function(){!function(){if(u){var e=u.mutate;Array.from(u.cache.keys()).forEach((function(t){e(t)}))}}(),"function"==typeof i&&i()}}exports.PlasmicPrepassContext=function(e){var n=e.cache;return t.createElement(o.Provider,{value:!0},t.createElement(r.SWRConfig,{value:{provider:function(){return n},suspense:!0,fallback:{}}},e.children))},exports.PlasmicQueryDataProvider=function(e){var n=e.children,a=e.suspense,u=e.prefetchedCache;return t.useContext(o)?t.createElement(t.Fragment,null,n):t.createElement(r.SWRConfig,{value:{fallback:null!=u?u:{},suspense:a}},n)},exports.useMutablePlasmicQueryData=function(e,c,i){var s=t.useContext(o),l=a({},{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1},i);s&&(l.suspense=!0);var f=r.useSWRConfig();return t.useEffect((function(){u=f}),[f]),n(e,c,l)},exports.usePlasmicQueryData=function(e,a){var c={revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1};t.useContext(o)&&(c.suspense=!0);var i=r.useSWRConfig();t.useEffect((function(){u=i}),[i]);var s=n(e,a,c);return s.data?{data:s.data}:s.error?{error:s.error}:{isLoading:!0}};
//# sourceMappingURL=query.cjs.production.min.js.map

@@ -39,4 +39,3 @@ import React from 'react';

revalidateOnFocus: false,
revalidateOnReconnect: false,
revalidateOnMount: false
revalidateOnReconnect: false
};

@@ -43,0 +42,0 @@ }

{
"version": "0.1.52",
"version": "0.1.53",
"license": "MIT",

@@ -64,3 +64,3 @@ "main": "dist/index.js",

},
"gitHead": "ce99baa8847ea403f2cca0a269cc7761991939d0"
"gitHead": "7e9a3e4653cd33c85a6c072f8f90315197f11108"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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