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

@locker/distortion

Package Overview
Dependencies
Maintainers
8
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@locker/distortion - npm Package Compare versions

Comparing version 0.15.5 to 0.15.6

docs/markdowns/HTMLElement/docs/dataset-getter.md

1

docs/markdowns/HTMLObjectElement/docs/contentDocument-getter.md

@@ -6,4 +6,5 @@ ## HTMLObjectElement.prototype.contentDocument getter

To reduce the possibility of exploit, Lightning Web Security returns `null` for the `contentDocument` property of object elements.
### Distorted Behavior
This distortion returns `null` for `contentDocument`.

14

package.json
{
"name": "@locker/distortion",
"version": "0.15.5",
"version": "0.15.6",
"license": "Salesforce Developer Agreement",

@@ -21,7 +21,7 @@ "author": "Salesforce UI Security Team",

"dependencies": {
"@locker/html-sanitizer": "0.15.5",
"@locker/instrumentation": "0.15.5",
"@locker/shared": "0.15.5",
"@locker/shared-dom": "0.15.5",
"@locker/shared-url": "0.15.5"
"@locker/html-sanitizer": "0.15.6",
"@locker/instrumentation": "0.15.6",
"@locker/shared": "0.15.6",
"@locker/shared-dom": "0.15.6",
"@locker/shared-url": "0.15.6"
},

@@ -33,3 +33,3 @@ "files": [

],
"gitHead": "9908c09daf0ae97dc6ea9afc4bfeee6dc8ad085d"
"gitHead": "4a23e2654c20a55b89d94408fe2bc306af46e931"
}
import { SandboxKey } from '../types';
export declare const CHAR_CODE_EQUALS = 61;
export declare const COOKIE_DELIMITER = "; ";
export declare function prefixCookieName(detailsOrName: any, key: SandboxKey): string | {
name: string;
};
declare enum CookieSameSite {
'strict' = 0,
'lax' = 1,
'none' = 2
}
export declare type CookieListItem = {
name: string;
value: string;
domain?: string;
path: string;
expires?: DOMTimeStamp;
secure: boolean;
sameSite: CookieSameSite;
};
export declare function unprefixCookieName(name: string, key: SandboxKey): string | null;
export declare function normalizeCookieListItem(cookie: CookieListItem, key: SandboxKey): CookieListItem | null;
export {};
//# sourceMappingURL=shared.d.ts.map

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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

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

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

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