Skip to content

Commit

Permalink
feat: remove promise polyfill (#27)
Browse files Browse the repository at this point in the history
* remove promise polyfill

* changelog entry
  • Loading branch information
cgdibble authored Nov 29, 2023
1 parent bee0419 commit 91f27a0
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 23 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Unreleased

- Remove promise polyfill

# 1.0.1

- Dependabot Updates
Expand Down
13 changes: 0 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"typescript": "^5.1.6"
},
"dependencies": {
"promise-polyfill": "^8.3.0"
},
"jest": {
"testEnvironment": "jsdom",
Expand Down
7 changes: 0 additions & 7 deletions src/lib/promise.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/load-script.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { PromiseGlobal as Promise } from "./lib/promise";
import { LoadScriptOptions } from "./types";

let scriptPromiseCache = {} as Record<string, Promise<HTMLScriptElement>>;
Expand Down
1 change: 0 additions & 1 deletion src/load-stylesheet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { PromiseGlobal as Promise } from "./lib/promise";
import { LoadStylesheetOptions } from "./types";

export = function loadStylesheet(
Expand Down

0 comments on commit 91f27a0

Please sign in to comment.