babylonjs-gui 9.37.0 → 9.37.2

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.
@@ -7025,6 +7025,15 @@ export class Image extends Control {
7025
7025
  */
7026
7026
  set source(value: Nullable<string>);
7027
7027
  private _sanitizeSVG;
7028
+ private static readonly _SVGSourceAttribute;
7029
+ private static _FindSVGFrame;
7030
+ /**
7031
+ * Loads the SVG markup, sanitizes it, and exposes it to the hidden measuring frame. The frame is sandboxed without
7032
+ * "allow-scripts", so any active content that survives sanitization still cannot run with the application's origin.
7033
+ * @param svgsrc the url of the svg document
7034
+ * @param svgFrame the sandboxed frame used to measure the svg elements
7035
+ */
7036
+ private _loadSanitizedSVG;
7028
7037
  /**
7029
7038
  * Checks for svg document with icon id present
7030
7039
  * @param value the source svg
@@ -16274,6 +16283,15 @@ declare namespace BABYLON.GUI {
16274
16283
  */
16275
16284
  set source(value: BABYLON.Nullable<string>);
16276
16285
  private _sanitizeSVG;
16286
+ private static readonly _SVGSourceAttribute;
16287
+ private static _FindSVGFrame;
16288
+ /**
16289
+ * Loads the SVG markup, sanitizes it, and exposes it to the hidden measuring frame. The frame is sandboxed without
16290
+ * "allow-scripts", so any active content that survives sanitization still cannot run with the application's origin.
16291
+ * @param svgsrc the url of the svg document
16292
+ * @param svgFrame the sandboxed frame used to measure the svg elements
16293
+ */
16294
+ private _loadSanitizedSVG;
16277
16295
  /**
16278
16296
  * Checks for svg document with icon id present
16279
16297
  * @param value the source svg
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui",
3
- "version": "9.37.0",
3
+ "version": "9.37.2",
4
4
  "main": "babylon.gui.min.js",
5
5
  "types": "babylon.gui.module.d.ts",
6
6
  "files": [
@@ -16,7 +16,7 @@
16
16
  "test:escheck": "node ../../../../scripts/checkEcmaVersion.mjs es6 ./babylon.gui.js"
17
17
  },
18
18
  "dependencies": {
19
- "babylonjs": "9.37.0"
19
+ "babylonjs": "9.37.2"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@dev/build-tools": "1.0.0",
@@ -44,8 +44,8 @@
44
44
  },
45
45
  "babylonEngineRelease": {
46
46
  "sourceRepository": "https://github.com/BabylonJS/Babylon.js.git",
47
- "sourceCommit": "090545f042aa15d85853cfc3d96369f491ea8650",
48
- "publisherCommit": "09b86c652000c75694181bf68d89ad453c3f59d0",
47
+ "sourceCommit": "087c79263b3709f0eb2c23ea0232345accbf370f",
48
+ "publisherCommit": "0b5995e4e40628a1fe1fab01e258d9786af73be4",
49
49
  "npmTag": "latest"
50
50
  }
51
51
  }