@locker/distortion
Advanced tools
Comparing version 0.15.5 to 0.15.6
@@ -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`. |
{ | ||
"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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
504732
299
5891
0
+ Added@locker/html-sanitizer@0.15.6(transitive)
+ Added@locker/instrumentation@0.15.6(transitive)
+ Added@locker/shared@0.15.6(transitive)
+ Added@locker/shared-dom@0.15.6(transitive)
+ Added@locker/shared-url@0.15.6(transitive)
- Removed@locker/html-sanitizer@0.15.5(transitive)
- Removed@locker/instrumentation@0.15.5(transitive)
- Removed@locker/shared@0.15.5(transitive)
- Removed@locker/shared-dom@0.15.5(transitive)
- Removed@locker/shared-url@0.15.5(transitive)
Updated@locker/shared@0.15.6
Updated@locker/shared-dom@0.15.6
Updated@locker/shared-url@0.15.6