Skip to content

Commit

Permalink
feat: update deprecated dependencies,fix vue3-memory-leak import error
Browse files Browse the repository at this point in the history
  • Loading branch information
boyongjiong committed Aug 7, 2024
1 parent 3f31fc1 commit ae7addd
Show file tree
Hide file tree
Showing 5 changed files with 5,521 additions and 4,378 deletions.
2 changes: 1 addition & 1 deletion babel.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
],
"plugins": [
["@babel/plugin-proposal-decorators", { "legacy": true }],
["@babel/plugin-proposal-class-properties", { "loose": true }],
["@babel/plugin-transform-class-properties", { "loose": true }],
[
"@babel/plugin-transform-react-jsx",
{
Expand Down
2 changes: 1 addition & 1 deletion examples/engine-browser-examples/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"paths": {
"@/*": ["src/*"]
"@/*": ["./src/*"]
}
},
"include": ["src"],
Expand Down
2 changes: 1 addition & 1 deletion examples/vue3-memory-leak/src/components/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</template>
<script setup>
import { ref } from 'vue'
import FlowChart from './FlowChart'
import FlowChart from './FlowChart.vue'
const flag = ref(true)
</script>
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
},
"devDependencies": {
"@babel/core": "^7.22.8",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-class-properties": "7.24.6",
"@babel/plugin-proposal-decorators": "^7.22.10",
"@babel/plugin-transform-react-jsx": "^7.22.5",
"@babel/preset-env": "^7.22.7",
Expand Down Expand Up @@ -111,7 +111,7 @@
"postcss-less": "^6.0.0",
"prettier": "^3.0.2",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"rimraf": "^5.0.7",
"rollup": "^3.7.4",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-polyfill-node": "^0.12.0",
Expand Down
Loading

0 comments on commit ae7addd

Please sign in to comment.