Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "meshline", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"author": "Jaume Sanchez <the.spite@gmail.com> (https://www.clicktorelease.com)", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -99,4 +99,6 @@ # MeshLine | ||
You can optionally add raycast support with the following. | ||
##### Add raycast support | ||
Raycast can be optionally added by overwriting `mesh.raycast` with the one that meshline provides. | ||
```jsx | ||
@@ -143,2 +145,17 @@ import { raycast } from 'meshline' | ||
##### Types | ||
Add these declarations to your entry point. | ||
```tsx | ||
import { ReactThreeFiber } from '@react-three/fiber' | ||
declare module '@react-three/fiber' { | ||
interface ThreeElements { | ||
meshLineGeometry: ReactThreeFiber.Object3DNode<MeshLineGeometry, typeof MeshLineGeometry> | ||
meshLineMaterial: ReactThreeFiber.Object3DNode<MeshLineMaterial, typeof MeshLineMaterial> | ||
} | ||
} | ||
``` | ||
### References | ||
@@ -145,0 +162,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
48774
7
709
164
0
2