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

webdetta

Package Overview
Dependencies
Maintainers
0
Versions
483
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webdetta - npm Package Compare versions

Comparing version 0.0.89 to 0.0.90

2

package.json
{
"name": "webdetta",
"version": "0.0.89",
"version": "0.0.90",
"author": "Fedot Kriutchenko <fodyadev@gmail.com>",

@@ -5,0 +5,0 @@ "description": "",

@@ -42,12 +42,8 @@ const splitPath = path =>

const currentRoute = (routes, loc) => {
const currentRoute = (routesList, loc) => {
const search = Object.fromEntries(
new URLSearchParams(loc.search).entries()
);
const res = {
route: null,
params: search,
location: loc
};
for (const route of Object.entries(routes)) {
const res = { route: null, params: search, location: loc };
for (const route of routesList) {
const params = parsePath(route.path, loc.pathname);

@@ -87,3 +83,3 @@ if (params) {

const current = () => currentRoute(routes, driver.get());
const current = () => currentRoute(Object.values(routes), driver.get());

@@ -90,0 +86,0 @@ return {

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