mirror of
https://github.com/maputnik/editor.git
synced 2026-10-14 23:13:45 +00:00
Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.63.0 to 1.64.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/playwright/releases">@playwright/test's releases</a>.</em></p> <blockquote> <h2>v1.64.0</h2> <h2>🧰 WebMCP</h2> <p>New <a href="https://playwright.dev/docs/api/class-page#page-webmcp">page.webmcp</a> and <a href="https://playwright.dev/docs/api/class-frame#frame-webmcp">frame.webmcp</a> give access to the tools that a page registers through the experimental <a href="https://playwright.dev/docs/api/class-webmcp">WebMCP</a> browser API, so you can test them like any other part of your app:</p> <pre lang="js"><code>const browser = await chromium.launch({ args: ['--enable-features=WebMCP'] }); const page = await browser.newPage(); await page.goto('https://example.com'); <p>for (const tool of await page.webmcp.tools()) console.log(tool.name, tool.description);</p> <p>const result = await page.webmcp.callTool('add', { a: 2, b: 40 }); console.log(result.content[0].text); // "42" </code></pre></p> <p><a href="https://playwright.dev/docs/getting-started-mcp">Playwright MCP</a> also supports WebMCP by default, with page-defined tools offered to the agent as <code>webmcp_<tool></code>. Pass <code>--no-webmcp</code> to opt out.</p> <p><a href="https://playwright.dev/docs/getting-started-cli"><code>playwright-cli</code></a> exposes them as well:</p> <pre lang="bash"><code>playwright-cli webmcp-list playwright-cli webmcp-call search_catalog --params '{"query":"cats"}' </code></pre> <h2>🎬 Better videos</h2> <p>Videos can now be recorded at a custom frame rate, and the decorations for actions are styled with plain CSS:</p> <pre lang="js"><code>// playwright.config.ts import { defineConfig } from '@playwright/test'; <p>export default defineConfig({ use: { video: { mode: 'on', size: { width: 1920, height: 1080 }, fps: 60, show: { actions: { style: { point: 'width: 20px; height: 20px; border-radius: 50%; background: red', highlight: 'outline: 2px solid <a href="https://redirect.github.com/microsoft/playwright/issues/333">#333</a>; background: rgba(0, 128, 255, .15)', title: 'font-size: 16px', }, }, }, }, </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/playwright/commit/606ecd8b34bac100db32561b6278ffd76e5eb3cd"><code>606ecd8</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43192">#43192</a>): fix(locators): parse locators the way the client API bui...</li> <li><a href="https://github.com/microsoft/playwright/commit/e4f872c79530583300185d3e4aa9689e2f85d0b0"><code>e4f872c</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43188">#43188</a>): feat(api): expose asLocatorDescription via LocalUtils fo...</li> <li><a href="https://github.com/microsoft/playwright/commit/f6a439e6f496f75d8e8b687116eef8c21316aa1f"><code>f6a439e</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43189">#43189</a>): docs(webmcp): expose WebMCP to all languages</li> <li><a href="https://github.com/microsoft/playwright/commit/e2335c30f16196a96f81c099598803ca74f9120c"><code>e2335c3</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43174">#43174</a>): fix(mcp): do not close the browser twice when the client...</li> <li><a href="https://github.com/microsoft/playwright/commit/d2a436e0111091ba99836fa6711de28201606cfc"><code>d2a436e</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43163">#43163</a>): Revert "fix(blob): do not remove existing reports from o...</li> <li><a href="https://github.com/microsoft/playwright/commit/a0c4b5efc965577e19f5ebfdcc27f384d3058783"><code>a0c4b5e</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43175">#43175</a>): feat(api): return language-specific locator code from re...</li> <li><a href="https://github.com/microsoft/playwright/commit/3f7d535c7b69ff1997307dc304c3c8c76b51179d"><code>3f7d535</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43131">#43131</a>): docs: fix broken C# samples in API docs and handles guide</li> <li><a href="https://github.com/microsoft/playwright/commit/1cde64f74a0f85304f2f4091a46670bf9a3e0dc3"><code>1cde64f</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43170">#43170</a>): fix(locators): parse mixed role options</li> <li><a href="https://github.com/microsoft/playwright/commit/8851e7296508ae50cd1f822e50d1e4fa92eab218"><code>8851e72</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43171">#43171</a>): fix(locators): parse JavaScript escapes and regex classes</li> <li><a href="https://github.com/microsoft/playwright/commit/dcc50654872510b630c73ec6eba1fb3d625c735e"><code>dcc5065</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright/issues/43172">#43172</a>): fix(locator): parse within and getByRef locators</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/playwright/compare/v1.63.0...v1.64.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
153 lines
5.0 KiB
JSON
153 lines
5.0 KiB
JSON
{
|
|
"name": "maputnik",
|
|
"version": "3.1.0",
|
|
"description": "A MapLibre GL visual style editor",
|
|
"type": "module",
|
|
"main": "''",
|
|
"scripts": {
|
|
"copy-rtl-text-plugin": "mkdir -p public && cp -p node_modules/@mapbox/mapbox-gl-rtl-text/dist/mapbox-gl-rtl-text.js public/",
|
|
"start": "npm run copy-rtl-text-plugin && vite",
|
|
"build": "npm run copy-rtl-text-plugin && tsc && vite build --mode=production",
|
|
"build-desktop": "npm run copy-rtl-text-plugin && tsc && vite build --mode=desktop && cd desktop && make",
|
|
"build-linux": "npm run copy-rtl-text-plugin && tsc && vite build --mode=desktop && cd desktop && make bin/linux/maputnik",
|
|
"i18n:extract": "npx i18next-cli extract",
|
|
"lint": "eslint",
|
|
"test": "playwright test",
|
|
"test-e2e": "playwright test",
|
|
"test-unit": "vitest",
|
|
"test-unit-ci": "vitest run --coverage --reporter=json",
|
|
"lint-css": "stylelint \"src/styles/*.scss\"",
|
|
"sort-styles": "jq 'sort_by(.id)' src/config/styles.json > tmp.json && mv tmp.json src/config/styles.json"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/maplibre/maputnik"
|
|
},
|
|
"author": "Lukas Martinelli",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/maplibre/maputnik#readme",
|
|
"dependencies": {
|
|
"@codemirror/lang-json": "^6.0.2",
|
|
"@codemirror/lint": "^6.9.7",
|
|
"@codemirror/state": "^6.7.6",
|
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
"@codemirror/view": "^6.43.13",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@mapbox/mapbox-gl-rtl-text": "^0.4.0",
|
|
"@maplibre/maplibre-gl-geocoder": "^1.9.4",
|
|
"@maplibre/maplibre-gl-inspect": "^1.9.0",
|
|
"@maplibre/maplibre-gl-style-spec": "^26.4.4",
|
|
"array-move": "^4.0.0",
|
|
"buffer": "^6.0.3",
|
|
"classnames": "^2.5.1",
|
|
"codemirror": "^6.0.2",
|
|
"color": "^5.0.3",
|
|
"detect-browser": "^5.3.0",
|
|
"downshift": "^9.4.0",
|
|
"events": "^3.3.0",
|
|
"file-saver": "^2.0.5",
|
|
"i18next": "^26.4.2",
|
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
"i18next-resources-to-backend": "^1.2.3",
|
|
"json-stringify-pretty-compact": "^4.0.0",
|
|
"json-to-ast": "^2.1.0",
|
|
"lodash": "^4.18.1",
|
|
"lodash.capitalize": "^4.2.1",
|
|
"lodash.clamp": "^4.0.3",
|
|
"lodash.clonedeep": "^4.5.0",
|
|
"lodash.get": "^4.4.2",
|
|
"lodash.isequal": "^4.5.0",
|
|
"lodash.throttle": "^4.1.1",
|
|
"maplibre-gl": "^6.12.0",
|
|
"maputnik-design": "github:maputnik/design#172b06c",
|
|
"ol": "^10.11.0",
|
|
"ol-mapbox-style": "^13.5.1",
|
|
"pmtiles": "^4.5.0",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^19.3.0",
|
|
"react-accessible-accordion": "^5.0.1",
|
|
"react-aria-menubutton": "^8.0.0",
|
|
"react-aria-modal": "^5.0.2",
|
|
"react-collapse": "^5.1.1",
|
|
"react-color": "^2.19.3",
|
|
"react-dom": "^19.3.0",
|
|
"react-i18next": "^17.0.16",
|
|
"react-icons": "^5.7.0",
|
|
"react-markdown": "^10.1.0",
|
|
"react-resizable-panels": "^4.14.2",
|
|
"reconnecting-websocket": "^4.4.0",
|
|
"slugify": "^1.6.9",
|
|
"string-hash": "^1.1.3",
|
|
"url": "^0.11.4"
|
|
},
|
|
"jshintConfig": {
|
|
"esversion": 6
|
|
},
|
|
"stylelint": {
|
|
"extends": "stylelint-config-recommended-scss",
|
|
"rules": {
|
|
"no-descending-specificity": null,
|
|
"media-feature-name-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreMediaFeatureNames": [
|
|
"prefers-reduced-motion"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
"@playwright/test": "^1.64.0",
|
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
"@types/codemirror": "^5.60.18",
|
|
"@types/color": "^4.2.1",
|
|
"@types/cors": "^2.8.19",
|
|
"@types/file-saver": "^2.0.7",
|
|
"@types/geojson": "^7946.0.16",
|
|
"@types/json-to-ast": "^2.1.4",
|
|
"@types/lodash.capitalize": "^4.2.9",
|
|
"@types/lodash.clamp": "^4.0.9",
|
|
"@types/lodash.clonedeep": "^4.5.9",
|
|
"@types/lodash.get": "^4.4.9",
|
|
"@types/lodash.isequal": "^4.5.8",
|
|
"@types/lodash.throttle": "^4.1.9",
|
|
"@types/randomcolor": "^0.5.9",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-aria-menubutton": "^6.2.14",
|
|
"@types/react-aria-modal": "^5.0.0",
|
|
"@types/react-collapse": "^5.0.4",
|
|
"@types/react-color": "^3.0.13",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@types/string-hash": "^1.1.3",
|
|
"@types/wicg-file-system-access": "^2023.10.7",
|
|
"@vitejs/plugin-react": "^6.1.2",
|
|
"@vitest/coverage-v8": "^5.0.3",
|
|
"cors": "^2.8.6",
|
|
"eslint": "^10.12.0",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
"i18next-cli": "^1.74.7",
|
|
"istanbul": "^0.4.5",
|
|
"istanbul-lib-coverage": "^3.2.2",
|
|
"nyc": "^18.0.0",
|
|
"postcss": "^8.5.29",
|
|
"react-hot-loader": "^4.13.1",
|
|
"sass": "^1.105.1",
|
|
"stylelint": "^17.16.0",
|
|
"stylelint-config-recommended-scss": "^17.0.1",
|
|
"stylelint-scss": "^7.3.0",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.71.1",
|
|
"uuid": "^14.0.2",
|
|
"vite": "^8.3.3",
|
|
"vite-plugin-istanbul": "^9.0.1",
|
|
"vitest": "^5.0.3"
|
|
}
|
|
}
|