Skip to content

Commit

Permalink
Remove polyfill for global.window which is now redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yle committed Nov 13, 2024
1 parent 8f19308 commit d1f9f4e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Remove polyfill for `global.window` which is now redundant

## 4.2.0 (2024-11-02)

- Add a new option called `renderParams`. This allows you to generate transparent images using `renderParams: { background: 'transparent' }` ([#244])
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "./polyfill.js"; // do this before pdfjs
import { createRequire } from "node:module";
import path from "node:path";
import * as pdfjs from "pdfjs-dist/legacy/build/pdf.mjs";
Expand Down
10 changes: 0 additions & 10 deletions src/polyfill.ts

This file was deleted.

0 comments on commit d1f9f4e

Please sign in to comment.