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

@ndla/article-scripts

Package Overview
Dependencies
Maintainers
10
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 2.0.0 to 2.0.1

2

es/figureScripts.js

@@ -99,2 +99,3 @@ /**

parentFigure.classList.add(target.dataset.classtype);
parentFigure.classList.remove('expanded');
delete target.dataset.expanded;

@@ -108,2 +109,3 @@ } else if (sourceTag) {

parentFigure.classList.remove(target.dataset.classtype);
parentFigure.classList.add('expanded');
target.classList.add("".concat(elClass, "--expanded"));

@@ -110,0 +112,0 @@ target.dataset.expanded = true;

@@ -117,2 +117,3 @@ "use strict";

parentFigure.classList.add(target.dataset.classtype);
parentFigure.classList.remove('expanded');
delete target.dataset.expanded;

@@ -126,2 +127,3 @@ } else if (sourceTag) {

parentFigure.classList.remove(target.dataset.classtype);
parentFigure.classList.add('expanded');
target.classList.add("".concat(elClass, "--expanded"));

@@ -128,0 +130,0 @@ target.dataset.expanded = true;

4

package.json
{
"name": "@ndla/article-scripts",
"version": "2.0.0",
"version": "2.0.1",
"description": "A collection of functions for making article content responsive (and interactive)",

@@ -30,3 +30,3 @@ "license": "GPL-3.0",

},
"gitHead": "1682299abb08592d13280c3447db580de9b52808"
"gitHead": "446ee979e3e2d3b9fb1236145817b67def9b86ef"
}
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