Commit 934e616e authored by Jean Rabreau's avatar Jean Rabreau
Browse files

prepare 0.6 tag / safari debug on old component

parent 72a2b9e4
......@@ -3412,70 +3412,70 @@
"dev": true
},
"@sentry/browser": {
"version": "6.2.2",
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-6.2.2.tgz",
"integrity": "sha512-K5UGyEePtVPZIFMoiRafhd4Ov0M1kdozVsVKIPZrOpJyjQdPNX+fYDNL/h0nVmgOlE2S/uu4fl4mEfe/6aLShw==",
"version": "6.2.3",
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-6.2.3.tgz",
"integrity": "sha512-QUqrZdAosY2MPAUfJYpyCT+dA6v7A2h8imO8R3Lbi0hRSPr+L7zjqHgFs3CTHJLmLV74cxHt6rVVUPSksYNQDQ==",
"requires": {
"@sentry/core": "6.2.2",
"@sentry/types": "6.2.2",
"@sentry/utils": "6.2.2",
"@sentry/core": "6.2.3",
"@sentry/types": "6.2.3",
"@sentry/utils": "6.2.3",
"tslib": "^1.9.3"
}
},
"@sentry/core": {
"version": "6.2.2",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.2.2.tgz",
"integrity": "sha512-qqWbvvXtymfXh7N5eEvk97MCnMURuyFIgqWdVD4MQM6yIfDCy36CyGfuQ3ViHTLZGdIfEOhLL9/f4kzf1RzqBA==",
"requires": {
"@sentry/hub": "6.2.2",
"@sentry/minimal": "6.2.2",
"@sentry/types": "6.2.2",
"@sentry/utils": "6.2.2",
"version": "6.2.3",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.2.3.tgz",
"integrity": "sha512-GpfHoSJiXchVXgyaMWVtIPVw2t97KkD1OJ4JdL3/TeH3auX5XvsN5iHTk+x/Er8t13IpOnvidH1xWdV1dnax2w==",
"requires": {
"@sentry/hub": "6.2.3",
"@sentry/minimal": "6.2.3",
"@sentry/types": "6.2.3",
"@sentry/utils": "6.2.3",
"tslib": "^1.9.3"
}
},
"@sentry/hub": {
"version": "6.2.2",
"resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-6.2.2.tgz",
"integrity": "sha512-VR6uQGRYt6RP633FHShlSLj0LUKGVrlTeSlwCoooWM5FR9lmi6akAaweuxpG78/kZvXrAWpjX6/nuYwHKGwzGA==",
"version": "6.2.3",
"resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-6.2.3.tgz",
"integrity": "sha512-D5Horfo2l0p52S7KPvy7qwWNMrE4IsCN8ODbfcCsfJu7hEXJmItbkbohIVSqO5neukhn5nu+x8kyCe9Q5u1Q6g==",
"requires": {
"@sentry/types": "6.2.2",
"@sentry/utils": "6.2.2",
"@sentry/types": "6.2.3",
"@sentry/utils": "6.2.3",
"tslib": "^1.9.3"
}
},
"@sentry/integrations": {
"version": "6.2.2",
"resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-6.2.2.tgz",
"integrity": "sha512-B7oaQD3+dVZpgQIOWK19F12fxHKcU7AJXdcjw/gHRMLulLTYjGSFwgVS/zdaC+4W/zGO/HpZjFqqXqqRP9ipEg==",
"version": "6.2.3",
"resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-6.2.3.tgz",
"integrity": "sha512-FVC+mttubnVY9YM2cINPI8TuNttBl2qpwODSoun+YIrXDA1uBzJjEQWfoM+QAq2dx0KPVtyFoZpUkVukvUNm+g==",
"requires": {
"@sentry/types": "6.2.2",
"@sentry/utils": "6.2.2",
"@sentry/types": "6.2.3",
"@sentry/utils": "6.2.3",
"localforage": "^1.8.1",
"tslib": "^1.9.3"
}
},
"@sentry/minimal": {
"version": "6.2.2",
"resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.2.2.tgz",
"integrity": "sha512-l0IgoGQgg1lTd4qDU8bQn25sbZBg8PwIHfuTLbGMlRr1flDXHOM1UXajWK/UKbAPelnU7M2JBSVzgl7PwjprzA==",
"version": "6.2.3",
"resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.2.3.tgz",
"integrity": "sha512-Gpn9x4NQAG7E94EK1+hAz9GUcYrffTuqJ/XgqvHYk0jsHZ6RfsXYrmBac0ZwUxOivMf2t0n5opK0v5rhMDfF2w==",
"requires": {
"@sentry/hub": "6.2.2",
"@sentry/types": "6.2.2",
"@sentry/hub": "6.2.3",
"@sentry/types": "6.2.3",
"tslib": "^1.9.3"
}
},
"@sentry/types": {
"version": "6.2.2",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.2.2.tgz",
"integrity": "sha512-Y/1sRtw3a5JU4YdNBig8lLSVJ1UdYtuge+QP1CVLcLSAbq07Ok1bvF+Z+BlNcnHqle2Fl8aKuryG5Yu86enOyQ=="
"version": "6.2.3",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.2.3.tgz",
"integrity": "sha512-BpA+9FherWgYlkMD/82bGFh/gAqZNlZX5UE8vWLKyyzNyOEEz3v9ScxE8dOSWE4v5iXJR1O3jjxaTcRQxPVgCA=="
},
"@sentry/utils": {
"version": "6.2.2",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.2.2.tgz",
"integrity": "sha512-qaee6X6VDNZ8HeO83/veaKw0KuhDE7j1R+Yryme3PywFzsoTzutDrEQjb7gvcHAhBaAYX8IHUBHgxcFI9BxI+w==",
"version": "6.2.3",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.2.3.tgz",
"integrity": "sha512-YnkJm97wSvck39eRpqWjIuuwbvzPilvAcMqhbUy9yK/UBQMDGUzAKCOKH40udw1DwMUCWjJ71mOCDgUorE4Fog==",
"requires": {
"@sentry/types": "6.2.2",
"@sentry/types": "6.2.3",
"tslib": "^1.9.3"
}
},
......@@ -4218,25 +4218,6 @@
"pify": "^4.0.1"
}
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"loader-utils": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
"integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
"dev": true,
"optional": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
......@@ -4253,16 +4234,6 @@
"minipass": "^3.1.1"
}
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
},
"terser-webpack-plugin": {
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-2.3.8.tgz",
......@@ -4280,31 +4251,6 @@
"webpack-sources": "^1.4.3"
}
},
"vue-loader-v16": {
"version": "npm:vue-loader@16.1.2",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.1.2.tgz",
"integrity": "sha512-8QTxh+Fd+HB6fiL52iEVLKqE9N1JSlMXLR92Ijm6g8PZrwIxckgpqjPDWRP5TWxdiPaHR+alUWsnu1ShQOwt+Q==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
},
"dependencies": {
"chalk": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
"integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
}
}
},
"webpack-bundle-analyzer": {
"version": "3.9.0",
"resolved": "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.9.0.tgz",
......@@ -8283,9 +8229,9 @@
}
},
"eslint-plugin-vue": {
"version": "7.7.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-7.7.0.tgz",
"integrity": "sha512-mYz4bpLGv5jx6YG/GvKkqbGSfV7uma2u1P3mLA41Q5vQl8W1MeuTneB8tfsLq6xxxesFubcrOC0BZBJ5R+eaCQ==",
"version": "7.8.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-7.8.0.tgz",
"integrity": "sha512-OGrnPz+PuYL2HmVyBHxm4mRjxW2kfFCQE6Hw9G6qOHs/Pcu0srOlCCW0FMa8SLzIEqxl8WuKoBSPcMnrjUG2vw==",
"dev": true,
"requires": {
"eslint-utils": "^2.1.0",
......@@ -8304,9 +8250,9 @@
}
},
"semver": {
"version": "7.3.4",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz",
"integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==",
"version": "7.3.5",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
"integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
"dev": true,
"requires": {
"lru-cache": "^6.0.0"
......@@ -17152,9 +17098,9 @@
"integrity": "sha512-uhmLFETqPPNyuLLbsKz6ioJ4q7AZHzD8ZVFNATNyICSZouqP2Sz0rotWQC8UNBF6VGSCs5abnKJoStA6JbCbfg=="
},
"vue-cli-plugin-vuetify": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/vue-cli-plugin-vuetify/-/vue-cli-plugin-vuetify-2.3.0.tgz",
"integrity": "sha512-Cx6DmOC/awbtzRJtIZM+Dn13QGndhKmNbEYEhgZmcA0sZVyxYZCVBpcVdHky4LeTCj6vQA6AypLrWKTlnljhhg==",
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/vue-cli-plugin-vuetify/-/vue-cli-plugin-vuetify-2.3.1.tgz",
"integrity": "sha512-96NLmCE12FalyWSxbfFerbOKSwuPq5b4zYRei5BRLbdCBq+YgmCMv8zgZl8Rx/kR/91T4i8XZDCNgfQ78mpQ3A==",
"dev": true,
"requires": {
"null-loader": "^3.0.0",
......@@ -17193,9 +17139,9 @@
}
},
"semver": {
"version": "7.3.4",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz",
"integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==",
"version": "7.3.5",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
"integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
"dev": true,
"requires": {
"lru-cache": "^6.0.0"
......@@ -17259,9 +17205,9 @@
"dev": true
},
"vue-i18n": {
"version": "8.24.1",
"resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.24.1.tgz",
"integrity": "sha512-iqM+npjvI9SGOAYkw1Od/y4O74gpvn5WOHeb3K125TmDJssvR62tDMMLIasPmKNbePZ1BMZ6d5jOBsrB/cK8Lw=="
"version": "8.24.2",
"resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.24.2.tgz",
"integrity": "sha512-+TkAPBQw4Cp2bQrSPtPNkhET7XcWYjjDt1UjWYQs+xbT41q5OAl1I3IZyhg0drjn1nlC1K0f8sLVB/nshUcF1Q=="
},
"vue-loader": {
"version": "15.9.6",
......@@ -17284,6 +17230,60 @@
}
}
},
"vue-loader-v16": {
"version": "npm:vue-loader@16.1.2",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.1.2.tgz",
"integrity": "sha512-8QTxh+Fd+HB6fiL52iEVLKqE9N1JSlMXLR92Ijm6g8PZrwIxckgpqjPDWRP5TWxdiPaHR+alUWsnu1ShQOwt+Q==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
},
"dependencies": {
"chalk": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
"integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"loader-utils": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
"integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
"dev": true,
"optional": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
}
}
},
"vue-matomo": {
"version": "3.14.0-0",
"resolved": "https://registry.npmjs.org/vue-matomo/-/vue-matomo-3.14.0-0.tgz",
......@@ -17353,9 +17353,9 @@
}
},
"vuetify": {
"version": "2.4.7",
"resolved": "https://registry.npmjs.org/vuetify/-/vuetify-2.4.7.tgz",
"integrity": "sha512-4RvdZ+BO23fPq8JCEdo9ENjE1AoMqDe1bm+4M57wNTfvW4djScxQnVYeUSE/7PHuzdSW/nROR5oyLQnGDB+DIA=="
"version": "2.4.8",
"resolved": "https://registry.npmjs.org/vuetify/-/vuetify-2.4.8.tgz",
"integrity": "sha512-rJYyzSO4Qsm/Q79W4FAUedgIDzUvx2uXzXXQ7OB2z9kAAkVOpTdMFY0CnpBcvlYbXOYy/mJ81/yUCV1ZAvJ3FQ=="
},
"vuetify-loader": {
"version": "1.7.2",
......
......@@ -18,7 +18,7 @@
"https://medium.com/sapioit/why-having-3-numbers-in-the-version-name-is-bad-92fc1f6bc73c",
"https://gist.github.com/jashkenas/cbd2b088e20279ae2c8e"
],
"version": "0.5.0",
"version": "0.6.0",
"@comment private": [
"This whole project is just documentation.",
"Don't publish it in npm as is."
......@@ -88,8 +88,8 @@
]
},
"dependencies": {
"@sentry/browser": "^6.2.2",
"@sentry/integrations": "^6.2.2",
"@sentry/browser": "^6.2.3",
"@sentry/integrations": "^6.2.3",
"@vue-unistra/unistra-formbuilder": "^2.0.17-test",
"axios": "^0.21.1",
"core-js": "^3.9.1",
......@@ -97,11 +97,11 @@
"lodash": "^4.17.21",
"tiptap-vuetify": "^2.24.0",
"vue": "^2.6.12",
"vue-i18n": "^8.24.1",
"vue-i18n": "^8.24.2",
"vue-matomo": "^3.14.0-0",
"vue-router": "^3.5.1",
"vuejs-logger": "^1.5.5",
"vuetify": "^2.4.7",
"vuetify": "^2.4.8",
"vuex": "^3.6.2"
},
"@comment devDependencies": {
......@@ -204,7 +204,7 @@
"chai": "^4.3.4",
"chromedriver": "^89.0.0",
"eslint": "^7.22.0",
"eslint-plugin-vue": "^7.7.0",
"eslint-plugin-vue": "^7.8.0",
"geckodriver": "^1.22.2",
"jwt-simple": "^0.5.6",
"moxios": "^0.4.0",
......@@ -213,7 +213,7 @@
"sass": "^1.32.8",
"sass-loader": "<11",
"sinon": "^9.2.4",
"vue-cli-plugin-vuetify": "^2.3.0",
"vue-cli-plugin-vuetify": "^2.3.1",
"vue-template-compiler": "^2.6.12",
"vuetify-loader": "^1.7.2",
"webpack-bundle-analyzer": "^4.4.0"
......
......@@ -187,8 +187,8 @@ export default {
*/
viewerComponent(file) {
const { name, contentType } = file
const fileExtension = name.match(/(?<=\.)[^.]+$/)[0]
const is3DModel = SUPPORTED_3D_EXTENSIONS.includes(fileExtension)
const fileExtension = name.match(/.+\.([^.]+)$/)
const is3DModel = fileExtension && SUPPORTED_3D_EXTENSIONS.includes(fileExtension[1])
const mediaType = is3DModel ? 'model' : contentType.match(/.*(?=\/)/)[0]
return TYPE_RENDER_MAP[mediaType] || {}
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment