@linkiez/dxf-renew 7.2.3 → 7.2.4

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.
Binary file
package/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/).
7
7
 
8
+ ## <small>7.2.4 (2026-01-01)</small>
9
+
10
+ * Merge pull request #5 from linkiez/fix/vecks-types ([cdff1cf](https://github.com/linkiez/DXF-Renewed/commit/cdff1cf)), closes [#5](https://github.com/linkiez/DXF-Renewed/issues/5)
11
+ * fix(types): ship vecks shim declarations ([4254c52](https://github.com/linkiez/DXF-Renewed/commit/4254c52))
12
+
8
13
  ## <small>7.2.3 (2026-01-01)</small>
9
14
 
10
15
  * Revert "ci: publish to GitHub Packages npm registry" ([647277b](https://github.com/linkiez/DXF-Renewed/commit/647277b))
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@linkiez/dxf-renew",
3
- "version": "7.2.3",
3
+ "version": "7.2.4",
4
4
  "description": "DXF parser for node/browser",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "module": "lib/index.js",
8
- "types": "lib/index.d.ts",
8
+ "types": "types/index.d.ts",
9
9
  "exports": {
10
10
  ".": {
11
- "types": "./lib/index.d.ts",
11
+ "types": "./types/index.d.ts",
12
12
  "import": "./lib/index.js",
13
13
  "require": "./lib/index.cjs"
14
14
  }
@@ -0,0 +1,3 @@
1
+ /// <reference path="./shims/vecks.d.ts" />
2
+
3
+ export * from '../lib/index'
@@ -0,0 +1,15 @@
1
+ declare module 'vecks' {
2
+ export interface Vec2 {
3
+ x: number
4
+ y: number
5
+ }
6
+
7
+ export class Box2 {
8
+ min: Vec2
9
+ max: Vec2
10
+
11
+ constructor(min?: Vec2, max?: Vec2)
12
+ }
13
+
14
+ export function V2(x?: number, y?: number): Vec2
15
+ }