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

stencila-js

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stencila-js - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

package.json
{
"name": "stencila-js",
"version": "0.3.1",
"version": "0.3.2",
"description": "Stencila components for Javascript",

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

// So we can run tests in Node.js, when not in the browser, use a XMLHttpRequest emulator
let XHR
if (typeof window === 'undefined') {
var XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest
XHR = require('xmlhttprequest').XMLHttpRequest
} else {
XHR = XMLHttpRequest
}

@@ -31,3 +34,3 @@

} else {
let request = new XMLHttpRequest()
let request = new XHR()
request.open('GET', `https://wzrd.in/bundle/${id}/`, false)

@@ -34,0 +37,0 @@ request.send(null)

Sorry, the diff of this file is too big to display

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