Skip to content

chore(deps): bump public-google-sheets-parser from 1.5.4 to 1.6.0 - #175

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/public-google-sheets-parser-1.6.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/public-google-sheets-parser-1.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 25, 2026

Copy link
Copy Markdown
Contributor

Bumps public-google-sheets-parser from 1.5.4 to 1.6.0.

Release notes

Sourced from public-google-sheets-parser's releases.

v1.6.0 — TypeScript fixes and custom fetch support

v1.6.0 fixes TypeScript declaration and import errors, adds optional custom fetch support, and makes error handling and package verification more reliable. Existing CommonJS and default-import usage is preserved.

Fixes for package consumers

  • TypeScript declaration error (#55): remove initializers that are invalid in .d.ts ambient declarations, fixing Initializers are not allowed in ambient contexts.
  • TypeScript constructor/import error (#57): align the declaration's CommonJS export with the actual exported class, fixing TS2351: This expression is not constructable in the affected import scenarios. Compiled CommonJS and ESM TypeScript consumers are verified.
  • Response body failures: handle a rejected response.text() promise inside the request error handler. parse() now returns an empty array for this failure, consistently with other handled request failures.
  • Malformed Google Sheets responses: check that the expected callback payload exists before extracting it; responses without that payload return an empty array directly.
  • Option objects: use a safe own-property check so options created with Object.create(null) or an overridden hasOwnProperty do not break option updates. Explicit false values remain supported.

Added

  • A real named export: PublicGoogleSheetsParser is available from both the source entry point and the built bundle, alongside the existing CommonJS constructor and default export.
  • Optional fetch injection: pass a request function in the constructor options or through setOption({ fetch }). This supports offline fixtures or caller-provided logging/retry behavior. Changing unrelated options retains the injected function. Omitting it keeps the existing browser/Node transport.
import { PublicGoogleSheetsParser } from 'public-google-sheets-parser'
const parser = new PublicGoogleSheetsParser('YOUR_SPREADSHEET_ID', {
fetch: (url) => fetch(url)
})
const rows = await parser.parse()

The injected function receives the request URL and returns a promise for a response with ok and an asynchronous text() method. Automatic retries are not added by this release; they can be implemented in the supplied function.

Test and build improvements

  • Make dist/integration test commands and coverage execution work on Windows as well as Linux.
  • Replace live-network dependence in the default tests with deterministic fixtures while exercising the real parser and transport. Keep live Google Sheets integration checks available separately.
  • Add regression checks for exports, request failures, GID selection, options, formatting, and browser usage. These checks protect existing behavior as well as the fixes above.
  • Pin TypeScript for reproducible CommonJS/ESM consumer compilation and runtime checks.
  • Run CI on Ubuntu and Windows with Node.js 22 and 24. Enforce 100% statement, branch, function, and line coverage.

Upgrade and verification

npm install public-google-sheets-parser@1.6.0

The new fetch option is optional; existing constructor and parse() calls can continue unchanged. The package still has no runtime dependencies.

  • CI run: all four environment jobs and both Codecov checks passed.
  • Built and validated the actual npm tarball from the v1.6.0 tag before publication.
  • Installed the published package into a new consumer project with an empty npm cache. CommonJS/ESM exports, TypeScript compilation/runtime, the browser bundle, and live Google Sheets queries passed.
  • Verified that registry integrity matches the tested tarball, latest points to 1.6.0, and jsDelivr/unpkg serve the same versioned browser bundle.

Release references

... (truncated)

Commits
  • 56c2977 Release v1.6.0 (#63)
  • 7551cd4 docs: publish npm releases from tagged merge commits
  • c2af097 release v1.6.0
  • 5c069d1 fix: add typecheck coverage and regression tests
  • 3448c27 test: stabilize suite with offline fixtures and optional dist run
  • 3712ae9 Fix syntax for Ubuntu runner version
  • e7857bc Change trigger to only run on pull requests
  • 33f99d4 Update GitHub Actions runner to use latest Ubuntu
  • f750587 Update README.md by removing badges
  • c64ed4b resolve TypeScript definition issues
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [public-google-sheets-parser](https://github.com/fureweb-com/public-google-sheets-parser) from 1.5.4 to 1.6.0.
- [Release notes](https://github.com/fureweb-com/public-google-sheets-parser/releases)
- [Commits](fureweb-com/public-google-sheets-parser@v1.5.4...v1.6.0)

---
updated-dependencies:
- dependency-name: public-google-sheets-parser
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants