قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-21 22:47:43 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
* [NPM] Bump the all-dependencies group across 1 directory with 18 updates Bumps the all-dependencies group with 17 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@types/jquery](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jquery) | `3.5.6` | `3.5.32` | | [@types/jqueryui](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jqueryui) | `1.12.16` | `1.12.24` | | [jquery-ui-dist](https://github.com/jquery/jquery-ui) | `1.13.2` | `1.13.3` | | [sprintf-js](https://github.com/alexei/sprintf.js) | `1.1.2` | `1.1.3` | | [vue](https://github.com/vuejs/core) | `3.2.6` | `3.2.47` | | [@types/materialize-css](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/materialize-css) | `1.0.11` | `1.0.14` | | [@types/mousetrap](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mousetrap) | `1.6.8` | `1.6.15` | | [@vue/cli-plugin-babel](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-plugin-babel) | `4.5.13` | `4.5.19` | | [@vue/cli-plugin-eslint](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-plugin-eslint) | `4.5.13` | `4.5.19` | | [@vue/cli-plugin-typescript](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-plugin-typescript) | `4.5.13` | `4.5.19` | | [@vue/cli-plugin-unit-jest](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-plugin-unit-jest) | `4.5.13` | `4.5.19` | | [@vue/cli-service](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-service) | `4.5.13` | `4.5.19` | | [abortcontroller-polyfill](https://github.com/mo/abortcontroller-polyfill) | `1.7.3` | `1.7.8` | | [babel-loader](https://github.com/babel/babel-loader) | `8.2.2` | `8.2.5` | | [dompurify](https://github.com/cure53/DOMPurify) | `3.2.4` | `3.2.5` | | [husky](https://github.com/typicode/husky) | `8.0.2` | `8.0.3` | | [less](https://github.com/less/less.js) | `4.1.2` | `4.1.3` | Updates `@types/jquery` from 3.5.6 to 3.5.32 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jquery) Updates `@types/jqueryui` from 1.12.16 to 1.12.24 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jqueryui) Updates `jquery-ui-dist` from 1.13.2 to 1.13.3 - [Release notes](https://github.com/jquery/jquery-ui/releases) - [Commits](https://github.com/jquery/jquery-ui/compare/1.13.2...1.13.3) Updates `sprintf-js` from 1.1.2 to 1.1.3 - [Changelog](https://github.com/alexei/sprintf.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/alexei/sprintf.js/compare/1.1.2...1.1.3) Updates `vue` from 3.2.6 to 3.2.47 - [Release notes](https://github.com/vuejs/core/releases) - [Changelog](https://github.com/vuejs/core/blob/v3.2.47/CHANGELOG.md) - [Commits](https://github.com/vuejs/core/compare/v3.2.6...v3.2.47) Updates `@types/materialize-css` from 1.0.11 to 1.0.14 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/materialize-css) Updates `@types/mousetrap` from 1.6.8 to 1.6.15 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mousetrap) Updates `@vue/cli-plugin-babel` from 4.5.13 to 4.5.19 - [Release notes](https://github.com/vuejs/vue-cli/releases) - [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-cli/commits/v4.5.19/packages/@vue/cli-plugin-babel) Updates `@vue/cli-plugin-eslint` from 4.5.13 to 4.5.19 - [Release notes](https://github.com/vuejs/vue-cli/releases) - [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-cli/commits/v4.5.19/packages/@vue/cli-plugin-eslint) Updates `@vue/cli-plugin-typescript` from 4.5.13 to 4.5.19 - [Release notes](https://github.com/vuejs/vue-cli/releases) - [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-cli/commits/v4.5.19/packages/@vue/cli-plugin-typescript) Updates `@vue/cli-plugin-unit-jest` from 4.5.13 to 4.5.19 - [Release notes](https://github.com/vuejs/vue-cli/releases) - [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-cli/commits/v4.5.19/packages/@vue/cli-plugin-unit-jest) Updates `@vue/cli-service` from 4.5.13 to 4.5.19 - [Release notes](https://github.com/vuejs/vue-cli/releases) - [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-cli/commits/v4.5.19/packages/@vue/cli-service) Updates `@vue/compiler-sfc` from 3.2.6 to 3.2.47 - [Release notes](https://github.com/vuejs/core/releases) - [Changelog](https://github.com/vuejs/core/blob/v3.2.47/CHANGELOG.md) - [Commits](https://github.com/vuejs/core/commits/v3.2.47/packages/compiler-sfc) Updates `abortcontroller-polyfill` from 1.7.3 to 1.7.8 - [Commits](https://github.com/mo/abortcontroller-polyfill/compare/v1.7.3...v1.7.8) Updates `babel-loader` from 8.2.2 to 8.2.5 - [Release notes](https://github.com/babel/babel-loader/releases) - [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel-loader/compare/v8.2.2...v8.2.5) Updates `dompurify` from 3.2.4 to 3.2.5 - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](https://github.com/cure53/DOMPurify/compare/3.2.4...3.2.5) Updates `husky` from 8.0.2 to 8.0.3 - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v8.0.2...v8.0.3) Updates `less` from 4.1.2 to 4.1.3 - [Release notes](https://github.com/less/less.js/releases) - [Changelog](https://github.com/less/less.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/less/less.js/compare/v4.1.2...v4.1.3) --- updated-dependencies: - dependency-name: "@types/jquery" dependency-version: 3.5.32 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: "@types/jqueryui" dependency-version: 1.12.24 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: jquery-ui-dist dependency-version: 1.13.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: sprintf-js dependency-version: 1.1.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: vue dependency-version: 3.2.47 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: "@types/materialize-css" dependency-version: 1.0.14 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: "@types/mousetrap" dependency-version: 1.6.15 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: "@vue/cli-plugin-babel" dependency-version: 4.5.19 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: "@vue/cli-plugin-eslint" dependency-version: 4.5.19 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: "@vue/cli-plugin-typescript" dependency-version: 4.5.19 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: "@vue/cli-plugin-unit-jest" dependency-version: 4.5.19 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: "@vue/cli-service" dependency-version: 4.5.19 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: "@vue/compiler-sfc" dependency-version: 3.2.47 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: abortcontroller-polyfill dependency-version: 1.7.8 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: babel-loader dependency-version: 8.2.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: dompurify dependency-version: 3.2.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: husky dependency-version: 8.0.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: less dependency-version: 4.1.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * Update babel.config.js * remove unneeded push target * Improve handling of password confirmation overlay * Improve handling of setting super user permission * fix failing UI test * Update npm dependencies * Build vue files --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stefan Giehl <stefan@matomo.org> Co-authored-by: innocraft-automation <innocraft-automation@users.noreply.github.com>
72 خطوط
2.7 KiB
JavaScript
Vendored
72 خطوط
2.7 KiB
JavaScript
Vendored
import * as runtimeDom from '@vue/runtime-dom';
|
|
import { initCustomFormatter, registerRuntimeCompiler, warn } from '@vue/runtime-dom';
|
|
export * from '@vue/runtime-dom';
|
|
import { compile } from '@vue/compiler-dom';
|
|
import { isString, NOOP, extend, generateCodeFrame } from '@vue/shared';
|
|
|
|
function initDev() {
|
|
{
|
|
initCustomFormatter();
|
|
}
|
|
}
|
|
|
|
// This entry is the "full-build" that includes both the runtime
|
|
if ((process.env.NODE_ENV !== 'production')) {
|
|
initDev();
|
|
}
|
|
const compileCache = Object.create(null);
|
|
function compileToFunction(template, options) {
|
|
if (!isString(template)) {
|
|
if (template.nodeType) {
|
|
template = template.innerHTML;
|
|
}
|
|
else {
|
|
(process.env.NODE_ENV !== 'production') && warn(`invalid template option: `, template);
|
|
return NOOP;
|
|
}
|
|
}
|
|
const key = template;
|
|
const cached = compileCache[key];
|
|
if (cached) {
|
|
return cached;
|
|
}
|
|
if (template[0] === '#') {
|
|
const el = document.querySelector(template);
|
|
if ((process.env.NODE_ENV !== 'production') && !el) {
|
|
warn(`Template element not found or is empty: ${template}`);
|
|
}
|
|
// __UNSAFE__
|
|
// Reason: potential execution of JS expressions in in-DOM template.
|
|
// The user must make sure the in-DOM template is trusted. If it's rendered
|
|
// by the server, the template should not contain any user data.
|
|
template = el ? el.innerHTML : ``;
|
|
}
|
|
const opts = extend({
|
|
hoistStatic: true,
|
|
onError: (process.env.NODE_ENV !== 'production') ? onError : undefined,
|
|
onWarn: (process.env.NODE_ENV !== 'production') ? e => onError(e, true) : NOOP
|
|
}, options);
|
|
if (!opts.isCustomElement && typeof customElements !== 'undefined') {
|
|
opts.isCustomElement = tag => !!customElements.get(tag);
|
|
}
|
|
const { code } = compile(template, opts);
|
|
function onError(err, asWarning = false) {
|
|
const message = asWarning
|
|
? err.message
|
|
: `Template compilation error: ${err.message}`;
|
|
const codeFrame = err.loc &&
|
|
generateCodeFrame(template, err.loc.start.offset, err.loc.end.offset);
|
|
warn(codeFrame ? `${message}\n${codeFrame}` : message);
|
|
}
|
|
// The wildcard import results in a huge object with every export
|
|
// with keys that cannot be mangled, and can be quite heavy size-wise.
|
|
// In the global build we know `Vue` is available globally so we can avoid
|
|
// the wildcard object.
|
|
const render = (new Function('Vue', code)(runtimeDom));
|
|
render._rc = true;
|
|
return (compileCache[key] = render);
|
|
}
|
|
registerRuntimeCompiler(compileToFunction);
|
|
|
|
export { compileToFunction as compile };
|