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

history-manager

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

history-manager - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

3

CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file.
## [1.4.3] - 2021-04-08
- actually fix `URLManager.get` bug
## [1.4.2] - 2021-04-08

@@ -5,0 +8,0 @@ - fix `URLManager.get` bug

2

package.json
{
"name": "history-manager",
"version": "1.4.2",
"version": "1.4.3",
"description": "",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -18,2 +18,6 @@ /**

function getLocation() {
return LOCATION_BASE + (BASE[0] === "#" ? LOCATION_PATHNAME : "");
}
const parenthesesRegex: RegExp = /[\\\/]+/g;

@@ -39,3 +43,3 @@

export function get(): string {
const LOCATION = LOCATION_BASE + LOCATION_PATHNAME;
const LOCATION = getLocation();
return prepare(clearHref().split(LOCATION).slice(1).join(LOCATION).split(BASE).slice(1).join(BASE));

@@ -55,5 +59,5 @@ }

}
return (full ? LOCATION_BASE + (BASE[0] === "#" ? LOCATION_PATHNAME : "") : "") +
return (full ? getLocation() : "") +
(BASE + "/" + href).replace(parenthesesRegex, "/")
;
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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