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

desktop-deep-link

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

desktop-deep-link - npm Package Compare versions

Comparing version 1.1.8 to 1.2.0

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [1.2.0](https://github.com/friedrith/desktop-deep-link/compare/v1.1.8...v1.2.0) (2022-01-02)
### Features
* remove normalization ([e8a10fe](https://github.com/friedrith/desktop-deep-link/commit/e8a10feda89b9b501659be31c48b6ecb95359f4f))
### [1.1.8](https://github.com/friedrith/desktop-deep-link/compare/v1.1.7...v1.1.8) (2022-01-02)

@@ -7,0 +14,0 @@

7

dist/tsc/index.js

@@ -8,12 +8,7 @@ "use strict";

};
const normalize = (uri) => {
const s = uri.startsWith('http') ? uri : `https://${uri}`;
return s.replace('http://', 'https://');
};
exports.default = (uri) => {
var _a;
const cleanURI = normalize(uri);
return (_a = [...modules_1.modules, defaultModule]
.find((m) => m.match(cleanURI))) === null || _a === void 0 ? void 0 : _a.transform(cleanURI);
.find((m) => m.match(uri))) === null || _a === void 0 ? void 0 : _a.transform(uri);
};
//# sourceMappingURL=index.js.map
{
"name": "desktop-deep-link",
"version": "1.1.8",
"version": "1.2.0",
"description": "A library to transform urls to deep link for a lot of desktop apps.",

@@ -5,0 +5,0 @@ "main": "dist/tsc/index.js",

@@ -9,12 +9,6 @@ import { modules } from './modules'

const normalize = (uri: string): string => {
const s = uri.startsWith('http') ? uri : `https://${uri}`
return s.replace('http://', 'https://')
}
export default (uri: string) => {
const cleanURI: string = normalize(uri)
return [...modules, defaultModule]
.find((m: Module) => m.match(cleanURI))
?.transform(cleanURI)
.find((m: Module) => m.match(uri))
?.transform(uri)
}

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