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

fragment-shader

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fragment-shader - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

2

package.json
{
"name": "fragment-shader",
"version": "4.0.1",
"version": "4.0.2",
"type": "module",

@@ -5,0 +5,0 @@ "main": "./index.ts",

@@ -77,3 +77,3 @@ # fragment-shader

```ts
import Editor from './classes/Editor';
import { Editor } from 'fragment-shader';

@@ -94,2 +94,14 @@ new Editor({

### Configuration
```ts
export type EditorConfig = {
parent?: HTMLElement | string;
uniforms?: Uniform[];
onUpdate?: (update?: string) => void;
language?: 'HTML' | 'GLSL';
doc?: string;
};
```
## SandBox

@@ -100,3 +112,3 @@

```ts
import SandBox from './classes/SandBox';
import { SandBox } from 'fragment-shader';

@@ -103,0 +115,0 @@ new SandBox({

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