Socket
Socket
Sign inDemoInstall

morphdom

Package Overview
Dependencies
0
Maintainers
6
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous123567Next

2.1.0

Diff

Changelog

Source

2.1.0

  • Added simple mechanism to support using cached nodes (Pull Request #81 by @AutoSponge)
  • Added support for diffing a real DOM tree with a virtual DOM tree. See: ./docs/virtual-dom.md
pnidem
published 2.0.4 •

pnidem
published 2.0.3 •

pnidem
published 2.0.2 •

Changelog

Source

2.0.2

  • Fixed #78 - Elements under onBeforeElChildrenUpdated element removed if they have id set
pnidem
published 2.0.1 •

Changelog

Source

2.0.1

  • Small optimization and more tests
pnidem
published 2.0.0 •

Changelog

Source

2.0.0

  • Fixed #47 - Detect and handle reorder of siblings
  • onNodeAdded is now called for all on child nodes and not just the root node (closes PR #57)
  • Simplified code and reduced overall code size
  • NOTE: Performance is about the same or slightly better than the previous version of morphdom based on benchmarks
  • Added examples:./examples/
Breaking changes
  • onNodeAdded is now called for all on child nodes (not just the root node)
  • Removed options:
    • onBeforeMorphEl (use onBeforeElUpdated instead)
    • onBeforeMorphElChildren (use onBeforeElChildrenUpdated instead)

1.x

pnidem
published 1.4.6 •

Changelog

Source

1.4.6

  • Fixes #71 - form elements lose class when removing name attribute in MSIE 8-11 and MS Edge (PR #73 by @karfcz)
pnidem
published 1.4.5 •

Changelog

Source

1.4.5

  • onNodeDiscarded is now correctly called when tag name mismatch for keyed el
pnidem
published 1.4.4 •

Changelog

Source

1.4.4

  • Fixes #72 - Compare tag name when matching els by ID
pnidem
published 1.4.3 •

Changelog

Source

1.4.3

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