From 8576217c693e288a3f68d04383b2a606188524b3 Mon Sep 17 00:00:00 2001 From: Luc Patiny Date: Mon, 29 Aug 2022 17:59:03 +0200 Subject: [PATCH] fix: update pubchem library to fix when no experimental and identifiers (#31) --- README.md | 2 ++ package-lock.json | 18 +++++++++--------- package.json | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 6657669..21771b5 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ npm run dev Open [http://localhost:3000/dev/home](http://localhost:3000/dev/home) with your browser to develop with the home page. +- [pubchem](http://localhost:3000/chemistry/pubchem?smiles=C1%28C%28N2%28C1SC%28C2C%28%3DO%29O%29%28C%29C%29%29%3DO%29%28NC%28CC%3D3%28C%3DCC%3DCC%3D3%29%29%3DO%29) + ## Create new views ### Decide the view URL diff --git a/package-lock.json b/package-lock.json index e8358a8..36e5f28 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "c6h6-react", - "version": "1.4.0", + "version": "1.4.1", "dependencies": { "@headlessui/react": "^1.5.0", "@heroicons/react": "^1.0.6", @@ -24,7 +24,7 @@ "next": "^12.1.0", "nmrium": "^0.23.0", "openchemlib": "^7.4.3", - "pubchem": "^0.9.0", + "pubchem": "^0.9.2", "react": "^17.0.2", "react-datepicker": "^4.7.0", "react-dom": "^17.0.2", @@ -6894,17 +6894,17 @@ "integrity": "sha512-IJUkICM5dP5znhCckHSv30Q4b5/JA5enCtkRHYaOVOAocnH/1BQEYTC5NMfT3AVl/iXKdr3aqQbQn9DxyWknwA==" }, "node_modules/pubchem": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/pubchem/-/pubchem-0.9.0.tgz", - "integrity": "sha512-3WWNqGg3uuFSc6TDaJ5qfej4yNdOFVXNYu5PvjI4t5y2BeKD2eNfw0tVS24gfP1teiVacBt5LHyhhpFmTBL3WQ==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/pubchem/-/pubchem-0.9.2.tgz", + "integrity": "sha512-PAOn+T2Jp3C9Lf1AvLHpNQCa/i20gstxnNF7iQ4Gc2JFxErYEvcgSQB6P+lTN/EDTZe71HxZ9n/DZJyVNknbog==", "dependencies": { + "cross-fetch": "^3.1.5", "deepmerge": "^4.2.2", "js-quantities": "^1.7.6", "jsonpath": "^1.1.1", - "ml-array-mean": "^1.1.5", - "ml-array-median": "^1.1.5", - "ml-array-standard-deviation": "^1.1.6", - "node-fetch": "^2.6.1", + "ml-array-mean": "^1.1.6", + "ml-array-median": "^1.1.6", + "ml-array-standard-deviation": "^1.1.8", "physical-parser": "^0.3.0" } }, diff --git a/package.json b/package.json index 88f87ec..adea219 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "next": "^12.1.0", "nmrium": "^0.23.0", "openchemlib": "^7.4.3", - "pubchem": "^0.9.0", + "pubchem": "^0.9.2", "react": "^17.0.2", "react-datepicker": "^4.7.0", "react-dom": "^17.0.2",