Skip to content

Commit

Permalink
Breaking: use new language features (#94)
Browse files Browse the repository at this point in the history
Namely private properties, optional chaining and the nullish coalescing
operator. This is a syntactic refactoring that makes no difference for
most consumers. The syntax is supported by all our target environments,
but if browserify is used (without babel or similar) it'll fail to
parse.

Category: change
  • Loading branch information
vweevers authored Dec 31, 2024
1 parent b5b583c commit 1fdb362
Show file tree
Hide file tree
Showing 13 changed files with 544 additions and 557 deletions.
5 changes: 5 additions & 0 deletions .airtap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ presets:
- airtap-electron
browsers:
- name: electron

# Until airtap switches to rollup
browserify:
- transform: babelify
presets: ["@babel/preset-env"]
4 changes: 3 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ updates:
ignore:
- dependency-name: standard
- dependency-name: ts-standard
- dependency-name: '@types/node'
- dependency-name: "@types/node"
- dependency-name: voxpelli/tsconfig
- dependency-name: typescript
- dependency-name: hallmark
- dependency-name: "@babel/preset-env"
- dependency-name: babelify

# Stay on the 3rd or 4th oldest stable release, per
# https://www.electronjs.org/docs/latest/tutorial/electron-timelines#version-support-policy
Expand Down
Loading

0 comments on commit 1fdb362

Please sign in to comment.