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

can-route-pushstate

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-route-pushstate - npm Package Compare versions

Comparing version 3.0.0-pre.3 to 3.0.0-pre.4

7

build.js

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

outputs: {
"+cjs": {},
"+amd": {},
"+global-js": {}
"+standalone": {
exports: {
"can-util/namespace": "can"
}
}
}

@@ -13,0 +16,0 @@ }).catch(function(e){

@@ -9,7 +9,15 @@ /* jshint asi:true,scripturl:true */

if (window.history && history.pushState) {
makeTest("can-map");
makeTest("can-define/map/map");
}
QUnit.module("can/route/pushstate", {
function makeTest(mapModuleName){
QUnit.module("can/route/pushstate with "+mapModuleName, {
setup: function () {
route._teardown();
route.defaultBinding = "pushstate";
window.MAP_MODULE_NAME = mapModuleName;
}

@@ -696,3 +704,3 @@ });

var timer;
info.route.bind("change", function () {
info.route.serializedCompute.bind("change", function () {
clearTimeout(timer);

@@ -699,0 +707,0 @@ timer = setTimeout(function () {

@@ -18,2 +18,3 @@ // # can/route/pushstate/pushstate.js

var diffObject = require('can-util/js/diff-object/diff-object');
var namespace = require('can-util/namespace');

@@ -151,3 +152,2 @@ var canEvent = require('can-event');

}
console.log(toRemove);
}

@@ -254,2 +254,2 @@ if(toRemove.length > 0) {

module.exports = route;
module.exports = namespace.route = route;
{
"name": "can-route-pushstate",
"version": "3.0.0-pre.3",
"version": "3.0.0-pre.4",
"description": "Pushstate for can-route",

@@ -30,3 +30,3 @@ "homepage": "https://canjs.com",

},
"main": "dist/cjs/can-route-pushstate",
"main": "can-route-pushstate",
"browser": {

@@ -43,16 +43,10 @@ "transform": [

"keywords": [
"canjs"
"canjs",
"canjs-plugin",
"donejs"
],
"system": {
"main": "can-route-pushstate",
"configDependencies": [
"live-reload"
],
"npmIgnore": [
"documentjs",
"testee",
"generator-donejs",
"donejs-cli",
"steal-tools"
],
"npmAlgorithm": "flat"

@@ -63,5 +57,6 @@ },

"can-route": "^3.0.0-pre.1",
"can-util": "^3.0.0-pre.10"
"can-util": "^3.0.0-pre.21"
},
"devDependencies": {
"can-define": "^0.7.4",
"can-map": "^3.0.0-pre.3",

@@ -68,0 +63,0 @@ "cssify": "^0.6.0",

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