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

expo-gl

Package Overview
Dependencies
Maintainers
20
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-gl - npm Package Compare versions

Comparing version 8.0.0 to 8.1.0

4

.expo/tsconfig.jest.json
{
"extends": "/Users/tomasz/Work/expo/packages/expo-gl/tsconfig.json",
"extends": "/Users/bbarthec/Work/expo/packages/expo-gl/tsconfig.json",
"compilerOptions": {

@@ -10,5 +10,5 @@ "module": "esnext",

"../../../node_modules/@types",
"/Users/tomasz/Work/expo/packages/expo-module-scripts/ts-declarations"
"/Users/bbarthec/Work/expo/packages/expo-module-scripts/ts-declarations"
]
}
}
import PropTypes from 'prop-types';
import * as React from 'react';
import { ComponentOrHandle, SurfaceCreateEvent, GLSnapshot, ExpoWebGLRenderingContext, SnapshotOptions, BaseGLViewProps } from './GLView.types';
declare type GLViewProps = {
export declare type GLViewProps = {
/**

@@ -101,3 +101,3 @@ * Called when the OpenGL context is created, with the context object as a parameter. The context

declare type WebGLObjectId = any;
declare class WebGLObject {
export declare class WebGLObject {
id: WebGLObjectId;

@@ -104,0 +104,0 @@ constructor(id: WebGLObjectId);

@@ -0,5 +1,5 @@

import { NativeModulesProxy, UnavailabilityError, requireNativeViewManager, } from '@unimodules/core';
import PropTypes from 'prop-types';
import * as React from 'react';
import { Platform, View, ViewPropTypes, findNodeHandle } from 'react-native';
import { NativeModulesProxy, UnavailabilityError, requireNativeViewManager, } from '@unimodules/core';
const packageJSON = require('../package.json');

@@ -103,3 +103,3 @@ const { ExponentGLObjectManager, ExponentGLViewManager } = NativeModulesProxy;

const idToObject = {};
class WebGLObject {
export class WebGLObject {
constructor(id) {

@@ -106,0 +106,0 @@ if (idToObject[id]) {

@@ -40,3 +40,3 @@ import PropTypes from 'prop-types';

render(): JSX.Element;
componentWillReceiveProps(nextProps: any): void;
componentDidUpdate(prevProps: GLViewProps): void;
private getGLContextOrReject;

@@ -43,0 +43,0 @@ private onContextLost;

@@ -171,5 +171,5 @@ import { CodedError, UnavailabilityError } from '@unimodules/core';

}
componentWillReceiveProps(nextProps) {
componentDidUpdate(prevProps) {
const { webglContextAttributes } = this.props;
if (this.canvas && webglContextAttributes !== nextProps.webglContextAttributes) {
if (this.canvas && webglContextAttributes !== prevProps.webglContextAttributes) {
this.onContextLost(null);

@@ -176,0 +176,0 @@ this.onContextRestored();

{
"name": "expo-gl",
"version": "8.0.0",
"version": "8.1.0",
"description": "Provides GLView that acts as OpenGL ES render target and gives GL context object implementing WebGL 2.0 specification.",

@@ -46,11 +46,11 @@ "main": "build/index.js",

"dependencies": {
"expo-gl-cpp": "~8.0.0",
"expo-gl-cpp": "~8.1.0",
"prop-types": "^15.7.2"
},
"devDependencies": {
"babel-preset-expo": "~8.0.0",
"expo-module-scripts": "~1.1.1",
"babel-preset-expo": "~8.1.0",
"expo-module-scripts": "~1.2.0",
"react-test-renderer": "~16.9.0"
},
"gitHead": "ec7878b9ce54f2537721218ae0fe4017e4004806"
"gitHead": "3ad68bbd9847ebc8a55272c263b17d998a92f64f"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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