package updates
parent
0895235c17
commit
94068b80b7
File diff suppressed because it is too large
Load Diff
44
package.json
44
package.json
|
@ -84,11 +84,11 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@svgedit/svgcanvas": "7.2.1",
|
"@svgedit/svgcanvas": "7.2.1",
|
||||||
"browser-fs-access": "0.34.1",
|
"browser-fs-access": "0.35.0",
|
||||||
"core-js": "3.32.1",
|
"core-js": "3.33.0",
|
||||||
"elix": "15.0.1",
|
"elix": "15.0.1",
|
||||||
"html2canvas": "1.4.1",
|
"html2canvas": "1.4.1",
|
||||||
"i18next": "23.4.6",
|
"i18next": "23.5.1",
|
||||||
"jspdf": "2.5.1",
|
"jspdf": "2.5.1",
|
||||||
"pathseg": "1.2.1",
|
"pathseg": "1.2.1",
|
||||||
"regenerator-runtime": "0.14.0",
|
"regenerator-runtime": "0.14.0",
|
||||||
|
@ -96,25 +96,25 @@
|
||||||
"svg2pdf.js": "2.2.2"
|
"svg2pdf.js": "2.2.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "7.22.11",
|
"@babel/core": "7.23.2",
|
||||||
"@babel/preset-env": "7.22.10",
|
"@babel/preset-env": "7.23.2",
|
||||||
"@babel/register": "7.22.5",
|
"@babel/register": "7.22.15",
|
||||||
"@babel/runtime-corejs3": "7.22.11",
|
"@babel/runtime-corejs3": "7.23.2",
|
||||||
"@cypress/code-coverage": "3.11.0",
|
"@cypress/code-coverage": "3.12.3",
|
||||||
"@rollup/plugin-babel": "^6.0.3",
|
"@rollup/plugin-babel": "^6.0.4",
|
||||||
"@rollup/plugin-commonjs": "^25",
|
"@rollup/plugin-commonjs": "25.0.5",
|
||||||
"@rollup/plugin-dynamic-import-vars": "2.0.5",
|
"@rollup/plugin-dynamic-import-vars": "2.0.6",
|
||||||
"@rollup/plugin-node-resolve": "15.2.1",
|
"@rollup/plugin-node-resolve": "15.2.3",
|
||||||
"@rollup/plugin-replace": "5.0.2",
|
"@rollup/plugin-replace": "5.0.3",
|
||||||
"@rollup/plugin-url": "8.0.1",
|
"@rollup/plugin-url": "8.0.2",
|
||||||
"@web/dev-server": "0.3.0",
|
"@web/dev-server": "0.3.3",
|
||||||
"@web/dev-server-esbuild": "^0.4.1",
|
"@web/dev-server-esbuild": "^0.4.1",
|
||||||
"@web/dev-server-rollup": "0.5.2",
|
"@web/dev-server-rollup": "0.5.2",
|
||||||
"babel-plugin-istanbul": "^6.1.1",
|
"babel-plugin-istanbul": "^6.1.1",
|
||||||
"babel-plugin-transform-object-rest-spread": "7.0.0-beta.3",
|
"babel-plugin-transform-object-rest-spread": "7.0.0-beta.3",
|
||||||
"core-js-bundle": "3.32.1",
|
"core-js-bundle": "3.33.0",
|
||||||
"cp-cli": "2.0.0",
|
"cp-cli": "2.0.0",
|
||||||
"cypress": "12.17.4",
|
"cypress": "13.3.1",
|
||||||
"cypress-multi-reporters": "1.6.3",
|
"cypress-multi-reporters": "1.6.3",
|
||||||
"jamilih": "0.58.2",
|
"jamilih": "0.58.2",
|
||||||
"jsdoc": "4.0.2",
|
"jsdoc": "4.0.2",
|
||||||
|
@ -125,16 +125,16 @@
|
||||||
"promise-fs": "2.1.1",
|
"promise-fs": "2.1.1",
|
||||||
"qr-manipulation": "0.7.0",
|
"qr-manipulation": "0.7.0",
|
||||||
"query-result": "1.0.5",
|
"query-result": "1.0.5",
|
||||||
"remark-cli": "11.0.0",
|
"remark-cli": "12.0.0",
|
||||||
"remark-lint-ordered-list-marker-value": "3.1.2",
|
"remark-lint-ordered-list-marker-value": "3.1.2",
|
||||||
"rimraf": "5.0.1",
|
"rimraf": "5.0.5",
|
||||||
"rollup": "3.28.1",
|
"rollup": "4.0.2",
|
||||||
"rollup-plugin-copy": "3.4.0",
|
"rollup-plugin-copy": "3.5.0",
|
||||||
"rollup-plugin-filesize": "10.0.0",
|
"rollup-plugin-filesize": "10.0.0",
|
||||||
"rollup-plugin-html": "0.2.1",
|
"rollup-plugin-html": "0.2.1",
|
||||||
"rollup-plugin-progress": "1.1.2",
|
"rollup-plugin-progress": "1.1.2",
|
||||||
"rollup-plugin-re": "1.0.7",
|
"rollup-plugin-re": "1.0.7",
|
||||||
"standard": "17.1.0",
|
"standard": "17.1.0",
|
||||||
"start-server-and-test": "2.0.0"
|
"start-server-and-test": "2.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,6 +35,6 @@
|
||||||
"react-dom": "^18.2.0"
|
"react-dom": "^18.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/preset-react": "^7.18.6"
|
"@babel/preset-react": "^7.22.15"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -27,29 +27,30 @@
|
||||||
-->
|
-->
|
||||||
<div id="container" style="width:100%;height:100vh"></div>
|
<div id="container" style="width:100%;height:100vh"></div>
|
||||||
</body>
|
</body>
|
||||||
<!-- If you do not wish to add extensions by URL, you can add calls
|
<!-- If you do not wish to add extensions by URL, you can add calls
|
||||||
within the following file to svgEditor.setConfig -->
|
within the following file to svgEditor.setConfig -->
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import Editor from './Editor.js'
|
import Editor from './Editor.js'
|
||||||
/* for available options see the file `docs/tutorials/ConfigOptions.md */
|
/* for available options see the file `docs/tutorials/ConfigOptions.md */
|
||||||
const svgEditor = new Editor(document.getElementById('container'))
|
const svgEditor = new Editor(document.getElementById('container'))
|
||||||
svgEditor.init()
|
svgEditor.setConfig({
|
||||||
svgEditor.setConfig({
|
|
||||||
allowInitialUserOverride: true,
|
allowInitialUserOverride: true,
|
||||||
extensions: [],
|
extensions: [],
|
||||||
noDefaultExtensions: false,
|
noDefaultExtensions: false,
|
||||||
userExtensions: [/* { pathName: '/packages/react-test/dist/react-test.js' } */]
|
userExtensions: [/* { pathName: '/packages/react-test/dist/react-test.js' } */]
|
||||||
})
|
})
|
||||||
// Variable XDOMAIN below is created by Rollup for the Xdomain build (see rollup.config.js)
|
svgEditor.init()
|
||||||
/* globals XDOMAIN */
|
// Variable XDOMAIN below is created by Rollup for the Xdomain build (see rollup.config.js)
|
||||||
try { // try clause to avoid js to complain if XDOMAIN undefined
|
/* globals XDOMAIN */
|
||||||
|
try { // try clause to avoid js to complain if XDOMAIN undefined
|
||||||
if (XDOMAIN) {
|
if (XDOMAIN) {
|
||||||
svgEditor.setConfig({
|
svgEditor.setConfig({
|
||||||
canvasName: 'xdomain', // Namespace this
|
canvasName: 'xdomain', // Namespace this
|
||||||
allowedOrigins: [ '*' ]
|
allowedOrigins: ['*']
|
||||||
})
|
})
|
||||||
console.info('xdomain config activated')
|
console.info('xdomain config activated')
|
||||||
}
|
}
|
||||||
} catch (error) { /* empty fn */ }
|
} catch (error) { /* empty fn */ }
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue