@aller/external-id
Advanced tools
Comparing version 7.1.0 to 7.1.1-alpha.0
/** | ||
* Takes an URL and returns the stripped host | ||
* Takes an URL and returns an ID. | ||
* @param {string | URL} url | ||
* @returns {string} | ||
*/ | ||
declare function getStrippedHost(url: string | URL): string; | ||
declare function getExternalId(url: string | URL): string; | ||
/** | ||
* @module external-id | ||
*/ | ||
/** | ||
* Takes an URL and returns an ID. | ||
* Takes an URL and returns the stripped host | ||
* @param {string | URL} url | ||
* @returns {string} | ||
*/ | ||
declare function getExternalId(url: string | URL): string; | ||
declare function getStrippedHost(url: string | URL): string; | ||
export { getExternalId, getStrippedHost }; |
{ | ||
"name": "@aller/external-id", | ||
"version": "7.1.0", | ||
"version": "7.1.1-alpha.0", | ||
"description": "Library for creating an ID from an URL.", | ||
@@ -33,3 +33,4 @@ "repository": "git@github.com:soldotno/harvester-external-id.git", | ||
"codestyle": "yarn lint && yarn format-check", | ||
"run-test-server": "node tests/e2e/server.js" | ||
"run-test-server": "node tests/e2e/server.js", | ||
"manual-test": "node tests/manual-check.js" | ||
}, | ||
@@ -36,0 +37,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1040022
727
2
1