@mediatool/frontend-tools 1.4.9 → 1.5.1
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/dist/mtft.cjs +1 -1
- package/package.json +2 -2
package/dist/mtft.cjs
CHANGED
|
@@ -84,7 +84,7 @@ function build (type) {
|
|
|
84
84
|
return fn()
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('mtft.cjs', document.baseURI).href)));
|
|
87
|
+
const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('mtft.cjs', document.baseURI).href)));
|
|
88
88
|
const mochaCliPath = require$1.resolve('mocha/lib/cli/cli.js');
|
|
89
89
|
const requireFilePath = require$1.resolve('@mediatool/frontend-tools/lib/test/require.cjs');
|
|
90
90
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediatool/frontend-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Common configs and tooling for bundling, testing, linting frontend modules",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@babel/preset-react": "^7.18.6",
|
|
25
|
-
"@mediatool/eslint-config-mediatool": "^1.
|
|
25
|
+
"@mediatool/eslint-config-mediatool": "^1.10.0",
|
|
26
26
|
"@testing-library/react": "^13.4.0",
|
|
27
27
|
"@testing-library/user-event": "^14.4.3",
|
|
28
28
|
"@types/chai": "^4.3.4",
|