@thi.ng/geom-clip-poly 2.0.9 → 2.1.3

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/CHANGELOG.md +53 -56
  2. package/package.json +82 -77
package/CHANGELOG.md CHANGED
@@ -1,81 +1,78 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [2.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip-poly@2.0.8...@thi.ng/geom-clip-poly@2.0.9) (2021-11-10)
7
-
8
- **Note:** Version bump only for package @thi.ng/geom-clip-poly
9
-
10
-
11
-
12
-
13
-
14
- ## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip-poly@2.0.7...@thi.ng/geom-clip-poly@2.0.8) (2021-11-04)
15
-
16
- **Note:** Version bump only for package @thi.ng/geom-clip-poly
17
-
18
-
19
-
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
20
5
 
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
21
8
 
22
- ## [2.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip-poly@2.0.6...@thi.ng/geom-clip-poly@2.0.7) (2021-11-03)
23
-
24
- **Note:** Version bump only for package @thi.ng/geom-clip-poly
25
-
26
-
27
-
28
-
29
-
30
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip-poly@1.0.70...@thi.ng/geom-clip-poly@2.0.0) (2021-10-12)
31
-
32
-
33
- ### Build System
34
-
35
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
36
-
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
37
11
 
38
- ### BREAKING CHANGES
12
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-clip-poly@2.1.0) (2021-11-17)
39
13
 
40
- * discontinue CommonJS & UMD versions
14
+ #### 🚀 Features
41
15
 
42
- - only ESM modules will be published from now on
43
- - CJS obsolete due to ESM support in recent versions of node:
44
- - i.e. launch NodeJS via:
45
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
46
- - in the node REPL use `await import(...)` instead of `require()`
47
- - UMD obsolete due to widespread browser support for ESM
16
+ - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
17
+ Improving the overall build ergonomics
18
+ - introduced a tools workspaces
19
+ - imported it in all needed packages/examples
20
+ - inclusive project root
48
21
 
49
- Also:
50
- - normalize/restructure/reorg all package.json files
51
- - cleanup all build scripts, remove obsolete
52
- - switch from mocha to @thi.ng/testament for all tests
22
+ #### ♻️ Refactoring
53
23
 
24
+ - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
25
+ this commit reverts (partly) changes made in:
26
+ ef346d7a8753590dc9094108a3d861a8dbd5dd2c
27
+ overall purpose is better testament ergonomics:
28
+ instead of having to pass NODE_OPTIONS with every invocation
29
+ having a binary to handle this for us.
54
30
 
31
+ ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-clip-poly@2.0.1) (2021-10-13)
55
32
 
33
+ #### ♻️ Refactoring
56
34
 
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
57
36
 
37
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-clip-poly@2.0.0) (2021-10-12)
58
38
 
59
- ## [1.0.70](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip-poly@1.0.69...@thi.ng/geom-clip-poly@1.0.70) (2021-09-03)
39
+ #### 🛑 Breaking changes
60
40
 
61
- **Note:** Version bump only for package @thi.ng/geom-clip-poly
41
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
42
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
43
+ - only ESM modules will be published from now on
44
+ - CJS obsolete due to ESM support in recent versions of node:
45
+ - i.e. launch NodeJS via:
46
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
47
+ - in the node REPL use `await import(...)` instead of `require()`
48
+ - UMD obsolete due to widespread browser support for ESM
49
+ Also:
50
+ - normalize/restructure/reorg all package.json files
51
+ - cleanup all build scripts, remove obsolete
52
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
62
53
 
63
- # 1.0.0 (2020-02-25)
54
+ #### ♻️ Refactoring
64
55
 
65
- ### Documentation
56
+ - update imports ([869a773](https://github.com/thi-ng/umbrella/commit/869a773))
57
+ - update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
58
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
59
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
66
60
 
67
- - **geom-clip-poly:** update readme ([c7ca79b](https://github.com/thi-ng/umbrella/commit/c7ca79b7e5e3d6badca2baa79fef8870ad9f9309))
61
+ ### [1.0.38](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-clip-poly@1.0.38) (2020-12-07)
68
62
 
69
- ### Features
63
+ #### ♻️ Refactoring
70
64
 
71
- - **geom-clip-poly:** extract sutherland-hodgeman as own pkg (formerly [@thi](https://github.com/thi).ng/geom-clip) ([782193f](https://github.com/thi-ng/umbrella/commit/782193f2fc06c18a564d5b983839f55b9143b4f7))
65
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
72
66
 
73
- ### BREAKING CHANGES
67
+ # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-clip-poly@1.0.0) (2020-02-25)
74
68
 
75
- - **geom-clip-poly:** extract as own pkg (formerly @thi.ng/geom-clip)
69
+ #### 🛑 Breaking changes
76
70
 
77
- # [0.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip@0.0.19...@thi.ng/geom-clip@0.1.0) (2019-07-07)
71
+ - update readme ([c7ca79b](https://github.com/thi-ng/umbrella/commit/c7ca79b))
72
+ - BREAKING CHANGE: extract as own pkg (formerly [@thi.ng/geom-clip](https://github.com/thi-ng/umbrella/tree/main/packages/geom-clip))
78
73
 
79
- ### Features
74
+ #### 🚀 Features
80
75
 
81
- - **geom-clip:** enable TS strict compiler flags (refactor) ([9b6a2ae](https://github.com/thi-ng/umbrella/commit/9b6a2ae))
76
+ - extract sutherland-hodgeman as own pkg (formerly [@thi.ng/geom-clip](https://github.com/thi-ng/umbrella/tree/main/packages/geom-clip)) ([782193f](https://github.com/thi-ng/umbrella/commit/782193f))
77
+ - extract as own pkg (from [@thi.ng/geom-clip](https://github.com/thi-ng/umbrella/tree/main/packages/geom-clip)) ([34e3262](https://github.com/thi-ng/umbrella/commit/34e3262))
78
+ - add liangBarsky2Raw
package/package.json CHANGED
@@ -1,80 +1,85 @@
1
1
  {
2
- "name": "@thi.ng/geom-clip-poly",
3
- "version": "2.0.9",
4
- "description": "2D convex polygon clipping (Sutherland-Hodgeman)",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
2
+ "name": "@thi.ng/geom-clip-poly",
3
+ "version": "2.1.3",
4
+ "description": "2D convex polygon clipping (Sutherland-Hodgeman)",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/geom-clip-poly#readme",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
12
18
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/geom-clip-poly#readme",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- }
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ }
23
+ ],
24
+ "author": "Karsten Schmidt <k+npm@thi.ng>",
25
+ "license": "Apache-2.0",
26
+ "scripts": {
27
+ "build": "yarn clean && tsc --declaration",
28
+ "clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
+ "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
+ "doc:readme": "yarn doc:stats && tools:readme",
32
+ "doc:stats": "tools:module-stats",
33
+ "pub": "yarn npm publish --access public",
34
+ "test": "testament test"
35
+ },
36
+ "dependencies": {
37
+ "@thi.ng/geom-isec": "^2.1.3",
38
+ "@thi.ng/geom-poly-utils": "^2.1.3",
39
+ "@thi.ng/math": "^5.1.2",
40
+ "@thi.ng/vectors": "^7.3.0"
41
+ },
42
+ "devDependencies": {
43
+ "@microsoft/api-extractor": "^7.18.19",
44
+ "@thi.ng/testament": "^0.2.2",
45
+ "rimraf": "^3.0.2",
46
+ "tools": "^0.0.1",
47
+ "typedoc": "^0.22.9",
48
+ "typescript": "^4.5.2"
49
+ },
50
+ "keywords": [
51
+ "2d",
52
+ "bbox",
53
+ "clipping",
54
+ "convex",
55
+ "geometry",
56
+ "graphics",
57
+ "polygon",
58
+ "rect",
59
+ "sutherland-hodgeman",
60
+ "typescript"
61
+ ],
62
+ "publishConfig": {
63
+ "access": "public"
64
+ },
65
+ "engines": {
66
+ "node": ">=12.7"
67
+ },
68
+ "files": [
69
+ "*.js",
70
+ "*.d.ts"
71
+ ],
72
+ "exports": {
73
+ ".": {
74
+ "import": "./index.js"
75
+ }
76
+ },
77
+ "thi.ng": {
78
+ "parent": "@thi.ng/geom",
79
+ "related": [
80
+ "geom-clip-line"
23
81
  ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
- "license": "Apache-2.0",
26
- "scripts": {
27
- "build": "yarn clean && tsc --declaration",
28
- "clean": "rimraf *.js *.d.ts *.map doc",
29
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
- "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
35
- },
36
- "dependencies": {
37
- "@thi.ng/geom-isec": "^2.0.9",
38
- "@thi.ng/geom-poly-utils": "^2.0.9",
39
- "@thi.ng/math": "^5.0.8",
40
- "@thi.ng/vectors": "^7.1.1"
41
- },
42
- "devDependencies": {
43
- "@thi.ng/testament": "^0.1.6"
44
- },
45
- "keywords": [
46
- "2d",
47
- "bbox",
48
- "clipping",
49
- "convex",
50
- "geometry",
51
- "graphics",
52
- "polygon",
53
- "rect",
54
- "sutherland-hodgeman",
55
- "typescript"
56
- ],
57
- "publishConfig": {
58
- "access": "public"
59
- },
60
- "engines": {
61
- "node": ">=12.7"
62
- },
63
- "files": [
64
- "*.js",
65
- "*.d.ts"
66
- ],
67
- "exports": {
68
- ".": {
69
- "import": "./index.js"
70
- }
71
- },
72
- "thi.ng": {
73
- "parent": "@thi.ng/geom",
74
- "related": [
75
- "geom-clip-line"
76
- ],
77
- "year": 2013
78
- },
79
- "gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159"
80
- }
82
+ "year": 2013
83
+ },
84
+ "gitHead": "d777b58d7bec4496d38166cdabda4ffb78b0dc47\n"
85
+ }