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

@forge/egress

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forge/egress - npm Package Compare versions

Comparing version 1.2.6-next.1 to 1.2.6-next.2

8

CHANGELOG.md
# @forge/egress
## 1.2.6-next.2
### Patch Changes
- 43121bc3: Bumping dependencies via Renovate:
- minimatch
## 1.2.6-next.1

@@ -4,0 +12,0 @@

5

out/egress/egress-filtering-service.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EgressFilteringService = void 0;
const tslib_1 = require("tslib");
const minimatch_1 = tslib_1.__importDefault(require("minimatch"));
const minimatch_1 = require("minimatch");
const url_parser_1 = require("./url-parser");

@@ -29,5 +28,5 @@ class EgressFilteringService {

.filter((allowed) => allowed.protocol === domain.protocol)
.some((url) => (0, minimatch_1.default)(domain.hostname, decodeURIComponent(url.hostname)));
.some((url) => (0, minimatch_1.minimatch)(domain.hostname, decodeURIComponent(url.hostname)));
}
}
exports.EgressFilteringService = EgressFilteringService;

4

out/egress/utils.js

@@ -18,3 +18,3 @@ "use strict";

domains.add(url.hostname.substring(2));
wildcardDomains.push((0, minimatch_1.makeRe)(url.hostname));
wildcardDomains.push(new minimatch_1.Minimatch(url.hostname));
}

@@ -26,3 +26,3 @@ else {

return [...domains].sort().reduce((grouped, domain) => {
if (!wildcardDomains.some((wcd) => wcd.test(domain))) {
if (!wildcardDomains.some((wcd) => wcd.match(domain))) {
grouped.push(domain);

@@ -29,0 +29,0 @@ }

{
"name": "@forge/egress",
"version": "1.2.6-next.1",
"version": "1.2.6-next.2",
"description": "Helpers and utils for egress implementation in Forge apps",

@@ -21,4 +21,4 @@ "main": "out/index.js",

"dependencies": {
"minimatch": "^5.1.0"
"minimatch": "^9.0.3"
}
}
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