@cloro-dev/response-parser 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -238,6 +238,10 @@ The core parsing logic is identical - you just need to handle the HTML rendering
|
|
|
238
238
|
|
|
239
239
|
## What's Changed
|
|
240
240
|
|
|
241
|
+
### v0.5.3
|
|
242
|
+
|
|
243
|
+
- First release from the Publish workflow, with npm Trusted Publishing and provenance. No library changes
|
|
244
|
+
|
|
241
245
|
### v0.5.2
|
|
242
246
|
|
|
243
247
|
- ✅ **Fixed** The README said that the parser sanitizes HTML. It removes only `<script>` and `<noscript>` elements. A new Security note tells you to sanitize untrusted HTML before you render it
|
|
@@ -342,33 +346,19 @@ pnpm lint
|
|
|
342
346
|
|
|
343
347
|
## Release
|
|
344
348
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
```bash
|
|
348
|
-
npm login
|
|
349
|
-
```
|
|
350
|
-
|
|
351
|
-
2. Run the checks and the build:
|
|
349
|
+
The [Publish workflow](.github/workflows/publish.yml) publishes the package to npm when a version tag is pushed. It uses npm Trusted Publishing, so you do not need to log in to npm.
|
|
352
350
|
|
|
353
|
-
|
|
354
|
-
pnpm type-check && pnpm lint && pnpm build
|
|
355
|
-
```
|
|
356
|
-
|
|
357
|
-
3. Increase the version. This changes `package.json` and creates a git commit and tag:
|
|
358
|
-
|
|
359
|
-
```bash
|
|
360
|
-
npm version patch # 0.4.5 → 0.4.6
|
|
361
|
-
npm version minor # 0.4.5 → 0.5.0
|
|
362
|
-
npm version major # 0.4.5 → 1.0.0
|
|
363
|
-
```
|
|
351
|
+
1. Add an entry under "What's Changed".
|
|
364
352
|
|
|
365
|
-
|
|
353
|
+
2. Increase the version. This changes `package.json` and creates a git commit and a `v` tag:
|
|
366
354
|
|
|
367
355
|
```bash
|
|
368
|
-
npm
|
|
356
|
+
npm version patch # 0.5.2 → 0.5.3
|
|
357
|
+
npm version minor # 0.5.2 → 0.6.0
|
|
358
|
+
npm version major # 0.5.2 → 1.0.0
|
|
369
359
|
```
|
|
370
360
|
|
|
371
|
-
|
|
361
|
+
3. Push the commit and the tag. The workflow type-checks, lints, builds and publishes:
|
|
372
362
|
|
|
373
363
|
```bash
|
|
374
364
|
git push --follow-tags
|