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

glslify-bundle

Package Overview
Dependencies
Maintainers
7
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glslify-bundle - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

fixtures/version.glsl

5

index.js
var tokenize = require('glsl-tokenizer/string')
var inject = require('glsl-inject-defines')
var defines = require('glsl-token-defines')

@@ -9,3 +10,5 @@ var descope = require('glsl-token-descope')

module.exports = function(deps) {
return '#define GLSLIFY 1\n\n' + Bundle(deps).src
return inject(Bundle(deps).src, {
GLSLIFY: 1
})
}

@@ -12,0 +15,0 @@

3

package.json
{
"name": "glslify-bundle",
"version": "2.0.3",
"version": "2.0.4",
"description": "Bundle a glslify-deps dependency tree into a GLSL source string",

@@ -16,2 +16,3 @@ "main": "index.js",

"dependencies": {
"glsl-inject-defines": "^1.0.1",
"glsl-token-defines": "^1.0.0",

@@ -18,0 +19,0 @@ "glsl-token-depth": "^1.1.1",

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