Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typeson

Package Overview
Dependencies
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typeson - npm Package Versions

1
6

5.13.0

Diff

Changelog

Source

5.13.0

  • Enhancement: Add ESM dist format (and use in test and package.json); provide non-minified versions
  • Testing: Avoid need for build file (use esm and relative path for browser test)
  • npm: Indicate core-js-bundle and regenerator-runtime as peerDependencies (and devDeps) in place of deprecated @babel/polyfill
  • npm: Update opn-cli -> open-cli; update devDeps; remove now unused rollup-plugin-node-resolve
brettz9
published 5.12.0 •

Changelog

Source

5.12.0

  • Linting (ESLint): Update polyfills for compat plugin
  • npm: Update devDeps, including Babel potentially impacting build
brettz9
published 5.11.1 •

Changelog

Source

5.11.1

  • Fix: Sorting issue with plain object revivers (lgtm.com-inspired fix)
  • Refactoring: Avoid useless check (lgtm.com-inspired change)
brettz9
published 5.11.0 •

Changelog

Source

5.11.0

  • Fix: Ensure testPlainObjects are revived before reference resolution and setting (and before other types) so that objects-to-arrays will be properly referenced in all cases and can thus preserve non-index array properties (fixes #9)
  • Fix: Allow iterateIn === 'object to override array and create object from array
  • Fix (reviveAsync): Wait until all TypesonPromises resolve (no tests still)
  • Enhancement: Add state object option to auto-copy array length onto array-like object clone
  • Optimization: Avoid passing around (unchanging) opts within inner revive handling
  • Refactoring: Object property shorthand; avoid shadowing; make return explicit; use slice over substr
  • Docs: Further JSDoc
  • Testing: Report total passed
  • Testing (fix): Ensure using @babel/polyfill
  • npm/yarn: Update devDep
  • npm: Add yarn to prepublishOnly to ensure stays up to date with npm package-lock.json
brettz9
published 5.10.1 •

Changelog

Source

5.10.1

  • yarn: Update yarn.lock
brettz9
published 5.10.0 •

Changelog

Source

5.10.0

  • Fix: Give string tag to TypesonPromise to prevent it from passing isUserObject
  • Linting (Markdown): Update per newer API
  • npm: Update devDeps
brettz9
published 5.9.0 •

Changelog

Source

5.9.0

  • Linting (ESLint): Remove unused file from ignore; apply script to whole repo save ignore file; override new "standard" rule with own "object-curly-spacing"; avoid Node-11-deprecated url.parse
  • Linting (ESLint): Actually use compat plugin (identifies need for promises and URL polyfills as a minimum on some older browsers to get full browser coverage)
  • Refactoring: Use object shorthand, destructuring
  • Build (Rollup): Switch to terser for minification; avoid plugins where not needed
  • npm: Update to Babel 7; update other devDeps; switch to base64-arraybuffer-es6
brettz9
published 5.8.2 •

Changelog

Source

5.8.2

  • Fix: Ensure deleted state object properties are restored
  • npm: Update devDeps
brettz9
published 5.8.1 •

Changelog

Source

5.8.1

  • Yarn: Update yarn.lock
  • npm: Add package-lock.json
brettz9
published 5.8.0 •

Changelog

Source

5.8.0

  • Enhancement: Except for type and replaced states, preserve state object keys (including user-supplied ones) within replacers; add tests
  • Enhancement: Pass a state object as the second argument to revivers; add tests
  • npm: Update devDeps
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc