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

gl-buffer

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gl-buffer - npm Package Compare versions

Comparing version 2.0.9 to 2.1.1

4

buffer.js

@@ -32,2 +32,6 @@ "use strict"

proto.unbind = function() {
this.gl.bindBuffer(this.type, null)
}
proto.dispose = function() {

@@ -34,0 +38,0 @@ this.gl.deleteBuffer(this.handle)

9

package.json
{
"name": "gl-buffer",
"version": "2.0.9",
"version": "2.1.1",
"description": "WebGL buffer wrapper",

@@ -17,6 +17,9 @@ "main": "buffer.js",

"gl-now": "^1.3.1",
"glslify": "^1.4.0"
"glslify": "^1.4.0",
"smokestack": "^2.0.0",
"tap-spec": "^1.0.1",
"tape": "^3.0.1"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "browserify ./test/index.js | smokestack | tap-spec",
"start": "beefy --open example/example.js -- --transform glslify"

@@ -23,0 +26,0 @@ },

@@ -12,3 +12,3 @@ gl-buffer

var glslify = require("glslify")
var createBuffer = require("../buffer.js")
var createBuffer = require("gl-buffer")

@@ -40,3 +40,3 @@ var createShader = glslify({

buffer = createBuffer(gl, [-1, 0, 0,-1, 1, 1])
//Create shader

@@ -113,2 +113,2 @@ shader = createShader(gl)

## Credits
(c) 2013-2014 Mikola Lysenko. MIT License
(c) 2013-2014 Mikola Lysenko. MIT License

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