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

router-hook

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

router-hook - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

5

dist/A.js

@@ -10,3 +10,4 @@ "use strict";

const setRoute = Provider_1.useSetRoute();
return (react_1.default.createElement("a", Object.assign({ onClick: ev => {
return (react_1.default.createElement("a", Object.assign({}, props, { onClick: ev => {
ev.persist();
if (props.onClick) {

@@ -17,4 +18,4 @@ props.onClick(ev);

setRoute(props.href);
} }, props)));
} })));
}
exports.default = A;

2

package.json
{
"name": "router-hook",
"author": "Tim Field <tim@mohiohio.com>",
"version": "5.0.0",
"version": "5.0.1",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/tim-field/router-hook/#readme",

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