Skip to content

Commit

Permalink
fix: target ES2019 to support macOS 10.14
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog-crabnebula committed Apr 25, 2024
1 parent e308810 commit 6698e65
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 15 deletions.
8 changes: 8 additions & 0 deletions .changes/es2019.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@crabnebula/tauri-plugin-drag": patch
"@crabnebula/tauri-plugin-drag-as-window": patch
"tauri-plugin-drag": patch
"tauri-plugin-drag-as-window": patch
---

Target ES2019 for macOS 10.14 compatibility.
4 changes: 2 additions & 2 deletions crates/tauri-plugin-drag-as-window/src/api-iife.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion crates/tauri-plugin-drag/src/api-iife.js

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

2 changes: 1 addition & 1 deletion packages/tauri-plugin-drag-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"typescript": "5.2.2"
},
"dependencies": {
"@tauri-apps/api": "^1.0.0"
"@tauri-apps/api": "^1.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/tauri-plugin-drag-api/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es2021",
"target": "es2019",
"module": "esnext",
"moduleResolution": "bundler",
"skipLibCheck": true,
Expand Down
8 changes: 4 additions & 4 deletions packages/tauri-plugin-drag-api/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.3.0.tgz#0b9bcc159b93c911efb5a2c39ec5d70dd0a589dc"
integrity sha512-dMvGV8p92GQ8jhNlGIKpyhVZPzJlT258pPrM5q2F8lKcc9Iv9BbfdnhX1OfinYWnb9ms5zLw6MlaMnqLfUkKnQ==

"@tauri-apps/api@^1.0.0":
version "1.5.1"
resolved "https://registry.yarnpkg.com/@tauri-apps/api/-/api-1.5.1.tgz#9074476c4323f71351db624e9711c99277cdfb99"
integrity sha512-6unsZDOdlXTmauU3NhWhn+Cx0rODV+rvNvTdvolE5Kls5ybA6cqndQENDt1+FS0tF7ozCP66jwWoH6a5h90BrA==
"@tauri-apps/api@^1.5.4":
version "1.5.4"
resolved "https://registry.yarnpkg.com/@tauri-apps/api/-/api-1.5.4.tgz#69bf7f93abe7b00d69c313016a6c1d0d59dca5cd"
integrity sha512-LKYae9URbdEdbHrOXBeXb/lZgVyWTX0E98rSFBuQlmkLr8OeG+akuE41PfLjBVyk1Q+fq7wxo4ieenLSMUAUhA==

"@types/estree@^1.0.0":
version "1.0.5"
Expand Down
2 changes: 1 addition & 1 deletion packages/tauri-plugin-drag-as-window-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"typescript": "5.2.2"
},
"dependencies": {
"@tauri-apps/api": "^1.0.0",
"@tauri-apps/api": "^1.5.4",
"html2canvas": "^1.4.1"
}
}
2 changes: 1 addition & 1 deletion packages/tauri-plugin-drag-as-window-api/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es2021",
"target": "es2019",
"module": "esnext",
"moduleResolution": "bundler",
"skipLibCheck": true,
Expand Down
8 changes: 4 additions & 4 deletions packages/tauri-plugin-drag-as-window-api/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.3.0.tgz#0b9bcc159b93c911efb5a2c39ec5d70dd0a589dc"
integrity sha512-dMvGV8p92GQ8jhNlGIKpyhVZPzJlT258pPrM5q2F8lKcc9Iv9BbfdnhX1OfinYWnb9ms5zLw6MlaMnqLfUkKnQ==

"@tauri-apps/api@^1.0.0":
version "1.5.1"
resolved "https://registry.yarnpkg.com/@tauri-apps/api/-/api-1.5.1.tgz#9074476c4323f71351db624e9711c99277cdfb99"
integrity sha512-6unsZDOdlXTmauU3NhWhn+Cx0rODV+rvNvTdvolE5Kls5ybA6cqndQENDt1+FS0tF7ozCP66jwWoH6a5h90BrA==
"@tauri-apps/api@^1.5.4":
version "1.5.4"
resolved "https://registry.yarnpkg.com/@tauri-apps/api/-/api-1.5.4.tgz#69bf7f93abe7b00d69c313016a6c1d0d59dca5cd"
integrity sha512-LKYae9URbdEdbHrOXBeXb/lZgVyWTX0E98rSFBuQlmkLr8OeG+akuE41PfLjBVyk1Q+fq7wxo4ieenLSMUAUhA==

"@types/estree@^1.0.0":
version "1.0.5"
Expand Down

0 comments on commit 6698e65

Please sign in to comment.