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

three-csg-ts

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-csg-ts - npm Package Compare versions

Comparing version 3.1.11 to 3.1.12

4

lib/cjs/CSG.js

@@ -16,3 +16,3 @@ "use strict";

constructor() {
this.polygons = new Array();
this.polygons = [];
}

@@ -70,3 +70,3 @@ static fromPolygons(polygons) {

}
return CSG.fromPolygons(polys.filter((p) => !isNaN(p.plane.normal.x)));
return CSG.fromPolygons(polys.filter((p) => !Number.isNaN(p.plane.normal.x)));
}

@@ -73,0 +73,0 @@ static toGeometry(csg, toMatrix) {

@@ -13,3 +13,3 @@ import { BufferAttribute, BufferGeometry, Matrix3, Matrix4, Mesh, Vector3, } from 'three';

constructor() {
this.polygons = new Array();
this.polygons = [];
}

@@ -67,3 +67,3 @@ static fromPolygons(polygons) {

}
return CSG.fromPolygons(polys.filter((p) => !isNaN(p.plane.normal.x)));
return CSG.fromPolygons(polys.filter((p) => !Number.isNaN(p.plane.normal.x)));
}

@@ -70,0 +70,0 @@ static toGeometry(csg, toMatrix) {

{
"name": "three-csg-ts",
"version": "3.1.11",
"version": "3.1.12",
"description": "CSG library for use with THREE.js",

@@ -5,0 +5,0 @@ "main": "lib/cjs/index.js",

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