3dmol
Advanced tools
Comparing version 2.0.4 to 2.0.5
/*! | ||
* 3dmol v2.0.4 | ||
* 3dmol v2.0.5 | ||
* JavaScript/TypeScript molecular visualization library | ||
* Author: David Koes and contributors | ||
*/ |
/*! | ||
* 3dmol v2.0.4 | ||
* 3dmol v2.0.5 | ||
* JavaScript/TypeScript molecular visualization library | ||
@@ -8,3 +8,3 @@ * Author: David Koes and contributors | ||
/*! | ||
* jQuery JavaScript Library v3.7.0 | ||
* jQuery JavaScript Library v3.7.1 | ||
* https://jquery.com/ | ||
@@ -16,3 +16,3 @@ * | ||
* | ||
* Date: 2023-05-11T18:29Z | ||
* Date: 2023-08-28T13:37Z | ||
*/ |
@@ -248,2 +248,3 @@ import { Renderer } from "./WebGL"; | ||
setHoverDuration(duration?: number): void; | ||
private mouseXY; | ||
_handleMouseMove(ev: any): void; | ||
@@ -250,0 +251,0 @@ /** User specified function for handling a context menu event. |
{ | ||
"name": "3dmol", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "JavaScript/TypeScript molecular visualization library", | ||
@@ -37,3 +37,2 @@ "repository": { | ||
"prepare": "npm run build:dev && npm run build:prod", | ||
"postinstall": "npm run build", | ||
"jest": "npx jest --testPathIgnorePatterns=render.test.js", | ||
@@ -40,0 +39,0 @@ "test": "npm run generate:jest && npm run jest && npm run glcheck", |
@@ -57,3 +57,3 @@ import { ParserOptionsSpec } from "./ParserOptionsSpec"; | ||
if (!options.onemol) atoms.push([]); | ||
while (lines[offset] !== "$$$$") offset++; | ||
while (lines[offset] !== "$$$$" && offset < lines.length) offset++; | ||
lines.splice(0, ++offset); | ||
@@ -152,3 +152,3 @@ } else { | ||
} | ||
while (lines[offset] !== "$$$$") { | ||
while (lines[offset] !== "$$$$" && offset < lines.length) { | ||
offset++; | ||
@@ -155,0 +155,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
8270948
55410
0