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

glslx

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glslx - npm Package Compare versions

Comparing version 0.2.10 to 0.2.11

10

glslx.d.ts

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

// This is for '#include'
type CompileInput = string | { name: string, contents: string } | { name: string, contents: string }[];
type FileAccess = (filePath: string, relativeTo: string) => (null | string | { name: string, contents: string });

@@ -10,6 +10,6 @@

keepSymbols?: boolean; // Default: false
fileAccess?: FileAccess;
fileAccess?: FileAccess; // For '#include'
}
export function compile(input: string, args?: CompileArgs): {
export function compile(input: CompileInput, args?: CompileArgs): {
log: string;

@@ -20,3 +20,3 @@ output: string | null;

interface CompileArgsIDE {
fileAccess?: FileAccess;
fileAccess?: FileAccess; // For '#include'
}

@@ -35,3 +35,3 @@

export function compileIDE(input: string, args?: CompileArgsIDE): {
export function compileIDE(input: CompileInput, args?: CompileArgsIDE): {
diagnostics: {

@@ -38,0 +38,0 @@ kind: 'error' | 'warning';

{
"name": "glslx",
"version": "0.2.10",
"version": "0.2.11",
"description": "",

@@ -5,0 +5,0 @@ "repository": "https://github.com/evanw/glslx",

Sorry, the diff of this file is not supported yet

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