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

@ndla/article-scripts

Package Overview
Dependencies
Maintainers
7
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ndla/article-scripts - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

es/tableScripts.js

@@ -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"
}
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