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

rx-jupyter

Package Overview
Dependencies
Maintainers
16
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rx-jupyter - npm Package Compare versions

Comparing version 5.4.4 to 5.4.5-alpha.0

tsconfig.tsbuildinfo

6

lib/base.js

@@ -29,3 +29,3 @@ "use strict";

const xsrfToken = serverConfig.xsrfToken || js_cookie_1.default.get("_xsrf");
const headers = Object.assign({}, (xsrfToken && { "X-XSRFToken": xsrfToken }), (serverConfig.token && {
const headers = Object.assign(Object.assign({}, (xsrfToken && { "X-XSRFToken": xsrfToken })), (serverConfig.token && {
Authorization: `token ${serverConfig.token}`

@@ -35,5 +35,5 @@ }));

// options like the method
const settings = Object.assign({ url, responseType: "json", createXHR: () => new XMLHttpRequest() }, serverConfig, serverConfig.ajaxOptions, opts, {
const settings = Object.assign(Object.assign(Object.assign(Object.assign({ url, responseType: "json", createXHR: () => new XMLHttpRequest() }, serverConfig), serverConfig.ajaxOptions), opts), {
// Make sure we merge in the auth headers with user given headers
headers: Object.assign({}, headers, opts.headers, (serverConfig.ajaxOptions && serverConfig.ajaxOptions.headers)) });
headers: Object.assign(Object.assign(Object.assign({}, headers), opts.headers), (serverConfig.ajaxOptions && serverConfig.ajaxOptions.headers)) });
delete settings.endpoint;

@@ -40,0 +40,0 @@ delete settings.cache;

@@ -10,3 +10,3 @@ "use strict";

const base_1 = require("./base");
const formURI = (path) => url_join_1.default("/api/bookstore/published", path);
const formURI = (path) => url_join_1.default("/api/bookstore/publish", path);
/**

@@ -13,0 +13,0 @@ * Creates an AjaxObservable for publishing content to `Bookstore`

@@ -120,3 +120,3 @@ "use strict";

if (typeof message === "object") {
const sessionizedMessage = Object.assign({}, message, { header: Object.assign({ session: sessionID }, message.header) });
const sessionizedMessage = Object.assign(Object.assign({}, message), { header: Object.assign({ session: sessionID }, message.header) });
wsSubject.next(sessionizedMessage);

@@ -123,0 +123,0 @@ }

{
"name": "rx-jupyter",
"version": "5.4.4",
"version": "5.4.5-alpha.0",
"description": "RxJS 5 bindings for the Jupyter Notebook API",

@@ -21,4 +21,4 @@ "main": "lib/index.js",

"dependencies": {
"@nteract/commutable": "^7.1.4",
"@nteract/messaging": "^6.1.7",
"@nteract/commutable": "^7.1.5-alpha.0",
"@nteract/messaging": "^6.2.0-alpha.0",
"@types/ungap__url-search-params": "^0.1.0",

@@ -31,7 +31,7 @@ "@ungap/url-search-params": "^0.1.2",

"devDependencies": {
"@nteract/types": "^4.4.1",
"@nteract/types": "^4.4.2-alpha.0",
"@types/js-cookie": "^2.2.0",
"@types/url-join": "^4.0.0"
},
"gitHead": "f3fea3654283b9b1aca49797865f5e290e4958f8"
"gitHead": "19828c803e8971fb4dfd1689982ba7c0dbb09c6a"
}

@@ -10,3 +10,3 @@ // Vendor modules

const formURI = (path: string) => urljoin("/api/bookstore/published", path);
const formURI = (path: string) => urljoin("/api/bookstore/publish", path);

@@ -13,0 +13,0 @@ /**

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