From 290b203aebecb0739a53b97d6840fbc23c3abbd6 Mon Sep 17 00:00:00 2001 From: James Conkling Date: Wed, 21 Oct 2020 18:30:59 -0400 Subject: [PATCH] patch for CSP restrictions --- dist/renderers/pixi/index.js | 2 ++ dist/renderers/pixi/index.js.map | 2 +- package-lock.json | 8 ++++++++ package.json | 1 + src/renderers/pixi/index.ts | 3 +++ 5 files changed, 15 insertions(+), 1 deletion(-) diff --git a/dist/renderers/pixi/index.js b/dist/renderers/pixi/index.js index 7bc540cb..67b17bdc 100644 --- a/dist/renderers/pixi/index.js +++ b/dist/renderers/pixi/index.js @@ -32,6 +32,7 @@ var __values = (this && this.__values) || function(o) { Object.defineProperty(exports, "__esModule", { value: true }); exports.Renderer = exports.PIXIRenderer = exports.RENDERER_OPTIONS = void 0; var PIXI = __importStar(require("pixi.js")); +var unsafe_eval_1 = require("@pixi/unsafe-eval"); var utils_1 = require("../../utils"); var node_1 = require("./node"); var edge_1 = require("./edge"); @@ -41,6 +42,7 @@ var zoom_1 = require("./interaction/zoom"); var arrowSprite_1 = require("./sprites/arrowSprite"); var circleSprite_1 = require("./sprites/circleSprite"); var ImageSprite_1 = require("./sprites/ImageSprite"); +unsafe_eval_1.install(PIXI); exports.RENDERER_OPTIONS = { width: 800, height: 600, x: 0, y: 0, zoom: 1, minZoom: 0.1, maxZoom: 2.5, nodesEqual: function () { return false; }, edgesEqual: function () { return false; }, diff --git a/dist/renderers/pixi/index.js.map b/dist/renderers/pixi/index.js.map index 1c3b4078..a4d5de97 100644 --- a/dist/renderers/pixi/index.js.map +++ b/dist/renderers/pixi/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/renderers/pixi/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAA+B;AAE/B,qCAAgD;AAChD,+BAAqC;AACrC,+BAAqC;AACrC,2CAAyC;AACzC,uDAAqD;AACrD,2CAAyC;AACzC,qDAAmD;AACnD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WAAW,CAAC,EAAE,CAAC,cAAc,EAAE,YAAY,CAAC,CAAA;QACtE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAA;QAEnE,IAAI,CAAC,KAAK,GAAG,IAAI,yBAAW,CAAO,IAAI,CAAC,CAAA;QACxC,IAAI,CAAC,MAAM,GAAG,IAAI,2BAAY,CAAO,IAAI,CAAC,CAAA;QAC1C,IAAI,CAAC,KAAK,GAAG,IAAI,yBAAW,EAAE,CAAA;QAE9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;QAClB,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,IAAI,CAAC,mBAAmB,GAAG,0BAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;YAC/D,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,YAAY,CAAA;SAChC;aAAM;YACL,IAAI,CAAC,mBAAmB,GAAG,0BAAkB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;YAC1D,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,OAAO,CAAA;SAC3B;IACH,CAAC;IAkSH,mBAAC;AAAD,CAAC,AAlcD,IAkcC;AAlcY,oCAAY;AAqcZ,QAAA,QAAQ,GAAG,UAAiC,OAA2F;IAClJ,IAAM,YAAY,GAAG,IAAI,YAAY,CAAO,OAAO,CAAC,CAAA;IAEpD,IAAM,MAAM,GAAG,UAAC,KAA2E;QACzF,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;IAC5B,CAAC,CAAA;IAED,MAAM,CAAC,MAAM,GAAG,YAAY,CAAC,MAAM,CAAA;IAEnC,OAAO,MAAM,CAAA;AACf,CAAC,CAAA"} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 295e999b..58c023d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1613,6 +1613,14 @@ "@pixi/settings": "5.3.3" } }, + "@pixi/unsafe-eval": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/@pixi/unsafe-eval/-/unsafe-eval-5.3.3.tgz", + "integrity": "sha512-3+YznyDXW6yUhiV/kFRUqfnsekMejL1C9eFZkLP7EQRy6rthkRrvG4bsG63+v1wg10NgCJoRVbVk91Om2n7w/g==", + "requires": { + "@pixi/core": "5.3.3" + } + }, "@pixi/utils": { "version": "5.3.3", "resolved": "https://registry.npmjs.org/@pixi/utils/-/utils-5.3.3.tgz", diff --git a/package.json b/package.json index 45996ff7..4134d38b 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "author": "James Conkling jameslaneconkling.github.io", "license": "ISC", "dependencies": { + "@pixi/unsafe-eval": "^5.3.3", "d3-color": "^1.4.1", "d3-force": "^2.0.1", "d3-hierarchy": "^2.0.0", diff --git a/src/renderers/pixi/index.ts b/src/renderers/pixi/index.ts index 8adfe9d6..05573d44 100644 --- a/src/renderers/pixi/index.ts +++ b/src/renderers/pixi/index.ts @@ -1,4 +1,5 @@ import * as PIXI from 'pixi.js' +import { install } from '@pixi/unsafe-eval' import { Node, Edge } from '../../' import { animationFrameLoop } from '../../utils' import { NodeRenderer } from './node' @@ -11,6 +12,8 @@ import { CircleSprite } from './sprites/circleSprite' import { ImageSprite } from './sprites/ImageSprite' +install(PIXI) + export type Event = PIXI.InteractionEvent export type TextIcon = {