[PR #2760] [CLOSED] build(deps): bump lossless-json from 1.0.5 to 2.0.1 #4048

Closed
opened 2026-03-17 01:36:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2760
Author: @dependabot[bot]
Created: 10/10/2022
Status: Closed

Base: mainHead: dependabot/npm_and_yarn/lossless-json-2.0.1


📝 Commits (1)

  • 3b203b1 build(deps): bump lossless-json from 1.0.5 to 2.0.1

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/hoppscotch-app/package.json (+1 -1)

📄 Description

Bumps lossless-json from 1.0.5 to 2.0.1.

Changelog

Sourced from lossless-json's changelog.

2022-10-03, version 2.0.1

  • Fix: configure exports in package.json to fix problems with Jest (#243). Thanks @​akphi.

2022-09-28, version 2.0.0

IMPORTANT: BREAKING CHANGES

Breaking changes:

  • Function parse now throws an error when a duplicate key is encountered.
  • Dropped support for circular references. If you encounter circular references in your data structures, please rethink your datastructures: better prevent circular references in the first place.
  • The constructor of the LosslessNumber class now only supports a string as argument. Use toLosslessNumber to convert a number into a LosslessNumber in a safe way.
  • Dropped the undocumented property .type on LosslessNumber instances. Please use .isLosslessNumber instead.
  • Dropped official support for Node.js 12.

Non-breaking changes:

  • Serialization of numeric values is now fully customizable via new options parseNumber and numberStringifiers, making it easier to integrate with a BigNumber library, or to write your own logic to turn numeric values into bigint when needed.
  • Built in support for bigint.
  • Built-in support for Date (turned off by default), see reviveDate.
  • Export a set of utility functions: isInteger, isNumber, isSafeNumber, toSafeNumberOrThrow, getUnsafeNumberReason, parseLosslessNumber, parseNumberAndBigInt, reviveDate, isLosslessNumber, toLosslessNumber.
  • THe library is modular now: it exports ES modules and an UMD bundle. The ES modules allow to import only the functions that you need, instead of pulling in the full bundle.
  • The library now comes with TypeScript definitions, and the code has been rewritten in TypeScript,
  • Performance of both parse and stringify has been improved a lot.
Commits
  • ad005fb chore: publish v2.0.1
  • d1b7f49 fix: configure exports in package.json to fix problems with Jest (#243)
  • a0b6406 configure exports in package.json
  • 1d862bd chore: update comment
  • eec6a5d docs: add link to indepth article about JSON.parse and large numbers
  • 73a7b61 docs: change long numeric value in examples
  • 5d92820 chore: publish v2.0.0
  • 02fb25b chore: update all devDependencies
  • 95987d0 fix: broken ESM browser example
  • 854ebd5 fix: types not exported, needed to export via index.ts
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/2760 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 10/10/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/lossless-json-2.0.1` --- ### 📝 Commits (1) - [`3b203b1`](https://github.com/hoppscotch/hoppscotch/commit/3b203b16f11511881d8eb074cfb6199b52c64dd1) build(deps): bump lossless-json from 1.0.5 to 2.0.1 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-app/package.json` (+1 -1) </details> ### 📄 Description Bumps [lossless-json](https://github.com/josdejong/lossless-json) from 1.0.5 to 2.0.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/josdejong/lossless-json/blob/develop/HISTORY.md">lossless-json's changelog</a>.</em></p> <blockquote> <h2>2022-10-03, version 2.0.1</h2> <ul> <li>Fix: configure <code>exports</code> in <code>package.json</code> to fix problems with Jest (<a href="https://github-redirect.dependabot.com/josdejong/lossless-json/issues/243">#243</a>). Thanks <a href="https://github.com/akphi"><code>@​akphi</code></a>.</li> </ul> <h2>2022-09-28, version 2.0.0</h2> <p><strong>IMPORTANT: BREAKING CHANGES</strong></p> <p>Breaking changes:</p> <ul> <li>Function <code>parse</code> now throws an error when a duplicate key is encountered.</li> <li>Dropped support for circular references. If you encounter circular references in your data structures, please rethink your datastructures: better prevent circular references in the first place.</li> <li>The constructor of the <code>LosslessNumber</code> class now only supports a string as argument. Use <code>toLosslessNumber</code> to convert a number into a LosslessNumber in a safe way.</li> <li>Dropped the undocumented property <code>.type</code> on <code>LosslessNumber</code> instances. Please use <code>.isLosslessNumber</code> instead.</li> <li>Dropped official support for Node.js 12.</li> </ul> <p>Non-breaking changes:</p> <ul> <li>Serialization of numeric values is now fully customizable via new options <code>parseNumber</code> and <code>numberStringifiers</code>, making it easier to integrate with a BigNumber library, or to write your own logic to turn numeric values into <code>bigint</code> when needed.</li> <li>Built in support for <code>bigint</code>.</li> <li>Built-in support for <code>Date</code> (turned off by default), see <code>reviveDate</code>.</li> <li>Export a set of utility functions: <code>isInteger</code>, <code>isNumber</code>, <code>isSafeNumber</code>, <code>toSafeNumberOrThrow</code>, <code>getUnsafeNumberReason</code>, <code>parseLosslessNumber</code>, <code>parseNumberAndBigInt</code>, <code>reviveDate</code>, <code>isLosslessNumber</code>, <code>toLosslessNumber</code>.</li> <li>THe library is modular now: it exports ES modules and an UMD bundle. The ES modules allow to import only the functions that you need, instead of pulling in the full bundle.</li> <li>The library now comes with TypeScript definitions, and the code has been rewritten in TypeScript,</li> <li>Performance of both <code>parse</code> and <code>stringify</code> has been improved a lot.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/josdejong/lossless-json/commit/ad005fb2422d52d75e2f9f27d053a70da16147ea"><code>ad005fb</code></a> chore: publish v2.0.1</li> <li><a href="https://github.com/josdejong/lossless-json/commit/d1b7f49643fc90f3a4e447878533ce3477366189"><code>d1b7f49</code></a> fix: configure <code>exports</code> in <code>package.json</code> to fix problems with Jest (<a href="https://github-redirect.dependabot.com/josdejong/lossless-json/issues/243">#243</a>)</li> <li><a href="https://github.com/josdejong/lossless-json/commit/a0b6406133767cf8e342f24e86c230d7d0e1209f"><code>a0b6406</code></a> configure exports in package.json</li> <li><a href="https://github.com/josdejong/lossless-json/commit/1d862bd6590a637e3e2b50f6fd1393efd85993bd"><code>1d862bd</code></a> chore: update comment</li> <li><a href="https://github.com/josdejong/lossless-json/commit/eec6a5dc21103f60eafda476e59a747f87569943"><code>eec6a5d</code></a> docs: add link to indepth article about JSON.parse and large numbers</li> <li><a href="https://github.com/josdejong/lossless-json/commit/73a7b61ddcfd3d65b04ef7437d6a4a6ae430e160"><code>73a7b61</code></a> docs: change long numeric value in examples</li> <li><a href="https://github.com/josdejong/lossless-json/commit/5d92820eff927808b70072916257455b088ed719"><code>5d92820</code></a> chore: publish v2.0.0</li> <li><a href="https://github.com/josdejong/lossless-json/commit/02fb25bb69628e658f3cceb82ec559fb1500b20c"><code>02fb25b</code></a> chore: update all devDependencies</li> <li><a href="https://github.com/josdejong/lossless-json/commit/95987d0610e8661ce8120d58e212f942a9981e80"><code>95987d0</code></a> fix: broken ESM browser example</li> <li><a href="https://github.com/josdejong/lossless-json/commit/854ebd55f9333bb05d6a72dc100c78e4452844d7"><code>854ebd5</code></a> fix: types not exported, needed to export via index.ts</li> <li>Additional commits viewable in <a href="https://github.com/josdejong/lossless-json/compare/v1.0.5...v2.0.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=lossless-json&package-manager=npm_and_yarn&previous-version=1.0.5&new-version=2.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:36:43 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4048
No description provided.