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

can-route

Package Overview
Dependencies
Maintainers
10
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-route - npm Package Compare versions

Comparing version 4.0.0-pre.18 to 4.0.0-pre.19

2

package.json
{
"name": "can-route",
"version": "4.0.0-pre.18",
"version": "4.0.0-pre.19",
"description": "Observable front-end application routing for CanJS.",

@@ -5,0 +5,0 @@ "homepage": "https://canjs.com/doc/can-route.html",

@@ -231,15 +231,11 @@ /* jshint asi:true */

var after = loc.href.substr(loc.href.indexOf("#"));
if (after === "#!bar/" + encodeURIComponent("\/")) {
var isMatch = after === "#!bar/" + encodeURIComponent("\/");
var isWaitingTooLong = new Date() - time > 2000;
if (isMatch || isWaitingTooLong) {
equal(after, "#!bar/" + encodeURIComponent("\/"), "should go to type/id");
teardownRouteTest();
} else if (new Date() - time > 2000) {
ok(false, "hash is " + after);
can.remove(can.$(iframe))
} else {
setTimeout(innerTimer, 30)
setTimeout(innerTimer, 30);
}
}, 100);
}, 100);

@@ -246,0 +242,0 @@

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