From 25c37277886694ffa473820d38a364ca7f87dd4e Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Wed, 1 Mar 2023 22:04:57 -0500 Subject: [PATCH] fix(compress-stringify): README badge escape for @itk-wasm org --- packages/compress-stringify/typescript/README.md | 2 +- packages/compress-stringify/typescript/package.json | 2 +- src/bindgen/typescript.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/compress-stringify/typescript/README.md b/packages/compress-stringify/typescript/README.md index a480b0621..7bf85d88a 100644 --- a/packages/compress-stringify/typescript/README.md +++ b/packages/compress-stringify/typescript/README.md @@ -1,6 +1,6 @@ # @itk-wasm/compress-stringify -[![npm version](https://badge.fury.io/js/@itk-wasm/compress-stringify.svg)](https://www.npmjs.com/package/@itk-wasm/compress-stringify) +[![npm version](https://badge.fury.io/js/@itk-wasm%2Fcompress-stringify.svg)](https://www.npmjs.com/package/@itk-wasm/compress-stringify) Zstandard compression and decompression and base64 encoding and decoding in WebAssembly. diff --git a/packages/compress-stringify/typescript/package.json b/packages/compress-stringify/typescript/package.json index 7b8dbd445..3a572370f 100644 --- a/packages/compress-stringify/typescript/package.json +++ b/packages/compress-stringify/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@itk-wasm/compress-stringify", - "version": "0.4.0", + "version": "0.4.1", "description": "Zstandard compression and decompression and base64 encoding and decoding in WebAssembly.", "type": "module", "module": "./dist/bundles/@itk-wasm/compress-stringify.js", diff --git a/src/bindgen/typescript.js b/src/bindgen/typescript.js index e239e933b..b545b3f81 100644 --- a/src/bindgen/typescript.js +++ b/src/bindgen/typescript.js @@ -533,7 +533,7 @@ function bindgen (outputDir, buildDir, filteredWasmBinaries, options) { let readme = '' const packageName = options.packageName readme += `# ${packageName}\n` - readme += `\n[![npm version](https://badge.fury.io/js/${packageName}.svg)](https://www.npmjs.com/package/${packageName})\n` + readme += `\n[![npm version](https://badge.fury.io/js/${packageName.replace('/', '%2F')}.svg)](https://www.npmjs.com/package/${packageName})\n` readme += `\n${options.packageDescription}\n` readme += `\n## Installation\n \`\`\`sh