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

stl-viewer

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stl-viewer - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

13

dist/STLViewer.js

@@ -321,7 +321,16 @@ 'use strict';

className: this.props.className,
style: { width: width, height: height }
style: {
width: width,
height: height,
overflow: 'hidden'
}
},
_react2.default.createElement(
'div',
{ style: { textAlign: 'center', marginTop: height / 2 - 8 } },
{ style: {
height: '100%',
display: 'flex',
justifyContent: 'center',
alignItems: 'center'
} },
_react2.default.createElement(_ScaleLoader2.default, { color: modelColor, size: '16px' })

@@ -328,0 +337,0 @@ )

2

package.json
{
"name": "stl-viewer",
"version": "0.4.0",
"version": "0.5.0",
"description": "A component for viewing an STL object from a given URL by utilizing Three.js",

@@ -5,0 +5,0 @@ "main": "dist/STLViewer.js",

@@ -280,5 +280,14 @@ import React, { PropTypes, Component } from 'react';

className={this.props.className}
style={{ width: width, height: height }}
style={{
width: width,
height: height,
overflow: 'hidden',
}}
>
<div style={{textAlign: 'center', marginTop: height/2 - 8 }} >
<div style={{
height: '100%',
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
}} >
<Loader color={modelColor} size="16px" />

@@ -285,0 +294,0 @@ </div>

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