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

@internetarchive/bookreader

Package Overview
Dependencies
Maintainers
18
Versions
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@internetarchive/bookreader - npm Package Compare versions

Comparing version 5.0.0-73-alpha2 to 5.0.0-74-alpha

4

package.json
{
"name": "@internetarchive/bookreader",
"version": "5.0.0-73-alpha2",
"version": "5.0.0-74-alpha",
"description": "The Internet Archive BookReader.",

@@ -29,3 +29,3 @@ "repository": {

"@internetarchive/ia-activity-indicator": "^0.0.4",
"@internetarchive/ia-item-navigator": "^2.0.3-alpha2",
"@internetarchive/ia-item-navigator": "^2.0.3",
"@internetarchive/icon-bookmark": "^1.3.4",

@@ -32,0 +32,0 @@ "@internetarchive/icon-dl": "^1.3.4",

@@ -70,2 +70,3 @@ // eslint-disable-next-line no-unused-vars

*/
'chapters',
'fullscreen',

@@ -363,3 +364,2 @@ 'volumes',

this.menuShortcuts.push(this.menuProviders[menuId]);
this.sortMenuShortcuts();

@@ -366,0 +366,0 @@ this.emitMenuShortcutsUpdated();

@@ -79,2 +79,3 @@ /* global BookReader */

};
shell.addMenuShortcut('chapters');
shell.updateMenuContents();

@@ -81,0 +82,0 @@ this._tocEntries.forEach((tocEntry, i) => this._chaptersRenderMarker(tocEntry, i));

@@ -323,6 +323,7 @@ import {

const el = fixtureSync(container());
expect(el.shortcutOrder[0]).toEqual('fullscreen');
expect(el.shortcutOrder[1]).toEqual('volumes');
expect(el.shortcutOrder[2]).toEqual('search');
expect(el.shortcutOrder[3]).toEqual('bookmarks');
expect(el.shortcutOrder[0]).toEqual('chapters');
expect(el.shortcutOrder[1]).toEqual('fullscreen');
expect(el.shortcutOrder[2]).toEqual('volumes');
expect(el.shortcutOrder[3]).toEqual('search');
expect(el.shortcutOrder[4]).toEqual('bookmarks');
});

@@ -329,0 +330,0 @@ });

@@ -161,2 +161,3 @@ import sinon from "sinon";

updateMenuContents: sinon.stub(),
addMenuShortcut: sinon.stub()
}

@@ -167,2 +168,3 @@ };

expect(fakeBR.shell.updateMenuContents.callCount).toBe(1);
expect(fakeBR.shell.addMenuShortcut.callCount).toBe(1);
expect(fakeBR._chaptersRenderMarker.callCount).toBeGreaterThan(1);

@@ -169,0 +171,0 @@ });

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

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