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
2
Versions
178
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-ed3737f to 0.0.0-experimental-f85f9b1

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

253

CHANGELOG.md
# @forge/csp
## 0.0.0-experimental-ed3737f
## 2.1.1
### Patch Changes
- 907ce6c: Add navigate-to CSP directive
## 2.1.1-next.0
### Patch Changes
- 907ce6c: Add navigate-to CSP directive
## 2.1.0
### Minor Changes
- eeee3d3: Added ws://localhost to CSP
## 2.1.0-next.0
### Minor Changes
- eeee3d3f: Added ws://localhost to CSP
## 2.0.1
### Patch Changes
- 2a60561: Allow Forge Content Security Policy to load stylesheets from unpkg.com to enable an interim theme mounting solution for Atlassian Design System: Design Tokens
## 2.0.1-next.0
### Patch Changes
- 2a605619: Allow Forge Content Security Policy to load stylesheets from unpkg.com to enable an interim theme mounting solution for Atlassian Design System: Design Tokens
## 2.0.0
### Major Changes
- 3c0ac54: Move egress related services out of @forge/csp into new @forge/egress package
## 2.0.0-next.0
### Major Changes
- 3c0ac54: Move egress related services out of @forge/csp into new @forge/egress package
## 1.11.0
### Minor Changes
- 671a6a63: Skip generating hashes for inline scripts if unsafe-inline is provided
## 1.11.0-next.0
### Minor Changes
- 671a6a6: Skip generating hashes for inline scripts if unsafe-inline is provided
## 1.10.0
### Minor Changes
- e95919f: Added blob csp support for script content permissions with manifest validation
- 56164fe: Add allow-pointer-lock to iframe sandbox
## 1.10.0-next.1
### Minor Changes
- e95919f: Added blob csp support for script content permissions with manifest validation
## 1.10.0-next.0
### Minor Changes
- 56164fe: Add allow-pointer-lock to iframe sandbox
## 1.9.0
### Minor Changes
- 1c196ff: Add support for external fetch client to reference remote
### Patch Changes
- 1dba082: Enabling new frame ancestors '_.atl-paas.net' and '_.atlassian.com'
## 1.9.0-next.1
### Minor Changes
- 1c196ff: Add support for external fetch client to reference remote
## 1.8.1-next.0
### Patch Changes
- 04e4152: Enabling new frame ancestors '_.atl-paas.net' and '_.atlassian.com'
## 1.8.0
### Minor Changes
- d5f3fac: Remove deprecated method for handling CSP user config
- f002362: Revert change for deprecated CSP
## 1.8.0-next.1
### Minor Changes
- f002362: Revert change for deprecated CSP
## 1.8.0-next.0
### Minor Changes
- d5f3fac: Remove deprecated method for handling CSP user config
## 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

@@ -8,0 +259,0 @@ - c3ee9e7: Convert permissions.external to CSP options for Custom UI

3

out/index.d.ts

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

export * from './csp-injection-service';
export * from './csp-processing-service';
export * from './csp';
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("./types"), exports);

@@ -10,8 +10,8 @@ /// <reference types="node" />

SCRIPT_SRC = "script-src",
CONNECT_SRC = "connect-src"
STYLE_SRC = "style-src",
CONNECT_SRC = "connect-src",
FONT_SRC = "font-src",
FRAME_SRC = "frame-src"
}
export declare type MappedExternalCsp = Record<ExternalCspType, string[]>;
export interface CSPDetails extends MappedExternalCsp {
'style-src': string[];
}
export declare type CSPDetails = Record<ExternalCspType, string[]>;
//# sourceMappingURL=types.d.ts.map

@@ -9,3 +9,6 @@ "use strict";

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-ed3737f",
"version": "0.0.0-experimental-f85f9b1",
"description": "Contains the CSP configuration for Custom UI resources in Forge",

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

"devDependencies": {
"@forge/cli-shared": "^0.0.0-experimental-ed3737f",
"@forge/manifest": "^0.0.0-experimental-ed3737f",
"@types/jest": "^26.0.0"
"@forge/cli-shared": "0.0.0-experimental-f85f9b1",
"@forge/manifest": "0.0.0-experimental-f85f9b1",
"@types/jest": "^29.1.2"
},
"dependencies": {
"cheerio": "^0.20.0",
"cheerio": "^0.22.0",
"content-security-policy-parser": "^0.3.0"
}
}

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