Skip to content

Commit

Permalink
Use private properties, optional chaining & coalescing operator
Browse files Browse the repository at this point in the history
Just a syntactic refactoring, makes no difference for consumers. The
syntax is supported by all our target environments, but if browserify
is used (without babel or similar) it'll fail to parse. Not sure if
that constitutes a breaking change.

Category: change
  • Loading branch information
vweevers committed Dec 27, 2024
1 parent eedeed9 commit 3318e18
Show file tree
Hide file tree
Showing 13 changed files with 526 additions and 531 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 3318e18

Please sign in to comment.