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

angular-es-utils

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-es-utils - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

4

lib/animation/index.js

@@ -28,6 +28,8 @@ /**

var EVENTS = [ANIMATIONEND_EVENT, TRANSITIONEND_EVENT].join(' ').split(' ');
var noop = function noop() {};
exports['default'] = {
addClass: function addClass(element, className, doneHook) {
addClass: function addClass(element, className) {
var doneHook = arguments.length <= 2 || arguments[2] === undefined ? noop : arguments[2];
var autoRemove = arguments.length <= 3 || arguments[3] === undefined ? false : arguments[3];

@@ -34,0 +36,0 @@

{
"name": "angular-es-utils",
"version": "1.0.10",
"version": "1.0.11",
"description": "es utils design for angular1.x",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -22,6 +22,7 @@ /**

const EVENTS = [ANIMATIONEND_EVENT, TRANSITIONEND_EVENT].join(' ').split(' ');
const noop = () => {};
export default {
addClass: (element, className, doneHook, autoRemove = false) => {
addClass: (element, className, doneHook = noop, autoRemove = false) => {
element.classList.add(className);

@@ -28,0 +29,0 @@ EVENTS.forEach(event => {

Sorry, the diff of this file is not supported yet

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