diff --git a/Cargo.lock b/Cargo.lock index a746cca..55c17b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -281,7 +281,7 @@ checksum = "7f222829ae9293e33a9f5e9f440c6760a3d450a64affe1846486b140db81c1f4" [[package]] name = "parcel_sourcemap" -version = "2.1.1" +version = "2.1.2" dependencies = [ "base64-simd", "data-url", @@ -293,7 +293,7 @@ dependencies = [ [[package]] name = "parcel_sourcemap_node" -version = "2.1.1" +version = "2.1.2" dependencies = [ "jemallocator", "napi", @@ -307,7 +307,7 @@ dependencies = [ [[package]] name = "parcel_sourcemap_wasm" -version = "2.1.1" +version = "2.1.2" dependencies = [ "js-sys", "parcel_sourcemap", diff --git a/package.json b/package.json index 150711d..383d183 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@parcel/source-map", - "version": "2.1.1", + "version": "2.1.2", "main": "./dist/node.js", "types": "index.d.ts", "license": "MIT", diff --git a/parcel_sourcemap/Cargo.toml b/parcel_sourcemap/Cargo.toml index b7edaf1..f4d0b07 100644 --- a/parcel_sourcemap/Cargo.toml +++ b/parcel_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "parcel_sourcemap" -version = "2.1.1" +version = "2.1.2" authors = [ "Jasper De Moor " ] edition = "2021" description = "Parcel Source Map Library" diff --git a/parcel_sourcemap/src/lib.rs b/parcel_sourcemap/src/lib.rs index 7d12607..6dc4f7a 100644 --- a/parcel_sourcemap/src/lib.rs +++ b/parcel_sourcemap/src/lib.rs @@ -460,7 +460,7 @@ impl SourceMap { } } - for (_generated_line, line_content) in self.inner.mapping_lines.iter_mut().enumerate() { + for line_content in self.inner.mapping_lines.iter_mut() { for mapping in line_content.mappings.iter_mut() { let original_location_option = &mut mapping.original; if let Some(original_location) = original_location_option { diff --git a/parcel_sourcemap_node/Cargo.toml b/parcel_sourcemap_node/Cargo.toml index 411d602..8f27ceb 100644 --- a/parcel_sourcemap_node/Cargo.toml +++ b/parcel_sourcemap_node/Cargo.toml @@ -2,7 +2,7 @@ authors = ["Jasper De Moor "] edition = "2021" name = "parcel_sourcemap_node" -version = "2.1.1" +version = "2.1.2" [lib] crate-type = ["cdylib"] diff --git a/parcel_sourcemap_wasm/Cargo.toml b/parcel_sourcemap_wasm/Cargo.toml index 5be74eb..4f365e7 100644 --- a/parcel_sourcemap_wasm/Cargo.toml +++ b/parcel_sourcemap_wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "parcel_sourcemap_wasm" -version = "2.1.1" +version = "2.1.2" authors = ["Jasper De Moor "] edition = "2021"