Socket
Socket
Sign inDemoInstall

typeson

Package Overview
Dependencies
0
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous13456Next

6.1.0

Diff

Changelog

Source

6.1.0

User-facing

  • Enhancement: Adds Typeson.Promise.allSettled utility for parity with other Promise methods

Dev-facing

  • npm: Switch to pnpm
  • npm: Update devDeps.
brettz9
published 6.0.0 •

Changelog

Source

6.0.0

User-facing

  • Breaking change: Drop peerDeps (core-js-bundle, regenerator-runtime) and avoid need for regenerator-runtime
  • Docs: Corrected typo (@stephanemagnenat)

Dev-facing

  • Linting: Lint per lasest ash-nazg; lint hidden file
  • Build: Use "json" extension on RC file; indicate default exports for Rollup
  • Editorconfig: Enforce JSON spacing
  • Testing: Remove need for bootstrap file
  • npm: Add coverage in main test script
  • npm: Switch to server without reported vulnerabilities (http-server)
  • npm: Replace deprecated rollup-plugin-babel with @rollup/plugin-babel and make babelHelpers bundled value explicit
  • npm: Update devDeps (including changing updated ash-nazg peerDeps.)
brettz9
published 5.18.2 •

Changelog

Source

5.18.2

  • Fix: Avoid treating recurring primitive values as cyclic
  • Linting (ESLint): As per latest ash-nazg
  • npm: Bump devDeps, peerDeps
brettz9
published 5.18.1 •

Changelog

Source

5.18.1

  • npm: Bumped version as package not seeming to be available for download despite being published
brettz9
published 5.18.0 •

Changelog

Source

5.18.0

  • Enhancement: Allow TypesonPromise all and race to work with non-TypesonPromise
  • Fix: Allow nested plain objects to async revive
  • Fix: Have empty keypath at very front, but nested first otherwise
  • Fix: Nested Undefined
  • Fix: Avoid recursion if undefined or NaN/Infinity/-Infiinity values return the same
  • Fix: Ensure iterateIn array can have async setting
  • Testing: Coverage, Intermediate async types
  • Docs: Document removing a previously registered spec; update/clarify hasConstructorOf null behavior
brettz9
published 5.17.0 •

Changelog

Source

5.17.0

  • Fix: Restore old behavior of nullish spec potentially replacing
  • Enhancement: Allow nullifying previous testPlainObjects specs (by absence of test)
  • npm: Bump devDep.
brettz9
published 5.16.0 •

Changelog

Source

5.16.0

  • Fix: When checking for "null" constructor, return true if object created by Object.create(null). This fix only impacts direct use of Typeson.hasConstructorOf. When internally used in Typeson (or typeson-registry), it never uses a null second argument.
  • Fix: Throw proper error upon missing reviver
  • Fix: Ensure nullish spec is silently ignored
  • Fix: Ensure sorting more nested paths first
  • Enhancement: Add engines (also used in Unicorn linting rule)
  • Testing: Coverage improvements; use mocha and chai
  • npm: Split up browser testing to two scripts
  • npm: Update devDeps, peerDep (core-js-bundle)
brettz9
published 5.15.0 •

Changelog

Source

5.15.0

  • Enhancement: Allow cloning during encapsulation of (non-registered) classes using Symbol.toStringTag (#17)
brettz9
published 5.14.1 •

Changelog

Source

5.14.1

  • Fix: Ensure pointing to existent main CJS file (minified)
brettz9
published 5.14.0 •

Changelog

Source

5.14.0

  • Fix: Ensure this is defined with old-style function-based type specs
  • Fix: Ensure Undefined and TypesonPromise revivers are correctly detected (independent of minification or Babelification).
  • Linting (ESLint): Switch to more rigorous config (ash-nazg); jsdoc, etc.
  • Linting (ESLint): add any html to linting
  • Maintenance: Add .editorconfig
  • Testing: Add coverage
  • npm: Update devDeps/peerDeps
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc