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

vivliostyle

Package Overview
Dependencies
Maintainers
2
Versions
431
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vivliostyle - npm Package Versions

1
44

2019.1.103-pre.20190307025044

Diff

mshinyu
published 2019.1.103-pre.20190306161031 •

mshinyu
published 2019.1.103-pre.20190306155748 •

mshinyu
published 2019.1.103-pre.20190306144520 •

mshinyu
published 2019.1.103-pre.20190305085806 •

mshinyu
published 2019.1.102 •

Changelog

Source

2019.1.102 - 2019-03-04

Fixed

mshinyu
published 2019.1.102-pre.20190304092017 •

mshinyu
published 2019.1.102-pre.20190304073822 •

mshinyu
published 2019.1.101 •

Changelog

Source

2019.1.101 - 2019-02-27

Added

  • TOC (Table of Contents) navigation is now enabled
    • https://github.com/vivliostyle/vivliostyle.js/pull/498, https://github.com/vivliostyle/vivliostyle.js/pull/511
    • TOC box generation is enabled when #b= Viewer parameter (= Viewer.loadPublication() function) is used, and the publication has TOC data. In HTML documents, TOC is marked up with e.g. <nav role="doc-toc">. Vivliostyle recognizes element that is selected with CSS selector [role=doc-toc], [role=directory], nav li, .toc, #toc as a TOC element.
    • [Viewer UI] https://github.com/vivliostyle/vivliostyle-ui/pull/62
  • Support Web Publications and similar multi-HTML documents
    • https://github.com/vivliostyle/vivliostyle.js/pull/511
    • Supported document types with #b= Viewer parameter (= Viewer.loadPublication() function):
      • Unzipped EPUB
        • URL of the OPF file can be specified as well as the top directory of the unzipped EPUB files.
      • Web publication (a collection of HTML documents with reading order)
      • (X)HTML document
        • When (X)HTML document URL is specified, the URL is treated as primary entry page's, and a series of HTML files are automatically loaded.
          • When the web publication manifest is specified in the primary entry page (X)HTML document, the readingOrder in the manifest is used.
          • If manifest is not specified or "readingOrder" is not in the manifest, the (X)HTML documents linked from the TOC element that is selected with CSS selector [role=doc-toc], [role=directory], nav li, .toc, #toc are loaded.
  • Support loading documents from GitHub and some specific URLs
  • Publication title and individual HTML document title are now passed to viewer UI
  • env(pub-title) and env(doc-title) environment variables for page headers with publication/document titles
    • https://github.com/vivliostyle/vivliostyle.js/pull/512
    • Spec: CSS Environment Variables Module Level 1 defines env() function, but env(pub-title) and env(doc-title) are not yet defined so far.
    • env(pub-title): publication title = EPUB, Web publication, or primary entry page HTML title. Enabled when #b= Viewer parameter (= Viewer.loadPublication() function) is used.
    • env(doc-title): document title = HTML title, which may be chapter or section title in a publication composed of multiple HTML documents
    • When title data are not found, i.e. no <title> element in HTML, or env(pub-title) with #x= Viewer parameter (= Viewer.loadDocument() function), the empty string "" is returned.
  • Viewport-percentage length units: vw, vh, vi, vb, vmin, vmax, and page-size-percentage units pvw, pvh, pvi, pvb, pvmin, pvmax
    • https://github.com/vivliostyle/vivliostyle.js/pull/507
    • Spec: CSS Values and Units - Viewport-percentage lengths, but page-size-percentage units are not defined so far.
    • Note: On paged media context, the viewport-percentage units vw, vh, vi, vb, vmin, vmax are relative to the size of the page area, i.e., the content area of a page box and not including margin, border and padding specified on @page rule. This makes a lot of sense, but page size relative units may also be necessary. The pvw, pvh, pvi, pvb, pvmin, pvmax units are similar to the vw, vh, vi, vb, vmin, vmax but the reference size is the page size including page margins.
  • Support CSS calc() function
  • [Viewer UI] New "User Style Preferences" in the Settings panel
    • https://github.com/vivliostyle/vivliostyle-ui/pull/64
    • New settings: Page Margins, Page Breaks (widows/orphans), Images, Text (base font-size, line-height, font-family)
    • User style CSS code is shown and editable in "CSS Details" box
    • User style CSS is saved in the URL parameter userStyle=data:,/*<viewer>*//*</viewer>*/ and not disappear when reloading, and can be bookmarked in browser.
    • "Font size (%)" reflects the ViewerOptions.fontSize that can be increase/decrease with "Text: larger/smaller" buttons, and this setting is saved in the new URL parameter fontSize=.
  • [Viewer UI] Vivliostyle Viewer start page with document URL input and usage description
    • https://github.com/vivliostyle/vivliostyle-ui/pull/65
    • When document URL parameter (#b= or #x=) is not specified, the start page is now displayed.
    • Document URL entered by user is reflected in the URL parameter #b=, and   when the Enter key is pressed, the document is loaded.

Changed

Fixed

mshinyu
published 2019.1.100 •

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