Skip to content

Commit

Permalink
chore(deps): lock file maintenance minor/patch updates (#5576)
Browse files Browse the repository at this point in the history
* chore(deps): lock file maintenance minor/patch updates

* Adapt code

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lukas Taegert-Atkinson <[email protected]>
  • Loading branch information
renovate[bot] and lukastaegert authored Jul 13, 2024
1 parent db4ecdf commit 4f37dac
Show file tree
Hide file tree
Showing 10 changed files with 362 additions and 364 deletions.
586 changes: 288 additions & 298 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@
"@codemirror/language": "^6.10.2",
"@codemirror/search": "^6.5.6",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.28.3",
"@jridgewell/sourcemap-codec": "^1.4.15",
"@codemirror/view": "^6.28.4",
"@jridgewell/sourcemap-codec": "^1.5.0",
"@mermaid-js/mermaid-cli": "^10.9.1",
"@napi-rs/cli": "^2.18.4",
"@rollup/plugin-alias": "^5.1.0",
Expand All @@ -134,18 +134,18 @@
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@rollup/pluginutils": "^5.1.0",
"@shikijs/vitepress-twoslash": "^1.10.0",
"@shikijs/vitepress-twoslash": "^1.10.3",
"@types/eslint": "^8.56.10",
"@types/inquirer": "^9.0.7",
"@types/mocha": "^10.0.7",
"@types/node": "~18.18.14",
"@types/semver": "^7.5.8",
"@types/yargs-parser": "^21.0.3",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.16.0",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"acorn": "^8.12.0",
"acorn": "^8.12.1",
"acorn-import-assertions": "^1.9.0",
"buble": "^0.20.0",
"builtin-modules": "^4.0.0",
Expand All @@ -162,7 +162,7 @@
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-unicorn": "^54.0.0",
"eslint-plugin-vue": "^9.26.0",
"eslint-plugin-vue": "^9.27.0",
"fixturify": "^3.0.0",
"flru": "^1.0.2",
"fs-extra": "^11.2.0",
Expand All @@ -173,7 +173,7 @@
"lint-staged": "^15.2.7",
"locate-character": "^3.0.0",
"magic-string": "^0.30.10",
"mocha": "^10.5.2",
"mocha": "^10.6.0",
"nodemon": "^3.1.4",
"npm-audit-resolver": "^3.0.0-RC.0",
"nyc": "^17.0.0",
Expand All @@ -182,8 +182,8 @@
"pretty-bytes": "^6.1.1",
"pretty-ms": "^9.0.0",
"requirejs": "^2.3.6",
"rollup": "^4.18.0",
"rollup-plugin-license": "^3.5.1",
"rollup": "^4.18.1",
"rollup-plugin-license": "^3.5.2",
"rollup-plugin-string": "^3.0.0",
"semver": "^7.6.2",
"shx": "^0.3.4",
Expand All @@ -194,16 +194,16 @@
"terser": "^5.31.1",
"tslib": "^2.6.3",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vitepress": "^1.2.3",
"vite": "^5.3.3",
"vitepress": "^1.3.0",
"vue": "^3.4.31",
"wasm-pack": "^0.13.0",
"yargs-parser": "^21.1.1"
},
"overrides": {
"axios": "^1.7.2",
"semver": "^7.6.2",
"ws": "^8.17.1"
"ws": "^8.18.0"
},
"overrides_comments": {
"ws": "mermaid requires an older 8.13.0 version via puppeteer with vulnerabilities"
Expand Down
81 changes: 41 additions & 40 deletions rust/Cargo.lock

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

8 changes: 4 additions & 4 deletions rust/parse_ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ edition = "2021"
[dependencies]
anyhow = "1.0.86"
swc_atoms = "0.6.7"
swc_compiler_base = "0.12.1"
swc_common = { version = "0.34.3", features = ["ahash", "parking_lot"] }
swc_ecma_ast = "0.115.1"
swc_ecma_parser = "0.146.8"
swc_compiler_base = "0.13.0"
swc_common = { version = "0.35.0", features = ["ahash", "parking_lot"] }
swc_ecma_ast = "0.116.0"
swc_ecma_parser = "0.147.0"
parking_lot = "0.12.3"
9 changes: 8 additions & 1 deletion rust/parse_ast/src/ast_nodes/identifier.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use swc_ecma_ast::{BindingIdent, Ident};
use swc_ecma_ast::{BindingIdent, Ident, IdentName};

use crate::convert_ast::converter::ast_constants::{
IDENTIFIER_NAME_OFFSET, IDENTIFIER_RESERVED_BYTES, TYPE_IDENTIFIER,
Expand Down Expand Up @@ -26,4 +26,11 @@ impl<'a> AstConverter<'a> {
&identifier.sym,
);
}
pub fn convert_identifier_name(&mut self, identifier: &IdentName) {
self.store_identifier(
identifier.span.lo.0 - 1,
identifier.span.hi.0 - 1,
&identifier.sym,
);
}
}
6 changes: 3 additions & 3 deletions rust/parse_ast/src/ast_nodes/member_expression.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use swc_common::Span;
use swc_ecma_ast::{
ComputedPropName, Expr, Ident, MemberExpr, MemberProp, PrivateName, Super, SuperProp,
ComputedPropName, Expr, IdentName, MemberExpr, MemberProp, PrivateName, Super, SuperProp,
SuperPropExpr,
};

Expand Down Expand Up @@ -53,7 +53,7 @@ impl<'a> AstConverter<'a> {
// property
self.update_reference_position(end_position + MEMBER_EXPRESSION_PROPERTY_OFFSET);
match property {
MemberOrSuperProp::Identifier(ident) => self.convert_identifier(ident),
MemberOrSuperProp::Identifier(ident) => self.convert_identifier_name(ident),
MemberOrSuperProp::Computed(computed) => {
self.convert_expression(&computed.expr);
}
Expand Down Expand Up @@ -99,7 +99,7 @@ impl<'a> AstConverter<'a> {
}

pub enum MemberOrSuperProp<'a> {
Identifier(&'a Ident),
Identifier(&'a IdentName),
PrivateName(&'a PrivateName),
Computed(&'a ComputedPropName),
}
Expand Down
2 changes: 1 addition & 1 deletion rust/parse_ast/src/ast_nodes/method_definition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl<'a> AstConverter<'a> {
}
PropOrPrivateName::PrivateName(private_name) => {
self.store_private_identifier(private_name);
private_name.id.span.hi.0 - 1
private_name.span.hi.0 - 1
}
};
// value
Expand Down
2 changes: 1 addition & 1 deletion rust/parse_ast/src/ast_nodes/private_identifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ impl<'a> AstConverter<'a> {
store_private_identifier!(
self,
span => &private_name.span,
name => &private_name.id.sym
name => &private_name.name
);
}
}
Loading

0 comments on commit 4f37dac

Please sign in to comment.