New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@thi.ng/geom-api

Package Overview
Dependencies
Maintainers
1
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/geom-api - npm Package Compare versions

Comparing version 3.2.1 to 3.3.0

8

CHANGELOG.md
# Change Log
- **Last updated**: 2022-06-23T12:16:18Z
- **Last updated**: 2022-06-28T13:48:51Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -12,2 +12,8 @@

## [3.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-api@3.3.0) (2022-06-28)
#### 🚀 Features
- add IAttributed, update IShape ([35799db](https://github.com/thi-ng/umbrella/commit/35799db))
## [3.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-api@3.2.0) (2022-06-20)

@@ -14,0 +20,0 @@

4

package.json
{
"name": "@thi.ng/geom-api",
"version": "3.2.1",
"version": "3.3.0",
"description": "Shared type & interface declarations for @thi.ng/geom packages",

@@ -102,3 +102,3 @@ "type": "module",

},
"gitHead": "73139849c7b46c0451693d994e14a34bc2434280\n"
"gitHead": "207404f1e1fcfd3596780322d9218156aeaac3dd\n"
}
import type { ICopy, IObjectOf, IToHiccup } from "@thi.ng/api";
import type { Vec } from "@thi.ng/vectors";
export declare type Attribs = IObjectOf<any>;
export interface IShape extends ICopy<IShape> {
readonly type: number | string;
export interface IAttributed<T> {
attribs?: Attribs;
withAttribs(attribs: Attribs): T;
}
export interface AABBLike extends IShape {
export interface IShape<T extends IShape = IShape<any>> extends IAttributed<T>, ICopy<T> {
readonly type: number | string;
}
export interface AABBLike extends IShape<AABBLike> {
pos: Vec;

@@ -14,9 +17,7 @@ size: Vec;

}
export interface SphereLike extends IShape {
export interface SphereLike extends IShape<SphereLike> {
pos: Vec;
r: number;
}
export interface IHiccupShape extends IShape, IToHiccup {
}
export interface PCLike extends IShape {
export interface PCLike extends IShape<PCLike> {
points: Vec[];

@@ -27,2 +28,4 @@ }

}
export interface IHiccupShape extends IShape, IToHiccup {
}
//# sourceMappingURL=shape.d.ts.map
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc