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

anchorme

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anchorme - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

5

dist-node/transform/identify.js

@@ -17,2 +17,5 @@ "use strict";

var protocol = hasprotocol_1.default(encoded) || "";
// remove the protocol before proceeding to any other test
if (protocol)
encoded = encoded.substr(protocol.length);
// test 1: it's a file

@@ -27,4 +30,2 @@ if (options.files && protocol === "file:///" && encoded.substr(protocol.length).split(/\/|\\/).length - 1) {

}
else if (protocol)
encoded = encoded.substr(protocol.length);
// test 2: it's a URL

@@ -31,0 +32,0 @@ if ((!urlObj) && options.urls && url_1.default(encoded)) {

14

package.json
{
"name": "anchorme",
"version": "1.1.0",
"version": "1.1.1",
"description": "A library to convert URLs to a clickable HTML anchor elements",

@@ -30,10 +30,10 @@ "main": "./dist-node/index.js",

"devDependencies": {
"@types/jest": "^18.1.1",
"@types/jest": "^19.2.2",
"jest": "^19.0.2",
"rollup": "^0.36.3",
"rollup": "^0.41.6",
"rollup-plugin-buble": "^0.15.0",
"rollup-plugin-commonjs": "^7.0.0",
"ts-jest": "^19.0.0",
"typescript": "^2.2.1",
"uglify-js": "^2.7.3"
"rollup-plugin-commonjs": "^8.0.2",
"ts-jest": "^19.0.7",
"typescript": "^2.2.2",
"uglify-js": "^2.8.21"
},

@@ -40,0 +40,0 @@ "dependencies": {},

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