Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@apify/pseudo_url

Package Overview
Dependencies
Maintainers
9
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apify/pseudo_url - npm Package Compare versions

Comparing version 2.0.14 to 2.0.15

13

index.js

@@ -22,2 +22,6 @@ "use strict";

var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,

@@ -41,2 +45,8 @@ mod

var PseudoUrl = class {
/**
* @param purl
* A pseudo-URL string or a regular expression object.
* Using a `RegExp` instance enables more granular control,
* such as making the matching case-sensitive.
*/
constructor(purl) {

@@ -51,2 +61,5 @@ inputPredicate.parse(purl);

}
/**
* Determines whether a URL matches this pseudo-URL pattern.
*/
matches(url) {

@@ -53,0 +66,0 @@ return typeof url === "string" && url.match(this.regex) !== null;

6

package.json
{
"name": "@apify/pseudo_url",
"version": "2.0.14",
"version": "2.0.15",
"description": "Tool to find the matching URLs on a page (or html document) by providing a URL pattern.",

@@ -42,6 +42,6 @@ "main": "./index.js",

"dependencies": {
"@apify/log": "^2.2.8",
"@apify/log": "^2.2.9",
"@sapphire/shapeshift": "^3.6.0"
},
"gitHead": "de15d3f81a1a57fb32ea2e84ba751d56db21f923"
"gitHead": "628f113c33df5d2e036540d8f1c8fd8d6f7f8f60"
}

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 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