Socket
Socket
Sign inDemoInstall

@jsenv/url-meta

Package Overview
Dependencies
Maintainers
0
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsenv/url-meta - npm Package Compare versions

Comparing version 8.4.2 to 8.5.0

6

package.json
{
"name": "@jsenv/url-meta",
"version": "8.4.2",
"version": "8.5.0",
"license": "MIT",

@@ -15,4 +15,3 @@ "repository": {

"name": "dmail",
"email": "dmaillard06@gmail.com",
"url": "https://twitter.com/damienmaillard"
"email": "dmaillard06@gmail.com"
},

@@ -26,2 +25,3 @@ "type": "module",

},
"sideEffects": false,
"files": [

@@ -28,0 +28,0 @@ "/src/"

import {
resolveAssociations,
applyAliases,
applyAssociations,
applyAliases,
applyPatternMatching,
matches,
resolveAssociations,
urlChildMayMatch,
matches,
} from "./url_meta.js";
const createFilter = (patterns, url) => {
const associations = resolveAssociations(
{
yes: patterns,
},
url,
);
return (url) => {
const meta = applyAssociations({ url, associations });
return Boolean(meta.yes);
};
};
export const URL_META = {

@@ -17,2 +30,3 @@ resolveAssociations,

matches,
createFilter,
};
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