diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a73a220..a8ed824 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,8 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: '20.x' + registry-url: 'https://registry.npmjs.org' - run: npm ci - run: npm run build --if-present - run: npm publish diff --git a/src/Handler.mjs b/src/Handler.mjs index 038d73d..9ab8953 100644 --- a/src/Handler.mjs +++ b/src/Handler.mjs @@ -9,7 +9,6 @@ import { Polyline, GeoJSON, DomEvent, - Browser, } from 'leaflet'; import { Matrix, matrix } from './Matrix'; import { Handle, RotateHandle } from './Handles';