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

rest-hooks

Package Overview
Dependencies
Maintainers
3
Versions
328
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rest-hooks - npm Package Compare versions

Comparing version 6.2.0-beta.8 to 6.2.0-beta.9

2

legacy/react-integration/NetworkErrorBoundary.js

@@ -48,2 +48,2 @@ import _jsx from "@babel/runtime/helpers/esm/jsx";

};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9yZWFjdC1pbnRlZ3JhdGlvbi9OZXR3b3JrRXJyb3JCb3VuZGFyeS50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJpc05ldHdvcmtFcnJvciIsImVycm9yIiwiT2JqZWN0IiwicHJvdG90eXBlIiwiaGFzT3duUHJvcGVydHkiLCJjYWxsIiwiTmV0d29ya0Vycm9yQm91bmRhcnkiLCJDb21wb25lbnQiLCJzdGF0ZSIsImdldERlcml2ZWRTdGF0ZUZyb21FcnJvciIsInJlbmRlciIsInByb3BzIiwiY2hpbGRyZW4iLCJkZWZhdWx0UHJvcHMiLCJmYWxsYmFja0NvbXBvbmVudCIsInN0YXR1cyIsInJlc3BvbnNlIiwic3RhdHVzVGV4dCJdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU9BLEtBQVAsTUFBa0IsT0FBbEI7O0FBR0EsU0FBU0MsY0FBVCxDQUF3QkMsS0FBeEIsRUFBOEU7QUFDNUUsU0FBT0MsTUFBTSxDQUFDQyxTQUFQLENBQWlCQyxjQUFqQixDQUFnQ0MsSUFBaEMsQ0FBcUNKLEtBQXJDLEVBQTRDLFFBQTVDLENBQVA7QUFDRDs7QUFTRDtBQUNBO0FBQ0E7QUFDQTtBQUNBLGVBQWUsTUFBTUssb0JBQU4sU0FFTFAsS0FBSyxDQUFDUSxTQUZELENBRStCO0FBQUE7QUFBQ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tcbiAgICB9IGVsc2Uge1xuICAgICAgdGhyb3cgZXJyb3I7XG4gICAgfVxuICB9XG5cbiAgc3RhdGU6IFN0YXRlPEU+ID0ge307XG5cbiAgcmVuZGVyKCk6IEpTWC5FbGVtZW50IHtcbiAgICBpZiAoIXRoaXMuc3RhdGUuZXJyb3IpIHtcbiAgICAgIHJldHVybiB0aGlzLnByb3BzLmNoaWxkcmVuIGFzIGFueTtcbiAgICB9XG4gICAgcmV0dXJuIDx0aGlzLnByb3BzLmZhbGxiYWNrQ29tcG9uZW50IGVycm9yPXt0aGlzLnN0YXRlLmVycm9yfSAvPjtcbiAgfVxufVxuIl19

@@ -26,5 +26,5 @@ import React from 'react';

state: State<E>;
render(): React.ReactNode;
render(): JSX.Element;
}
export {};
//# sourceMappingURL=NetworkErrorBoundary.d.ts.map

@@ -48,2 +48,2 @@ import _jsx from "@babel/runtime/helpers/esm/jsx";

};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9yZWFjdC1pbnRlZ3JhdGlvbi9OZXR3b3JrRXJyb3JCb3VuZGFyeS50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJpc05ldHdvcmtFcnJvciIsImVycm9yIiwiT2JqZWN0IiwicHJvdG90eXBlIiwiaGFzT3duUHJvcGVydHkiLCJjYWxsIiwiTmV0d29ya0Vycm9yQm91bmRhcnkiLCJDb21wb25lbnQiLCJzdGF0ZSIsImdldERlcml2ZWRTdGF0ZUZyb21FcnJvciIsInJlbmRlciIsInByb3BzIiwiY2hpbGRyZW4iLCJkZWZhdWx0UHJvcHMiLCJmYWxsYmFja0NvbXBvbmVudCIsInN0YXR1cyIsInJlc3BvbnNlIiwic3RhdHVzVGV4dCJdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU9BLEtBQVAsTUFBa0IsT0FBbEI7O0FBR0EsU0FBU0MsY0FBVCxDQUF3QkMsS0FBeEIsRUFBOEU7QUFD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nJvci5yZXNwb25zZT8uc3RhdHVzVGV4dH1cbiAgICAgIDwvZGl2PlxuICAgICksXG4gIH07XG5cbiAgc3RhdGljIGdldERlcml2ZWRTdGF0ZUZyb21FcnJvcihlcnJvcjogTmV0d29ya0Vycm9yIHwgYW55KSB7XG4gICAgaWYgKGlzTmV0d29ya0Vycm9yKGVycm9yKSkge1xuICAgICAgcmV0dXJuIHsgZXJyb3IgfTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhyb3cgZXJyb3I7XG4gICAgfVxuICB9XG5cbiAgc3RhdGU6IFN0YXRlPEU+ID0ge307XG5cbiAgcmVuZGVyKCk6IEpTWC5FbGVtZW50IHtcbiAgICBpZiAoIXRoaXMuc3RhdGUuZXJyb3IpIHtcbiAgICAgIHJldHVybiB0aGlzLnByb3BzLmNoaWxkcmVuIGFzIGFueTtcbiAgICB9XG4gICAgcmV0dXJuIDx0aGlzLnByb3BzLmZhbGxiYWNrQ29tcG9uZW50IGVycm9yPXt0aGlzLnN0YXRlLmVycm9yfSAvPjtcbiAgfVxufVxuIl19
{
"name": "rest-hooks",
"version": "6.2.0-beta.8",
"version": "6.2.0-beta.9",
"description": "Asynchronous data framework for React",

@@ -109,4 +109,4 @@ "sideEffects": false,

"@babel/runtime": "^7.7.2",
"@rest-hooks/core": "^3.1.0-beta.7",
"@rest-hooks/endpoint": "^2.2.0-beta.2"
"@rest-hooks/core": "^3.1.0-beta.8",
"@rest-hooks/endpoint": "^2.2.0-beta.3"
},

@@ -122,3 +122,3 @@ "peerDependencies": {

},
"gitHead": "9a0883604fa5b9ee17fd1585f4f2c4194881c93e"
"gitHead": "e697b70e8bbeb0f9bac4ab50718141b0f11ee1e7"
}

@@ -8,3 +8,3 @@ export { useCache, useController, useFetcher, useRetrieve, useResource, useSubscription, useMeta, useError, useInvalidator, useResetter, useDenormalized, useSuspense, useFetch, usePromisifiedDispatch, Endpoint, Index, } from '@rest-hooks/core';

import * as __INTERNAL__1 from "./internal";
export { type __INTERNAL__ as };
export { __INTERNAL__1 as __INTERNAL__ };
//# sourceMappingURL=index.d.ts.map

@@ -26,5 +26,5 @@ import React from 'react';

state: State<E>;
render(): React.ReactNode;
render(): JSX.Element;
}
export {};
//# sourceMappingURL=NetworkErrorBoundary.d.ts.map

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

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