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

@-0/browser

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@-0/browser - npm Package Compare versions

Comparing version 0.3.78 to 0.3.79

7

lib/tasks/routing.js
import { isPlainObject } from "@thi.ng/checks";
import { _PUSHSTATE_IF_HREF, _RESTORE_SCROLL_IF_POPSTATE, _NOTIFY_PRERENDER_DOM, _SET_LINK_ATTRS_DOM, _SCROLL_TO_HASH, } from "../commands";
import { _PUSHSTATE_IF_HREF, _RESTORE_SCROLL_IF_POPSTATE, _SET_LINK_ATTRS_DOM, _SCROLL_TO_HASH, } from "../commands";
import { _, $$_VIEW, $$_LOAD, $$_PATH, URL_FULL, URL_DATA, URL_PATH, URL_PAGE, RTR_PREP, RTR_POST, RTR_PRFX, CFG_RUTR, CMD_ARGS, CMD_RESO, CMD_ERRO, DOM_BODY, STATE_DATA, STATE_PATH, } from "@-0/keys";

@@ -69,6 +69,6 @@ import { URL2obj } from "@-0/utils";

const ROUTE_HOT = (args) => [
...PREP,
_SET_ROUTE_LOADING_TRUE,
{ [CMD_ARGS]: args },
_SET_ROUTE_VIEW_TO_PAGE,
{ [CMD_ARGS]: args },
...PREP,
_PUSHSTATE_IF_HREF,

@@ -82,5 +82,4 @@ args => UNIVERSAL_ROUTING_SUBTASK({ [URL_FULL]: args[URL_FULL] }),

...POST,
_NOTIFY_PRERENDER_DOM,
];
return ROUTE_HOT;
};

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.3.78",
"version": "0.3.79",
"description": "Browser helpers for -0 state management, routing and the interaction between",

@@ -8,0 +8,0 @@ "main": "./lib/index.js",

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