chore(napi-derive): pin minimum usable version of dependency syn (#1293)

This commit is contained in:
mat-if 2022-08-31 19:50:48 -07:00 committed by GitHub
parent 76fd7b7526
commit 26f6c926d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ type-def = ["regex", "once_cell"]
convert_case = "0.5" convert_case = "0.5"
proc-macro2 = "1" proc-macro2 = "1"
quote = "1" quote = "1"
syn = { version = "1", features = ["fold", "full", "extra-traits"] } syn = { version = "1.0.61", features = ["fold", "full", "extra-traits"] }
[dependencies.regex] [dependencies.regex]
optional = true optional = true

View file

@ -26,7 +26,7 @@ convert_case = "0.5"
napi-derive-backend = { version = "1.0.37", path = "../backend" } napi-derive-backend = { version = "1.0.37", path = "../backend" }
proc-macro2 = "1.0" proc-macro2 = "1.0"
quote = "1.0" quote = "1.0"
syn = { version = "1.0", features = ["fold", "full", "extra-traits"] } syn = { version = "1.0.61", features = ["fold", "full", "extra-traits"] }
[lib] [lib]
proc-macro = true proc-macro = true