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

tify

Package Overview
Dependencies
Maintainers
2
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tify - npm Package Compare versions

Comparing version 0.24.0 to 0.24.1

2

package.json
{
"name": "tify",
"version": "0.24.0",
"version": "0.24.1",
"description": "TIFY is a slim and mobile-friendly IIIF document viewer.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/tify-iiif-viewer/tify",

<p>
<a href="https://github.com/tify-iiif-viewer/tify">
<img src="https://demo.tify.rocks/static/tify-logo.svg" alt="TIFY" width="148" height="60">
<img src="https://demo.tify.rocks/public/tify-logo.svg" alt="TIFY" width="148" height="60">
</a>

@@ -5,0 +5,0 @@ </p>

@@ -61,6 +61,11 @@ import Vue from 'vue';

// TODO: We cannot be sure that TIFY was loaded in a script tag, add a base option
let base;
let stylesheetUrl;
if (process.env.NODE_ENV === 'production') {
stylesheetUrl = '/tify.css';
const scripts = document.getElementsByTagName('script');
const scriptUrl = scripts[scripts.length - 1];
base = scriptUrl.src.substring(0, scriptUrl.src.lastIndexOf('/'));
stylesheetUrl = `${base}/tify.css`;
} else {
base = 'public';
stylesheetUrl = null;

@@ -67,0 +72,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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