New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

2gl

Package Overview
Dependencies
Maintainers
8
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

2gl - npm Package Compare versions

Comparing version 0.13.2 to 0.13.3

4

BufferChannel.js

@@ -33,4 +33,4 @@ import Buffer from './Buffer';

*/
bind(gl, location, instancesExt) {
this._buffer.bind(gl, location, this.options, instancesExt);
bind(gl, location, options, instancesExt) {
this._buffer.bind(gl, location, options || this.options, instancesExt);
}

@@ -37,0 +37,0 @@ }

@@ -92,3 +92,3 @@ /// <reference types="@2gis/gl-matrix" />

constructor(buffer: Buffer, options: Partial<BufferBindOptions>);
public bind(gl: WebGLRenderingContext, location?: number): this;
public bind(gl: WebGLRenderingContext, location?: number, options?: BufferBindOptions, instancesExt?: ANGLE_instanced_arrays): this;
}

@@ -95,0 +95,0 @@

{
"name": "2gl",
"version": "0.13.2",
"version": "0.13.3",
"description": "WebGL library for 2GIS projects",

@@ -5,0 +5,0 @@ "repository": {

@@ -33,4 +33,4 @@ import Buffer from './Buffer';

*/
bind(gl, location, instancesExt) {
this._buffer.bind(gl, location, this.options, instancesExt);
bind(gl, location, options, instancesExt) {
this._buffer.bind(gl, location, options || this.options, instancesExt);
}

@@ -37,0 +37,0 @@ }

@@ -101,3 +101,3 @@ /**

}
attributes[name].bind(gl, shaderAttribute.location, instancesExt);
attributes[name].bind(gl, shaderAttribute.location, null, instancesExt);
}

@@ -104,0 +104,0 @@ if (this.indicesBuffer) {

@@ -101,3 +101,3 @@ /**

}
attributes[name].bind(gl, shaderAttribute.location, instancesExt);
attributes[name].bind(gl, shaderAttribute.location, null, instancesExt);
}

@@ -104,0 +104,0 @@ if (this.indicesBuffer) {

Sorry, the diff of this file is too big to display

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