@accelint/geo 0.1.1 → 0.1.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@accelint/geo",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -9,18 +9,26 @@
9
9
  ],
10
10
  "types": "./dist/index.d.ts",
11
11
  "exports": {
12
- ".": "./dist/index.js"
12
+ ".": {
13
+ "import": {
14
+ "types": "./dist/index.d.ts",
15
+ "default": "./dist/index.js"
16
+ },
17
+ "default": "./dist/index.js",
18
+ "module": "./dist/index.js"
19
+ },
20
+ "./package.json": "./package.json"
13
21
  },
14
22
  "devDependencies": {
15
23
  "@vitest/coverage-istanbul": "^2.1.3",
16
24
  "vitest": "^2.1.3",
17
- "@accelint/typescript-config": "0.1.1",
18
- "@accelint/vitest-config": "0.1.1"
25
+ "@accelint/typescript-config": "0.1.2",
26
+ "@accelint/vitest-config": "0.1.2"
19
27
  },
20
28
  "dependencies": {
21
29
  "typescript": "^5.6.3",
22
- "@accelint/converters": "0.1.1",
23
- "@accelint/predicates": "0.1.1"
30
+ "@accelint/converters": "0.1.2",
31
+ "@accelint/predicates": "0.1.2"
24
32
  },
25
33
  "$schema": "https://json.schemastore.org/package",
26
34
  "author": "https://hypergiant.com",
@@ -1,4 +0,0 @@
1
- export declare const ddPairs: string[][];
2
- export declare const dmsPairs: string[][];
3
- export declare const ddmPairs: never[];
4
- export declare const mixedPairs: never[];
@@ -1,50 +0,0 @@
1
- /*
2
- * Copyright 2024 Hypergiant Galactic Systems Inc. All rights reserved.
3
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- * you may not use this file except in compliance with the License. You may obtain a copy
5
- * of the License at https://www.apache.org/licenses/LICENSE-2.0
6
- *
7
- * Unless required by applicable law or agreed to in writing, software distributed under
8
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
- * OF ANY KIND, either express or implied. See the License for the specific language
10
- * governing permissions and limitations under the License.
11
- */
12
- // const LAT_DD = 40.689247;
13
- // const LON_DD = -74.044502;
14
- export const ddPairs = [
15
- ['partial', '40, -74'],
16
- ['partial directions prefix', 'N 40, W 74'],
17
- ['partial directions prefix no space', 'N40, W74'],
18
- ['partial directions suffix', '40 N, 74 W'],
19
- ['partial directions suffix no space', '40N, 74W'],
20
- ['plus minus', '+40.689247, -74.044502'],
21
- ['inferred plus', '40.689247, -74.044502'],
22
- ['inferred positive direction', '40.689247, 74.044502 W'],
23
- ['degree delimeters', '40.689247° N, 74.044502° W'],
24
- ['separator ,', '40.689247,-74.044502'],
25
- ['separator /', '40.689247/-74.044502'],
26
- ['separator space', '40.689247 -74.044502'],
27
- ['NSEW directions prefix', 'N 40.689247, W 74.044502'],
28
- ['NSEW directions prefix no space', 'N40.689247, W74.044502'],
29
- ['NSEW directions suffix', '40.689247 N, 74.044502 W'],
30
- ['NSEW directions suffix no space', '40.689247N, 74.044502W'],
31
- ['mixed plus minus and directions', '+40.689247, W74.044502'],
32
- ['mixed full and partial', '40.689247, W74'],
33
- ['odd whitespace', ' + 40.689247 , - 74.044502 '],
34
- ];
35
- // const LAT_DMS = `40° 41' 21.2892"`;
36
- // const LON_DMS = `-74° 02' 40.2066"`;
37
- export const dmsPairs = [
38
- ['partial no delimeters', '40 41 -74 02'],
39
- ['partial delimeters', `40° 41' -74 02'`],
40
- ['plus minus no delimeters', '+40 41 21.2892 -74 02 40.2066'],
41
- ['plus minus delimeters', `+40° 41' 21.2892" -74° 02' 40.2066"`],
42
- ['directions no delimeters', '40 41 21.2892 N 74 02 40.2066 W'],
43
- ['directions delimeters', `40° 41' 21.2892" N 74° 02' 40.2066" W`],
44
- ['separator ,', `40° 41' 21.2892",-74° 02' 40.2066"`],
45
- ['separator /', `40° 41' 21.2892"/-74° 02' 40.2066"`],
46
- ['separator space', `40° 41' 21.2892" -74° 02' 40.2066"`],
47
- ];
48
- export const ddmPairs = [];
49
- export const mixedPairs = [];
50
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/coordinates/__fixtures__/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,4BAA4B;AAC5B,6BAA6B;AAE7B,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,CAAC,SAAS,EAAE,SAAS,CAAC;IACtB,CAAC,2BAA2B,EAAE,YAAY,CAAC;IAC3C,CAAC,oCAAoC,EAAE,UAAU,CAAC;IAClD,CAAC,2BAA2B,EAAE,YAAY,CAAC;IAC3C,CAAC,oCAAoC,EAAE,UAAU,CAAC;IAClD,CAAC,YAAY,EAAE,wBAAwB,CAAC;IACxC,CAAC,eAAe,EAAE,uBAAuB,CAAC;IAC1C,CAAC,6BAA6B,EAAE,wBAAwB,CAAC;IACzD,CAAC,mBAAmB,EAAE,4BAA4B,CAAC;IACnD,CAAC,aAAa,EAAE,sBAAsB,CAAC;IACvC,CAAC,aAAa,EAAE,sBAAsB,CAAC;IACvC,CAAC,iBAAiB,EAAE,sBAAsB,CAAC;IAC3C,CAAC,wBAAwB,EAAE,0BAA0B,CAAC;IACtD,CAAC,iCAAiC,EAAE,wBAAwB,CAAC;IAC7D,CAAC,wBAAwB,EAAE,0BAA0B,CAAC;IACtD,CAAC,iCAAiC,EAAE,wBAAwB,CAAC;IAC7D,CAAC,iCAAiC,EAAE,wBAAwB,CAAC;IAC7D,CAAC,wBAAwB,EAAE,gBAAgB,CAAC;IAC5C,CAAC,gBAAgB,EAAE,oCAAoC,CAAC;CACzD,CAAC;AAEF,sCAAsC;AACtC,uCAAuC;AAEvC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,CAAC,uBAAuB,EAAE,cAAc,CAAC;IACzC,CAAC,oBAAoB,EAAE,iBAAiB,CAAC;IACzC,CAAC,0BAA0B,EAAE,+BAA+B,CAAC;IAC7D,CAAC,uBAAuB,EAAE,qCAAqC,CAAC;IAChE,CAAC,0BAA0B,EAAE,iCAAiC,CAAC;IAC/D,CAAC,uBAAuB,EAAE,uCAAuC,CAAC;IAClE,CAAC,aAAa,EAAE,oCAAoC,CAAC;IACrD,CAAC,aAAa,EAAE,oCAAoC,CAAC;IACrD,CAAC,iBAAiB,EAAE,oCAAoC,CAAC;CAC1D,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,EAAE,CAAC;AAE3B,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,CAAC"}