@swissgeo/coordinates 1.0.0-beta.2 → 1.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +5 -11
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { proj4 as proj4_2 } from 'proj4';
1
+ import { default as default_2 } from 'proj4';
2
2
 
3
3
  /** Representation of many (available in this app) projection systems */
4
4
  export declare const allCoordinateSystems: CoordinateSystem[];
@@ -413,7 +413,7 @@ export declare function projExtent<T extends FlatExtent | NormalizedExtent>(from
413
413
  * Further projection can be added by settings the param projections (do not forget to include LV95,
414
414
  * LV03 and/or WebMercator if you intended to use them too)
415
415
  */
416
- export declare const registerProj4: (proj4: proj4_2, projections?: CoordinateSystem[]) => void;
416
+ export declare const registerProj4: (proj4Instance: typeof default_2, projections?: CoordinateSystem[]) => void;
417
417
 
418
418
  /**
419
419
  * Remove any Z value from a set of coordinates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swissgeo/coordinates",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-rc.1",
4
4
  "description": "Projection definition and coordinates utils for SWISSGEO projects.",
5
5
  "license": "BSD-3-Clause",
6
6
  "type": "module",
@@ -18,29 +18,23 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "lodash": "^4.17.21",
21
- "@swissgeo/log": "1.0.0-beta.2",
22
- "@swissgeo/numbers": "1.0.0-beta.2"
21
+ "@swissgeo/log": "1.0.0-rc.1",
22
+ "@swissgeo/numbers": "1.0.0-rc.1"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@microsoft/api-extractor": "^7.55.0",
26
- "@prettier/plugin-xml": "^3.4.2",
27
26
  "@turf/turf": "^7.2.0",
28
27
  "@types/chai": "^5.2.3",
29
28
  "@types/geojson": "^7946.0.16",
30
29
  "@types/lodash": "^4.17.20",
31
30
  "chai": "^6.2.1",
32
31
  "eslint": "^9.39.1",
33
- "prettier": "^3.6.2",
34
- "prettier-plugin-jsdoc": "^1.5.0",
35
- "prettier-plugin-packagejson": "^2.5.19",
36
- "prettier-plugin-tailwindcss": "^0.7.1",
37
32
  "typescript": "^5.9.3",
38
33
  "unplugin-dts": "1.0.0-beta.6",
39
34
  "vite": "^7.2.2",
40
35
  "vitest": "^4.0.8",
41
- "@swissgeo/config-typescript": "1.0.0-beta.2",
42
- "@swissgeo/config-eslint": "1.0.0-beta.2",
43
- "@swissgeo/config-prettier": "1.0.0-beta.2"
36
+ "@swissgeo/config-typescript": "1.0.0-rc.1",
37
+ "@swissgeo/config-eslint": "1.0.0-rc.1"
44
38
  },
45
39
  "peerDependencies": {
46
40
  "ol": "^10.7.0",