@jupyterlab/apputils 4.4.6 → 4.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/sanitizer.d.ts +4 -1
- package/lib/sanitizer.js +514 -506
- package/lib/sanitizer.js.map +1 -1
- package/package.json +11 -11
- package/src/sanitizer.ts +516 -506
package/lib/sanitizer.d.ts
CHANGED
|
@@ -21,7 +21,9 @@ export declare class Sanitizer implements IRenderMime.ISanitizer {
|
|
|
21
21
|
/**
|
|
22
22
|
* Set the allowed schemes
|
|
23
23
|
*
|
|
24
|
-
* @param scheme Allowed schemes
|
|
24
|
+
* @param scheme Allowed schemes.
|
|
25
|
+
* Automatically regenerates sanitizer options to apply the change.
|
|
26
|
+
* Note: the schemes merge into the current config and does not get overwritten.
|
|
25
27
|
*/
|
|
26
28
|
setAllowedSchemes(scheme: Array<string>): void;
|
|
27
29
|
/**
|
|
@@ -36,6 +38,7 @@ export declare class Sanitizer implements IRenderMime.ISanitizer {
|
|
|
36
38
|
setAllowNamedProperties(allowNamedProperties: boolean): void;
|
|
37
39
|
private _autolink;
|
|
38
40
|
private _allowNamedProperties;
|
|
41
|
+
private _customAllowedSchemes;
|
|
39
42
|
private _options;
|
|
40
43
|
private _generateOptions;
|
|
41
44
|
}
|