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

use-ssr

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-ssr - npm Package Compare versions

Comparing version 1.0.0 to 1.0.12

9

dist/useSSR.d.ts

@@ -1,1 +0,8 @@

export {};
declare function useSSR(): {
isBrowser: boolean;
isServer: boolean;
canUseWorkers: boolean;
canUseEventListeners: boolean;
canUseViewport: boolean;
};
export default useSSR;

@@ -23,2 +23,3 @@ "use strict";

}
exports.default = useSSR;
//# sourceMappingURL=useSSR.js.map

2

package.json
{
"name": "use-ssr",
"version": "1.0.0",
"version": "1.0.12",
"description": "☯️ React hook to determine if you're on the server or browser",

@@ -5,0 +5,0 @@ "main": "dist/useSSR.js",

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