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

sheet-router

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sheet-router - npm Package Compare versions

Comparing version 4.1.3 to 4.1.4

2

_pathname.js
/* eslint-disable no-useless-escape */
const electron = '^[file\:|\/].*\/index.html?(\/{1})?'
const electron = '^(file:\/\/|\/)(.*\.html?\/?)?'
const protocol = '^(http(s)?(:\/\/))?(www\.)?'

@@ -4,0 +4,0 @@ const domain = '[a-zA-Z0-9-_\.]+(:[0-9]{1,5})?(\/{1})?'

{
"name": "sheet-router",
"version": "4.1.3",
"version": "4.1.4",
"description": "Fast, modular client router",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -6,3 +6,3 @@ const test = require('tape')

test('pathname', (t) => {
t.plan(6)
t.plan(8)
t.equal(p('https://foobar.com/bin/baz#bar'), 'bin/baz/bar')

@@ -14,2 +14,4 @@ t.equal(p('http://foobar.com/bin/baz#bar'), 'bin/baz/bar')

t.equal(p('file:///Users/anon/src/juliangruber/dat-desktop/index.html', true), '')
t.equal(p('file:///Users/anon/src/juliangruber/dat-desktop/app.html', true), '')
t.equal(p('file:///regular/router/path', true), '/regular/router/path')
})
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