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

@jbroll/jscad-fluent

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jbroll/jscad-fluent - npm Package Compare versions

Comparing version

to
0.4.1

9

package.json
{
"name": "@jbroll/jscad-fluent",
"author": "John Roll",
"version": "0.4.0",
"version": "0.4.1",
"license": "MIT",

@@ -24,2 +24,5 @@ "type": "module",

"build": "tsc && vite build",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"types": "tsc --emitDeclarationOnly --outDir dist/types && api-extractor run --local --verbose"

@@ -30,4 +33,6 @@ },

"@microsoft/api-extractor": "^7.42.3",
"@vitest/coverage-v8": "^1.0.4",
"typescript": "^5.3.2",
"vite": "^5.0.4"
"vite": "^5.0.4",
"vitest": "^1.0.4"
},

@@ -34,0 +39,0 @@ "peerDependencies": {

@@ -1,2 +0,2 @@

import { primitives } from '@jscad/modeling';
import { primitives, curves } from '@jscad/modeling';
import { FluentGeom2 } from './gen/FluentGeom2';

@@ -24,2 +24,11 @@ import { FluentPath2 } from './gen/FluentPath2';

export const jscadFluent = {
// Path2 Primitives
arc(options: { center: Point2; radius: number; startAngle: number; endAngle: number; }): FluentPath2 {
return new FluentPath2(primitives.arc(options));
},
line(points: Point2[]): FluentPath2 {
return new FluentPath2(primitives.line(points));
},
// 2D Primitives

@@ -30,2 +39,6 @@ rectangle(options: RectangleOptions): FluentGeom2 {

roundedRectangle(options: { size: Point2; roundRadius: number; }): FluentGeom2 {
return new FluentGeom2(primitives.roundedRectangle(options));
},
circle(options: CircleOptions): FluentGeom2 {

@@ -83,2 +96,2 @@ return new FluentGeom2(primitives.circle(options));

export { FluentPath2Array } from './gen/FluentPath2Array';
export { FluentGeom3Array } from './gen/FluentGeom3Array';
export { FluentGeom3Array } from './gen/FluentGeom3Array';