Socket
Socket
Sign inDemoInstall

cash-dom

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cash-dom - npm Package Versions

13
6

7.0.1

Diff

Changelog

Source

v7.0.1 (2020-04-15)

  • $.fn.css: added support for retrieving properties of disconnected nodes
fabiospampinato
published 7.0.0 •

Changelog

Source

v7.0.0 (2020-03-31)

  • focus|blur|mouseenter|mouseleave: ensuring namespaces are handled properly
  • focus|blur|mouseenter|mouseleave: aligned behavior more with jQuery
  • focus|blur|mouseenter|mouseleave: ensuring natively triggered events are handled properly
  • Migration guide: mentioning native non-bubbling events
fabiospampinato
published 6.0.2 •

Changelog

Source

v6.0.2 (2020-02-15)

  • Readme: improved comparison with jQuery, fixing some wrong/unfair comparisons/statements
  • Migration guide: mentioning sort order
  • $.fn.ready: ensuring the callback is called asynchronously and errors are not silenced
fabiospampinato
published 6.0.1 •

Changelog

Source

v6.0.1 (2020-01-05)

  • Ensuring events work with Document and Window objects
  • Ensuring "event.data" is setted reliably
fabiospampinato
published 6.0.0 •

Changelog

Source

v6.0.0 (2020-01-05)

Removed Features
  • $.camelCase|matches|isString|prefixedProp: no longer exposing these methods, aligning with jQuery
New Features
  • $.fn.nextUntil|prevUntil|parentsUntil: implemented these methods
  • $.fn.detach|remove: added support for an optional "selector" argument
  • $.fn.on|one: added support for an optional "data" argument
  • Set-up test coverage (currently at ~99%) reporting to coveralls.io
  • Migration guide: major update
Bug Fixes
  • $.extend: aligned more with jQuery when called with zero or one argument
  • $.fn.before|after|append|prepend|insertBefore|insertAfter|appendTo|prependTo: ensuring cloned scripts don't get executed
  • $.fn.contents: ensuring template elements are supported
  • $.fn.css: ensuring "grid-*" properties don't get the "px" suffix appended to their values when they are not supposed to
  • $.fn.data: doing nothing when trying to set values to undefined
  • $.fn.data: ensuring strings containing leading/trailing whitespace aren't parsed as JSON
  • $.fn.get|eq: ensuring string indexes are supported
  • $.fn.map: ensuring callbacks that return an array of elements are supported too
  • $.fn.offset|offsetParent|position: rewritten to much more closely match jQuery's implementation
  • $.fn.on|one|off: ensuring namespaces-only events are ignored
  • $.fn.on|one|off: ensuring they don't throw when receiving a falsy callback
  • $.fn.on|one: ensuring these methods are chainable even when receiving falsy callbacks
  • $.fn.prop|removeProp: mapping special HTML attributes into their equivalent DOM properties (e.g. "for" -> "htmlFor")
  • $.fn.ready: ensuring exceptions are always caught, so they can't crash the app
  • $.fn.serialize: normalizing newlines
  • $.fn.trigger: testing that non-nil falsy values are passed correctly
  • $.fn.unwrap: ensuring immediate children of the body don't get unwrapped
  • $.fn.val: ensuring checkboxes and radios can be set properly
  • $.fn.val: ensuring non-string values are supported
  • $.fn.val|html: more reliably detecting when being called with no arguments
  • $.fn.width|height|innerWidth|innerHeight|outerWidth|outerHeight: ensuring document objects are supported too
  • $.fn.width|height|innerWidth|innerHeight|outerWidth|outerHeight: ensuring they return the right value for the Window object
  • $.fn.wrapAll: ensuring elements aren't cloned unnecessarely
  • $.parseHTML: ensuring whitespace around a single HTML tag is preserved
  • Ensuring empty selectors don't throw an error
  • Collections containing non-element objects:
    • $.fn.addClass|removeClass|toggleClass: ensuring it doesn't throw with collections containing non-elements
    • $.fn.attr: ensuring a collection containing non-element objects doesn't cause an error to be thrown
    • $.fn.before|after|append|prepend|insertBefore|insertAfter|appendTo|prependTo: ensuring non-element nodes are accounted for properly
    • $.fn.hasClass: ensuring a collection containing non-element objects doesn't cause an error to be thrown
    • $.fn.hide|show|toggle: ensuring a collection containing non-element objects doesn't cause an error to be thrown
    • $.fn.html: ensuring collections containing non-element objects are supported
    • $.fn.not: ensuring non-element nodes are excluded
    • $.fn.on|off: ensuring non-element objects in the collection are ignored
    • $.fn.removeAttr: ensuring a collection containing non-element objects doesn't cause an error to be thrown
    • $.fn.text: improved support of collections containing non-elements objects
fabiospampinato
published 5.0.0 •

Changelog

Source

v5.0.0 (2019-12-17)

  • Dropped support for IE10
  • $.fn.hasClass: ensuring it always returns a boolean
  • $.fn.off: accepting also an events map as its only argument
  • $.fn.show|toggle: restoring custom display values
  • $.fn.before|after|append|prepend|insertBefore|insertAfter|appendTo|prependTo: ensuring multiple nodes are inserted in the correct order
  • Ensuring attached events never get forgotten
  • Ensuring script tags are executed even if they have a "src" attribute, and without using eval
  • Ensuring the order of event namespaces doesn't matter
  • Squeezed some more bytes out of the bundle (~4%) and improved code style consistency
  • Squeezed some more bytes out of the bundle (~1.5%), bringing back the minified and gzipped size below 5kb
fabiospampinato
published 4.1.5 •

Changelog

Source

v4.1.5 (2019-09-06)

  • $.fn.val: ensuring it works with "input[type=file][multiple]" elements
  • Migration guide: mentioning how $.fn.data stores values
fabiospampinato
published 4.1.4 •

Changelog

Source

v4.1.4 (2019-08-05)

  • $.fn.get: improved types
  • TypeScript: made types a little more forgiving
  • TypeScript: improved collections index signature
  • TypeScript: improved support for props/methods available only in specific HTML nodes
  • Added a guide for extending Cash
fabiospampinato
published 4.1.3 •

Changelog

Source

v4.1.3 (2019-07-13)

  • Ensuring Cash can be bundled correctly via webpack
  • $.fn.toggle: ensuring each element is toggled independently
  • TypeScript: ensuring some useful internal types are exported
  • TypeScript: made types a little more forgiving
fabiospampinato
published 4.1.2 •

Changelog

Source

v4.1.2 (2019-05-16)

  • Avoiding publishing unnecessary files to NPM
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