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

d_js

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d_js - npm Package Versions

2.2.0

Diff

Changelog

Source

2.2.0 - 2017-11-06

Added

  • If the second argument of d.data() is an array of keys, returns an object with all {key: value}
  • If the second argument of d.data() is undefined, returns an object with all values
oscarotero
published 2.1.0 •

Changelog

Source

2.1.0 - 2017-10-20

Added

  • Restore the second argument in d.get() and d.getAll() to define a context
  • Added a polyfill to :scope selector
oscarotero
published 2.0.1 •

Changelog

Source

2.0.1 - 2017-08-04

Fixed

  • Fixed Element.prototype.closest.
oscarotero
published 2.0.0 •

Changelog

Source

2.0.0 - 2017-08-04

Added

  • Added a polyfill to Element.prototype.closest
  • Added a polyfill to Element.prototype.replaceWith
  • Added a polyfill to NodeList.prototype.forEach

Removed

  • Drop support for IE10
  • Drop dist folder
  • Removed d.is() and implemented a polyfill for Element.prototype.matches instead.
  • Removed d.remove() and implemented a polyfill for Element.prototype.remove instead.
  • Removed d.append() and implemented a polyfill for Element.prototype.append instead.
  • Removed d.prepend() and implemented a polyfill for Element.prototype.prepend instead.
  • Removed d.insertBefore() and implemented a polyfill for Element.prototype.before instead.
  • Removed d.insertAfter() and implemented a polyfill for Element.prototype.after instead.
  • Removed the ability to create instances to chain functions

Changed

  • d.getAll() returns a NodeList, instead an array
  • d.parse() returns a documentFragment, instead an array

Fixed

  • Fixed custom events in IE
oscarotero
published 1.10.0 •

Changelog

Source

1.10.0 - 2017-07-20

Added

  • The callback of d.delegate() includes a second argument with the target.

Removed

  • Removed code for Opera 11.5 compatibility.
oscarotero
published 1.9.0 •

Changelog

Source

1.9.0 - 2017-04-19

Removed

  • Removed the functions d.getData() and d.setData().

Added

  • New function d.data() to set/get data
  • Added .data() to the prototype

Fixed

  • Fixed d.delegate() with custom events
oscarotero
published 1.8.0 •

Changelog

Source

1.8.0 - 2017-04-17

  • New functions d.getData() and d.setData().
oscarotero
published 1.7.0 •

Changelog

Source

1.7.0 - 2017-04-12

Added

  • New function d.siblings()
oscarotero
published 1.6.0 •

Changelog

Source

1.6.0 - 2017-02-24

Changed

  • Removed the second argument of d.get and d.getAll (to select the context). Now you have to use a plain object. For example: d.get({'li': document}). This allows to use context in other functions like d.on, d.insertAfterTo, etc...
oscarotero
published 1.5.0 •

Changelog

Source

1.5.0 - 2017-01-10

Added

  • New function d.delegate()
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