@dra2020/baseclient 1.0.10 → 1.0.13

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 (120) hide show
  1. package/package.json +16 -15
  2. package/LICENSE +0 -21
  3. package/README.md +0 -26
  4. package/dist/all/all.d.ts +0 -20
  5. package/dist/baseclient.js +0 -10103
  6. package/dist/baseclient.js.map +0 -1
  7. package/dist/context/all.d.ts +0 -1
  8. package/dist/context/context.d.ts +0 -13
  9. package/dist/filterexpr/all.d.ts +0 -1
  10. package/dist/filterexpr/filterexpr.d.ts +0 -67
  11. package/dist/fsm/all.d.ts +0 -1
  12. package/dist/fsm/fsm.d.ts +0 -119
  13. package/dist/geo/all.d.ts +0 -2
  14. package/dist/geo/geo.d.ts +0 -67
  15. package/dist/geo/vfeature.d.ts +0 -4
  16. package/dist/logabstract/all.d.ts +0 -1
  17. package/dist/logabstract/log.d.ts +0 -26
  18. package/dist/logclient/all.d.ts +0 -1
  19. package/dist/logclient/log.d.ts +0 -6
  20. package/dist/ot-editutil/all.d.ts +0 -2
  21. package/dist/ot-editutil/oteditutil.d.ts +0 -14
  22. package/dist/ot-editutil/otmaputil.d.ts +0 -21
  23. package/dist/ot-js/all.d.ts +0 -9
  24. package/dist/ot-js/otarray.d.ts +0 -111
  25. package/dist/ot-js/otclientengine.d.ts +0 -38
  26. package/dist/ot-js/otcomposite.d.ts +0 -37
  27. package/dist/ot-js/otcounter.d.ts +0 -17
  28. package/dist/ot-js/otengine.d.ts +0 -22
  29. package/dist/ot-js/otmap.d.ts +0 -19
  30. package/dist/ot-js/otserverengine.d.ts +0 -38
  31. package/dist/ot-js/otsession.d.ts +0 -113
  32. package/dist/ot-js/ottypes.d.ts +0 -29
  33. package/dist/poly/all.d.ts +0 -15
  34. package/dist/poly/blend.d.ts +0 -1
  35. package/dist/poly/boundbox.d.ts +0 -16
  36. package/dist/poly/cartesian.d.ts +0 -5
  37. package/dist/poly/graham-scan.d.ts +0 -8
  38. package/dist/poly/hash.d.ts +0 -1
  39. package/dist/poly/matrix.d.ts +0 -24
  40. package/dist/poly/minbound.d.ts +0 -1
  41. package/dist/poly/poly.d.ts +0 -52
  42. package/dist/poly/polybin.d.ts +0 -5
  43. package/dist/poly/polylabel.d.ts +0 -7
  44. package/dist/poly/polypack.d.ts +0 -30
  45. package/dist/poly/polyround.d.ts +0 -1
  46. package/dist/poly/polysimplify.d.ts +0 -1
  47. package/dist/poly/quad.d.ts +0 -48
  48. package/dist/poly/selfintersect.d.ts +0 -1
  49. package/dist/poly/shamos.d.ts +0 -1
  50. package/dist/poly/simplify.d.ts +0 -2
  51. package/dist/poly/topo.d.ts +0 -46
  52. package/dist/poly/union.d.ts +0 -49
  53. package/dist/util/all.d.ts +0 -5
  54. package/dist/util/bintrie.d.ts +0 -93
  55. package/dist/util/countedhash.d.ts +0 -19
  56. package/dist/util/gradient.d.ts +0 -15
  57. package/dist/util/indexedarray.d.ts +0 -15
  58. package/dist/util/util.d.ts +0 -68
  59. package/docs/context.md +0 -2
  60. package/docs/filterexpr.md +0 -22
  61. package/docs/fsm.md +0 -243
  62. package/docs/logabstract.md +0 -2
  63. package/docs/logclient.md +0 -2
  64. package/docs/ot-editutil.md +0 -2
  65. package/docs/ot-js.md +0 -95
  66. package/docs/poly.md +0 -103
  67. package/docs/util.md +0 -2
  68. package/lib/all/all.ts +0 -21
  69. package/lib/context/all.ts +0 -1
  70. package/lib/context/context.ts +0 -82
  71. package/lib/filterexpr/all.ts +0 -1
  72. package/lib/filterexpr/filterexpr.ts +0 -699
  73. package/lib/fsm/all.ts +0 -1
  74. package/lib/fsm/fsm.ts +0 -559
  75. package/lib/geo/all.ts +0 -2
  76. package/lib/geo/geo.ts +0 -452
  77. package/lib/geo/vfeature.ts +0 -34
  78. package/lib/logabstract/all.ts +0 -1
  79. package/lib/logabstract/log.ts +0 -55
  80. package/lib/logclient/all.ts +0 -1
  81. package/lib/logclient/log.ts +0 -105
  82. package/lib/ot-editutil/all.ts +0 -2
  83. package/lib/ot-editutil/oteditutil.ts +0 -180
  84. package/lib/ot-editutil/otmaputil.ts +0 -209
  85. package/lib/ot-js/all.ts +0 -9
  86. package/lib/ot-js/otarray.ts +0 -1168
  87. package/lib/ot-js/otclientengine.ts +0 -327
  88. package/lib/ot-js/otcomposite.ts +0 -247
  89. package/lib/ot-js/otcounter.ts +0 -145
  90. package/lib/ot-js/otengine.ts +0 -71
  91. package/lib/ot-js/otmap.ts +0 -144
  92. package/lib/ot-js/otserverengine.ts +0 -329
  93. package/lib/ot-js/otsession.ts +0 -201
  94. package/lib/ot-js/ottypes.ts +0 -98
  95. package/lib/poly/all.ts +0 -15
  96. package/lib/poly/blend.ts +0 -27
  97. package/lib/poly/boundbox.ts +0 -102
  98. package/lib/poly/cartesian.ts +0 -130
  99. package/lib/poly/graham-scan.ts +0 -401
  100. package/lib/poly/hash.ts +0 -15
  101. package/lib/poly/matrix.ts +0 -309
  102. package/lib/poly/minbound.ts +0 -211
  103. package/lib/poly/poly.ts +0 -767
  104. package/lib/poly/polybin.ts +0 -218
  105. package/lib/poly/polylabel.ts +0 -204
  106. package/lib/poly/polypack.ts +0 -458
  107. package/lib/poly/polyround.ts +0 -30
  108. package/lib/poly/polysimplify.ts +0 -24
  109. package/lib/poly/quad.ts +0 -272
  110. package/lib/poly/selfintersect.ts +0 -87
  111. package/lib/poly/shamos.ts +0 -297
  112. package/lib/poly/simplify.ts +0 -119
  113. package/lib/poly/topo.ts +0 -499
  114. package/lib/poly/union.ts +0 -388
  115. package/lib/util/all.ts +0 -5
  116. package/lib/util/bintrie.ts +0 -603
  117. package/lib/util/countedhash.ts +0 -83
  118. package/lib/util/gradient.ts +0 -108
  119. package/lib/util/indexedarray.ts +0 -80
  120. package/lib/util/util.ts +0 -695
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@dra2020/baseclient",
3
- "version": "1.0.10",
3
+ "version": "1.0.13",
4
4
  "description": "Utility functions for Javascript projects.",
5
- "main": "dist/baseclient.js",
6
- "types": "./dist/all/all.d.ts",
5
+ "main": "../dist/baseclient.js",
6
+ "types": "../dist/all/allclient.d.ts",
7
7
  "scripts": {
8
8
  "test": "echo \"No test defined.\"",
9
- "build": "webpack",
10
- "webpack": "node_modules/.bin/webpack"
9
+ "build": "../webpack",
10
+ "webpack": "../node_modules/.bin/webpack"
11
11
  },
12
12
  "files": [
13
- "dist/",
14
- "lib/",
15
- "docs/"
13
+ "../dist/",
14
+ "../lib/",
15
+ "../docs/"
16
16
  ],
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "git+https://github.com/dra2020/baseclient.git"
19
+ "url": "git+https://github.com/dra2020/base.git"
20
20
  },
21
21
  "keywords": [
22
22
  "Typescript"
@@ -24,25 +24,26 @@
24
24
  "author": "Terry Crowley",
25
25
  "license": "MIT",
26
26
  "bugs": {
27
- "url": "https://github.com/dra2020/baseclient/issues"
27
+ "url": "https://github.com/dra2020/base/issues"
28
28
  },
29
- "homepage": "https://github.com/dra2020/baseclient#readme",
29
+ "homepage": "https://github.com/dra2020/base#readme",
30
30
  "devDependencies": {
31
31
  "@types/diff-match-patch": "^1.0.32",
32
32
  "@types/geojson": "^7946.0.7",
33
33
  "@types/node": "12.7.2",
34
34
  "@types/object-hash": "^1.3.4",
35
- "source-map-loader": "^2.0.0",
36
- "ts-loader": "^8.0.14",
35
+ "source-map-loader": "^1.1.3",
36
+ "ts-loader": "^8.0.12",
37
37
  "tsify": "^5.0.2",
38
38
  "typescript": "^4.1.3",
39
- "webpack": "^5.15.0",
40
- "webpack-cli": "^4.4.0"
39
+ "webpack": "^5.10.1",
40
+ "webpack-cli": "^4.2.0"
41
41
  },
42
42
  "dependencies": {
43
43
  "@dra2020/topojson-client": "^3.2.7",
44
44
  "@dra2020/topojson-server": "^3.0.103",
45
45
  "@dra2020/topojson-simplify": "^3.0.102",
46
+ "aws-sdk": "^2.825.0",
46
47
  "diff-match-patch": "^1.0.5",
47
48
  "geojson": "^0.5.0",
48
49
  "object-hash": "^2.1.1",
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 Terry Crowley
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
package/README.md DELETED
@@ -1,26 +0,0 @@
1
- # baseclient
2
- The Baseclient library pulls together the core set of libraries required by the various components of DRA2020A.
3
- This includes:
4
-
5
- - the nodejs hosted server
6
- - serverless lambda functions
7
- - command line utilities run under nodejs
8
- - client application (browser-hosted) runtime
9
-
10
- These libraries are all packaged in this repository. Normally they are included like this:
11
-
12
- import { Util, Poly } from '@dra2020/baseclient';
13
-
14
- Then the various functions of the different sets are available under their appropriate symbol.
15
-
16
- These libraries are used across both client and server:
17
-
18
- - [Util](./docs/util.md): A set of fairly vanilla JavaScript utility functions.
19
- - [Poly](./docs/poly.md): A set of functions for processing polygons, typically in GeoJSON format.
20
- - [Context](./docs/context.md): A set of functions for interrogating the context supplied to the application, either as
21
- - [FSM](./docs/fsm.md): A set of functions for managing asynchronous, chainable finite state machines.
22
- - [LogAbstract](./docs/logabstract.md): An abstract logging interface. Different implementations are used on client and server.
23
- - [LogClient](./docs/logclient.md): A client implementation of the logging abstract interface.
24
- - [OT](./docs/ot-js.md): An Operational Transformation implementation, used as the basis for all content editing.
25
- - [OTE](./docs/ot-editutil.md): A set of utility functions for creating OT edits.
26
- - [FilterExpr](./docs/filterexpr.md): A class for parsing and executing a filter expression against an array of objects.
package/dist/all/all.d.ts DELETED
@@ -1,20 +0,0 @@
1
- import * as Util from '../util/all';
2
- export { Util };
3
- import * as Context from '../context/all';
4
- export { Context };
5
- import * as FSM from '../fsm/all';
6
- export { FSM };
7
- import * as Poly from '../poly/all';
8
- export { Poly };
9
- import * as LogAbstract from '../logabstract/all';
10
- export { LogAbstract };
11
- import * as LogClient from '../logclient/all';
12
- export { LogClient };
13
- import * as OT from '../ot-js/all';
14
- export { OT };
15
- import * as OTE from '../ot-editutil/all';
16
- export { OTE };
17
- import { FilterExpr } from '../filterexpr/all';
18
- export { FilterExpr };
19
- import * as G from '../geo/all';
20
- export { G };