Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

drei

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drei - npm Package Compare versions

Comparing version 0.0.25 to 0.0.26

2

dist/index.cjs.js

@@ -327,3 +327,3 @@ 'use strict';

return composer;
}, [camera, gl, scene, smaa]);
}, [camera, gl, scene, smaa, ao, bloom, edgeDetection, bloomOpacity]);
React.useEffect(function () {

@@ -330,0 +330,0 @@ return void composer.setSize(size.width, size.height);

@@ -292,3 +292,3 @@ import _extends from '@babel/runtime/helpers/esm/extends';

return composer;
}, [camera, gl, scene, smaa]);
}, [camera, gl, scene, smaa, ao, bloom, edgeDetection, bloomOpacity]);
useEffect(() => void composer.setSize(size.width, size.height), [composer, size]);

@@ -295,0 +295,0 @@ return useFrame((_, delta) => composer.render(delta), 1);

declare type Props = {
bloom: boolean | BloomProps;
ao: boolean | AOProps;
smaa: boolean;
edgeDetection: number;
bloomOpacity: number;
bloom?: boolean | BloomProps;
ao?: boolean | AOProps;
smaa?: boolean;
edgeDetection?: number;
bloomOpacity?: number;
effects?: (effects: any[]) => any[];

@@ -8,0 +8,0 @@ };

{
"name": "drei",
"version": "0.0.25",
"version": "0.0.26",
"description": "useful add-ons for react-three-fiber",

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

@@ -145,3 +145,3 @@ [![Build Status](https://travis-ci.org/react-spring/drei.svg?branch=master)](https://travis-ci.org/react-spring/drei) [![npm version](https://badge.fury.io/js/drei.svg)](https://badge.fury.io/js/drei) ![npm](https://img.shields.io/npm/dt/drei.svg)

{...divProps} // All HTMLDivElement props are valid
>
>
<h1>hello</h1>

@@ -148,0 +148,0 @@ <p>world</p>

@@ -19,7 +19,7 @@ import { HalfFloatType } from 'three'

type Props = {
bloom: boolean | BloomProps
ao: boolean | AOProps
smaa: boolean
edgeDetection: number
bloomOpacity: number
bloom?: boolean | BloomProps
ao?: boolean | AOProps
smaa?: boolean
edgeDetection?: number
bloomOpacity?: number
effects?: (effects: any[]) => any[]

@@ -108,3 +108,3 @@ }

return composer
}, [camera, gl, scene, smaa])
}, [camera, gl, scene, smaa, ao, bloom, edgeDetection, bloomOpacity])

@@ -111,0 +111,0 @@ useEffect(() => void composer.setSize(size.width, size.height), [composer, size])

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