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

can-route

Package Overview
Dependencies
Maintainers
6
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 3.0.10 to 3.0.11

0

build.js

@@ -0,0 +0,0 @@ var stealTools = require("steal-tools");

10

can-route.js

@@ -337,2 +337,10 @@ /*jshint -W079 */

var decode = function(str){
try {
return decodeURIComponent(str);
} catch(ex) {
return unescape(str);
}
};
/**

@@ -532,3 +540,3 @@ * @static

if (part && part !== querySeparator) {
obj[route.names[i]] = decodeURIComponent(part);
obj[route.names[i]] = decode(part);
}

@@ -535,0 +543,0 @@ });

@@ -0,0 +0,0 @@ @function can-route can-route

2

package.json
{
"name": "can-route",
"version": "3.0.10",
"version": "3.0.11",
"description": "",

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

@@ -0,0 +0,0 @@ # can-route

@@ -0,0 +0,0 @@ @function can-route.data data

@@ -0,0 +0,0 @@ var canRoute = require("can-route");

@@ -0,0 +0,0 @@ /* jshint asi:true */

@@ -99,2 +99,9 @@ /* jshint asi:true */

}, "default value and queryparams");
obj = canRoute.deparam("foo/%0g");
deepEqual(obj, {
index: "%0g",
page: "foo",
route: ":page/:index"
}, "can decode malformed urls");
});

@@ -101,0 +108,0 @@

require("./route-test");
require("./route-define-test");

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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