Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mf-from-google-sheet

Package Overview
Dependencies
Maintainers
2
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mf-from-google-sheet - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

8

lib/index.js

@@ -8,3 +8,3 @@ 'use strict';

var Papa = require('papaparse');
var fetch = require('cross-fetch');
var crossFetch = require('cross-fetch');

@@ -14,8 +14,6 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var Papa__default = /*#__PURE__*/_interopDefaultLegacy(Papa);
var fetch__default = /*#__PURE__*/_interopDefaultLegacy(fetch);
var crossFetch__default = /*#__PURE__*/_interopDefaultLegacy(crossFetch);
// eslint-disable-next-line no-shadow
async function fetchText(url) {
const result = await fetch__default["default"](url);
const result = await crossFetch__default["default"](url);
if (result.status !== 200) {

@@ -22,0 +20,0 @@ throw new Error(String(result.status));

{
"name": "mf-from-google-sheet",
"version": "2.0.6",
"version": "2.0.7",
"description": "Retrieve and format molecular formula from google sheet",

@@ -24,8 +24,8 @@ "main": "lib/index.js",

"cross-fetch": "^3.1.5",
"mf-generator": "^2.1.0",
"mf-parser": "^2.2.1",
"mf-utilities": "^2.0.3",
"mf-generator": "^2.1.1",
"mf-parser": "^2.3.0",
"mf-utilities": "^2.0.4",
"papaparse": "^5.4.1"
},
"gitHead": "d309de1c7a86730c8e4f0bd836896e1a16c95cb7"
"gitHead": "2f92cd4423018e7dad9594565f1fae4557de0ca3"
}

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

// eslint-disable-next-line no-shadow
import fetch from 'cross-fetch';
import crossFetch from 'cross-fetch';
export async function fetchText(url) {
const result = await fetch(url);
const result = await crossFetch(url);
if (result.status !== 200) {

@@ -7,0 +6,0 @@ throw new Error(String(result.status));

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