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

@nteract/mathjax

Package Overview
Dependencies
Maintainers
9
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nteract/mathjax - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

8

lib/load-script.js
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.load = load;
// Extracted from https://github.com/eldargab/load-script

@@ -78,2 +84,2 @@

module.exports = load;
exports.default = load;

5

lib/text.js

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

});
var _jsxFileName = "src/text.js";

@@ -70,6 +69,2 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

_this2.el = el;
},
__source: {
fileName: _jsxFileName,
lineNumber: 30
}

@@ -76,0 +71,0 @@ },

{
"name": "@nteract/mathjax",
"version": "1.0.0",
"version": "2.0.0",
"description": "React components for MathJax",

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

@@ -23,3 +23,3 @@ // @flow

function load(src: string, opts: ?Options | ?Callback, cb: ?Callback) {
export function load(src: string, opts: ?Options | ?Callback, cb: ?Callback) {
var head = document.head || document.getElementsByTagName("head")[0];

@@ -89,2 +89,2 @@ var script = document.createElement("script");

module.exports = load;
export default load;

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