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

@forge/csp

Package Overview
Dependencies
Maintainers
8
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forge/csp - npm Package Compare versions

Comparing version 0.0.0-experimental-8caa8a2 to 0.0.0-experimental-d18f8dd

out/csp/csp-injection-service.d.ts

156

CHANGELOG.md
# @forge/csp
## 0.0.0-experimental-8caa8a2
## 0.0.0-experimental-d18f8dd
### Patch Changes
- d18f8dd: Force bump
## 1.7.1
### Patch Changes
- 4b41a80: Added egress messaging to install prompts
## 1.7.1-next.0
### Patch Changes
- 4b41a80: Added egress messaging to install prompts
## 1.7.0
### Minor Changes
- ef00257: Add \*.jira.com to allowed host site list
### Patch Changes
- d7a1fe3: Update dependencies to remove any transitive dependencies on request
## 1.7.0-next.1
### Patch Changes
- d7a1fe3: Update dependencies to remove any transitive dependencies on request
## 1.7.0-next.0
### Minor Changes
- ef00257: Add \*.jira.com to allowed host site list
## 1.6.0
### Minor Changes
- 8714f5a: Add support for fonts and frames as part of Egress Permissions for Custom UI apps
### Patch Changes
- f8ae8a2: Add support for Bitbucket origin in Custom UI
## 1.6.0-next.1
### Patch Changes
- f8ae8a2: Add support for Bitbucket origin in Custom UI
## 1.6.0-next.0
### Minor Changes
- 8714f5a: Add support for fonts and frames as part of Egress Permissions for Custom UI apps
## 1.5.0
### Minor Changes
- 638194f: Fix logic to detect missing fetch egress permission
## 1.5.0-next.0
### Minor Changes
- 638194f: Fix logic to detect missing fetch egress permission
## 1.4.0
### Minor Changes
- 05f608f: Added external fetch linting
### Patch Changes
- bd9194a: Added error protection to egress filtering for URLs with no protocol
## 1.4.0-next.1
### Patch Changes
- bd9194a: Added error protection to egress filtering for URLs with no protocol
## 1.4.0-next.0
### Minor Changes
- 05f608f: Added external fetch linting
## 1.3.0
### Minor Changes
- 9ec2911: Allow style-src as part of Egress Permissions for Custom UI apps
### Patch Changes
- 2ddcdb2: Update frame-ancestors for dev
- 2b3c55d: Fix to restrict frame ancestors of Custom UI apps
## 1.3.0-next.2
### Patch Changes
- 2ddcdb2: Update frame-ancestors for dev
## 1.3.0-next.1
### Minor Changes
- 9ec2911: Allow style-src as part of Egress Permissions for Custom UI apps
## 1.2.1-next.0
### Patch Changes
- 2b3c55d: Fix to restrict frame ancestors of Custom UI apps
## 1.2.0
### Minor Changes
- 6c482ef: Add `allow-downloads allow-modals` to sandbox
## 1.2.0-next.0
### Minor Changes
- 6c482ef: Add `allow-downloads allow-modals` to sandbox
## 1.1.0
### Minor Changes
- f478087: Added logic handle external egress permissions
- c3ee9e7: Convert permissions.external to CSP options for Custom UI
### Patch Changes
- 74a0279: Allowlist images from Atlassian API inside Custom UI apps
- f8bb329: Adding on user defined CSP from the manifest
## 1.1.0-next.3
### Minor Changes
- c3ee9e7: Convert permissions.external to CSP options for Custom UI
## 1.1.0-next.2
### Minor Changes
- f478087: Added logic handle external egress permissions
## 1.0.2-next.1

@@ -11,0 +165,0 @@

4

out/index.d.ts

@@ -1,4 +0,4 @@

export * from './csp-injection-service';
export * from './csp-processing-service';
export * from './csp';
export * from './egress';
export * from './types';
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./csp-injection-service"), exports);
tslib_1.__exportStar(require("./csp-processing-service"), exports);
tslib_1.__exportStar(require("./csp"), exports);
tslib_1.__exportStar(require("./egress"), exports);
tslib_1.__exportStar(require("./types"), exports);
/// <reference types="node" />
import type { Permissions } from '@forge/manifest';
export declare type DocumentBody = string | Buffer;
export interface CSPDetails {
'script-src': string[];
'style-src': string[];
export declare type ContentPermissions = NonNullable<Permissions['content']>;
export declare type ExternalPermissions = NonNullable<Permissions['external']>;
export declare enum ExternalCspType {
IMG_SRC = "img-src",
MEDIA_SRC = "media-src",
SCRIPT_SRC = "script-src",
STYLE_SRC = "style-src",
CONNECT_SRC = "connect-src",
FONT_SRC = "font-src",
FRAME_SRC = "frame-src"
}
export declare type CSPDetails = Record<ExternalCspType, string[]>;
//# sourceMappingURL=types.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExternalCspType = void 0;
var ExternalCspType;
(function (ExternalCspType) {
ExternalCspType["IMG_SRC"] = "img-src";
ExternalCspType["MEDIA_SRC"] = "media-src";
ExternalCspType["SCRIPT_SRC"] = "script-src";
ExternalCspType["STYLE_SRC"] = "style-src";
ExternalCspType["CONNECT_SRC"] = "connect-src";
ExternalCspType["FONT_SRC"] = "font-src";
ExternalCspType["FRAME_SRC"] = "frame-src";
})(ExternalCspType = exports.ExternalCspType || (exports.ExternalCspType = {}));
{
"name": "@forge/csp",
"version": "0.0.0-experimental-8caa8a2",
"version": "0.0.0-experimental-d18f8dd",
"description": "Contains the CSP configuration for Custom UI resources in Forge",

@@ -14,10 +14,11 @@ "main": "out/index.js",

"devDependencies": {
"@forge/cli-shared": "^0.0.0-experimental-8caa8a2",
"@forge/manifest": "^0.0.0-experimental-8caa8a2",
"@forge/cli-shared": "^0.0.0-experimental-d18f8dd",
"@forge/manifest": "^0.0.0-experimental-d18f8dd",
"@types/jest": "^26.0.0"
},
"dependencies": {
"cheerio": "^0.20.0",
"content-security-policy-parser": "^0.3.0"
"cheerio": "^0.22.0",
"content-security-policy-parser": "^0.3.0",
"micromatch": "^4.0.2"
}
}

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