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.1 to 4.1.0

doc/stop.md

6

can-route.js

@@ -214,2 +214,7 @@ /*jshint -W079 */

stop: function() {
this._teardown();
return canRoute;
},
currentRule: makeCompute( currentRuleObservable ),

@@ -225,3 +230,2 @@ register: registerRoute.register,

// The functions in the following list applied to `canRoute` (e.g. `canRoute.attr('...')`) will

@@ -228,0 +232,0 @@ // instead act on the `canRoute.data` observe.

6

doc/start.md

@@ -13,3 +13,3 @@ @function can-route.start start

```js
route("{page}", { page: "home" }));
route.register("{page}", { page: "home" }));

@@ -29,5 +29,5 @@ route.start();

```js
route("overview/{dateStart}-{dateEnd}");
route("{type}/{id}");
route.register("overview/{dateStart}-{dateEnd}");
route.register("{type}/{id}");
route.start();
```
{
"name": "can-route",
"version": "4.0.1",
"version": "4.1.0",
"description": "Observable front-end application routing for CanJS.",

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

@@ -9,1 +9,2 @@ require("./param-deparam-test");

require("./route-map-test");
require("./route-stop-test");
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