New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jupyterlab/pdf-extension

Package Overview
Dependencies
Maintainers
21
Versions
345
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/pdf-extension - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0-alpha.0

12

lib/index.js

@@ -42,3 +42,3 @@ // Copyright (c) Jupyter Development Team.

await this._ready.promise;
let data = model.data[MIME_TYPE];
const data = model.data[MIME_TYPE];
if (!data ||

@@ -57,3 +57,3 @@ (data.length === this._base64.length && data === this._base64)) {

if (Private.IS_FIREFOX) {
this._object.data = this._object.data;
this._object.data = this._object.data; // eslint-disable-line
}

@@ -165,10 +165,10 @@ return Promise.resolve(void 0);

const byteCharacters = atob(b64Data);
let byteArrays = [];
const byteArrays = [];
for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {
let slice = byteCharacters.slice(offset, offset + sliceSize);
let byteNumbers = new Array(slice.length);
const slice = byteCharacters.slice(offset, offset + sliceSize);
const byteNumbers = new Array(slice.length);
for (let i = 0; i < slice.length; i++) {
byteNumbers[i] = slice.charCodeAt(i);
}
let byteArray = new Uint8Array(byteNumbers);
const byteArray = new Uint8Array(byteNumbers);
byteArrays.push(byteArray);

@@ -175,0 +175,0 @@ }

{
"name": "@jupyterlab/pdf-extension",
"version": "2.1.0",
"version": "2.2.0-alpha.0",
"description": "JupyterLab - PDF Viewer",

@@ -32,3 +32,3 @@ "homepage": "https://github.com/jupyterlab/jupyterlab",

"build": "tsc -b",
"clean": "rimraf lib",
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
"docs": "typedoc src",

@@ -39,3 +39,3 @@ "prepublishOnly": "npm run build",

"dependencies": {
"@jupyterlab/rendermime-interfaces": "^2.1.0",
"@jupyterlab/rendermime-interfaces": "^2.2.0-alpha.0",
"@lumino/coreutils": "^1.4.2",

@@ -47,4 +47,4 @@ "@lumino/disposable": "^1.3.5",

"rimraf": "~3.0.0",
"typedoc": "^0.15.4",
"typescript": "~3.7.3"
"typedoc": "^0.17.7",
"typescript": "~3.9.2"
},

@@ -57,3 +57,3 @@ "publishConfig": {

},
"gitHead": "b7e30bc29e545e412ff8b62a17d7478be1552a7e"
"gitHead": "d6772c788e019a1db5abcb2ea1b7d40d2d8916b4"
}

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