Skip to content

Commit

Permalink
release v1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fureweb-com committed Mar 18, 2024
1 parent a072d93 commit e5a943d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ let PublicGoogleSheetsParser = /*#__PURE__*/function () {
/* istanbul ignore next */


if (isBrowser && !module) {
if (isBrowser && typeof module === 'undefined') {
window.PublicGoogleSheetsParser = PublicGoogleSheetsParser;
} else {
module.exports = PublicGoogleSheetsParser;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "public-google-sheets-parser",
"version": "1.5.1",
"version": "1.5.2",
"description": "Get JSONArray from public google sheets with using only spreadsheetId",
"scripts": {
"build:dist": "npx babel ./src/index.js --out-file ./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class PublicGoogleSheetsParser {
}

/* istanbul ignore next */
if (isBrowser && !module) {
if (isBrowser && typeof module === 'undefined') {
window.PublicGoogleSheetsParser = PublicGoogleSheetsParser
} else {
module.exports = PublicGoogleSheetsParser
Expand Down

0 comments on commit e5a943d

Please sign in to comment.