Socket
Socket
Sign inDemoInstall

reveal

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reveal - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

font/league_gothic_license

11

build.js

@@ -15,2 +15,3 @@ 'use strict';

rimraf(__dirname + '/theme');
rimraf(__dirname + '/font');
rimraf(__dirname + '/print');

@@ -34,9 +35,13 @@ rimraf(__dirname + '/index.js');

}).forEach(function (theme) {
fs.renameSync(__dirname + '/temp/css/theme/' + theme, __dirname + '/theme/' + theme);
var css = fs.readFileSync(__dirname + '/temp/css/theme/' + theme, 'utf8');
css = css.replace(/[\.\/]+\/lib\/font\/([a-z_\.\-]+)/g, function (_, file) {
return '../font/' + file;
});
fs.writeFileSync(__dirname + '/theme/' + theme, css);
});
// used from one of the CSS files, so must be included
mkdirp(__dirname + '/lib/font');
mkdirp(__dirname + '/font');
fs.readdirSync(__dirname + '/temp/lib/font').forEach(function (font) {
fs.renameSync(__dirname + '/temp/lib/font/' + font,
__dirname + '/lib/font/' + font);
__dirname + '/font/' + font);
});

@@ -43,0 +48,0 @@ });

{
"name": "reveal",
"version": "0.0.3",
"version": "0.0.4",
"description": "The HTML presentation framework",

@@ -5,0 +5,0 @@ "keywords": [],

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 not supported yet

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