Skip to content

Commit

Permalink
upgrade to [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzhenn committed Dec 16, 2024
1 parent 4f113c6 commit dad70a0
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 45 deletions.
2 changes: 1 addition & 1 deletion packages/analysis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"karma-expect": "^1.1.3",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"maptalks": "^1.0.0-rc.40",
"maptalks": "^1.0.0",
"mocha": "^10.3.0",
"pixelmatch": "^4.0.2",
"rollup": "^4.17.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/gl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"karma-chrome-launcher": "^3.1.1",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"maptalks": "^1.0.0-rc.40",
"maptalks": "^1.0.0",
"mocha": "^10.3.0",
"pixelmatch": "^4.0.2",
"rollup": "^4.17.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/gltf-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"karma-expect": "^1.1.3",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"maptalks": "^1.0.0-rc.40",
"maptalks": "^1.0.0",
"mocha": "^10.3.0",
"rollup": "^4.17.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/layer-3dtiles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"eslint": "^8.57.0",
"eslint-plugin-mocha": "^10.4.1",
"express": "^4.17.1",
"maptalks": "^1.0.0-rc.40",
"maptalks": "^1.0.0",
"pixelmatch": "^4.0.2",
"rollup": "^4.17.2",
"rollup-plugin-dts": "^6.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/layer-gltf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"karma-happen": "^0.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"maptalks": "^1.0.0-rc.40",
"maptalks": "^1.0.0",
"mocha": "^10.3.0",
"rollup": "^4.17.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/layer-video/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"karma-happen": "^0.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"maptalks": "^1.0.0-rc.40",
"maptalks": "^1.0.0",
"mocha": "^10.3.0",
"rollup": "^4.17.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/maptalks-gl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"@maptalks/transform-control": "workspace:*",
"@maptalks/video-layer": "workspace:*",
"@maptalks/vt": "workspace:*",
"maptalks": "^1.0.0-rc.40"
"maptalks": "^1.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/traffic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"karma-expect": "^1.1.3",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"maptalks": "^1.0.0-rc.40",
"maptalks": "^1.0.0",
"mocha": "^10.3.0",
"rollup": "^4.17.2",
"rollup-plugin-dts": "^6.1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/transform-control/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@rollup/plugin-terser": "0.4.4",
"eslint": "^8.57.0",
"eslint-plugin-mocha": "^10.4.1",
"maptalks": "1.0.0-rc.40",
"maptalks": "^1.0.0",
"pixelmatch": "^4.0.2",
"rollup": "^4.17.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/vt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"eslint-plugin-mocha": "^10.4.1",
"express": "^4.17.1",
"happen": "^0.3.1",
"maptalks": "^1.0.0-rc.40",
"maptalks": "^1.0.0",
"mocha": "^10.3.0",
"pixelmatch": "^4.0.2",
"rollup": "^4.17.2",
Expand Down
5 changes: 2 additions & 3 deletions packages/vt/src/packer/pack/VectorPack.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import Point from '@mapbox/point-geometry';
import convert from './util/convert';
import IconAtlas from './atlas/IconAtlas';
import GlyphAtlas from './atlas/GlyphAtlas';
import { getIndexArrayType, fillTypedArray, getPosArrayType, getUnsignedArrayType } from './util/array';
import { RGBAImage, AlphaImage } from '../Image';
import convertGeometry from './util/convert_geometry';
import { extend } from '../style/Util';
import { extend, isNil } from '../style/Util';
import { loadFunctionTypes, interpolated, piecewiseConstant } from '@maptalks/function-type';
import { isFnTypeSymbol, isNumber, hasOwn } from '../style/Util';
import { getHeightValue, generatePickingIndiceIndex } from './util/util';
Expand Down Expand Up @@ -201,7 +200,7 @@ export default class VectorPack {
while (Array.isArray(g)) {
g = g[0];
}
if (g instanceof Point) {
if (!isNil(g.x)) {
//a converted one
checked = features;
}
Expand Down
57 changes: 25 additions & 32 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dad70a0

Please sign in to comment.