@ndla/article-scripts
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -1,2 +0,2 @@ | ||
import throttle from 'lodash/throttle'; | ||
import { throttle } from 'lodash'; | ||
import { forEachElement } from './domHelpers'; | ||
@@ -3,0 +3,0 @@ |
@@ -8,8 +8,6 @@ "use strict"; | ||
var _throttle = _interopRequireDefault(require("lodash/throttle")); | ||
var _lodash = require("lodash"); | ||
var _domHelpers = require("./domHelpers"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
var hasScrollbar = function hasScrollbar(tableEl) { | ||
@@ -77,3 +75,3 @@ return tableEl.scrollWidth > tableEl.clientWidth; | ||
var throttledEventListner = (0, _throttle["default"])(eventListener, 100); | ||
var throttledEventListner = (0, _lodash.throttle)(eventListener, 100); | ||
@@ -80,0 +78,0 @@ var initTableScript = function initTableScript() { |
{ | ||
"name": "@ndla/article-scripts", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "A collection of functions for making article content responsive (and interactive)", | ||
@@ -22,6 +22,7 @@ "license": "GPL-3.0", | ||
"dependencies": { | ||
"@ndla/util": "^3.0.0", | ||
"@ndla/util": "^3.0.1", | ||
"focus-trap": "^6.7.3", | ||
"jump.js": "^1.0.2", | ||
"lodash": "^4.17.20" | ||
"lodash": "^4.17.20", | ||
"react-bem-helper": "^1.4.1" | ||
}, | ||
@@ -31,3 +32,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "765457c9aae617b16a3a17269f4e9401f70057cc" | ||
"gitHead": "1c8439d413eefda014a9438d78a34c1639194321" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
110203
5
1776
+ Addedreact-bem-helper@^1.4.1
+ Addedobject-assign@4.1.1(transitive)
+ Addedreact-bem-helper@1.4.1(transitive)
Updated@ndla/util@^3.0.1