Socket
Socket
Sign inDemoInstall

jsonresume-theme-timeline

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonresume-theme-timeline - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

css/theme.css

22

index.js

@@ -11,7 +11,6 @@

var cssbootstrap = fs.readFileSync(path.resolve(__dirname, 'css','bootstrap.css'), 'utf8');
var csstheme = fs.readFileSync(path.resolve(__dirname, 'css','theme.css'), 'utf8');
var csscustom = fs.readFileSync(path.resolve(__dirname, 'css','custom.css'), 'utf8');
/*
var files = {};

@@ -54,19 +53,18 @@ csscustom = csscustom.replace(/url\(["']?(\S*)\.(png|jpg|jpeg|gif)["']?\)/g, function(match, file, type)

});
fs.writeFileSync('theme.css', cssbootstrap + csscustom);
*/
var cssdark = fs.readFileSync(path.resolve(__dirname, 'css','dark.css'), 'utf8');
var template = fs.readFileSync(path.resolve(__dirname, 'index.html'), 'utf8');
if(resume.bio && resume.bio.email && resume.bio.email.personal) {
resume.bio.gravatar = gravatar.url(resume.bio.email.personal, {
s: '200',
r: 'pg',
d: 'mm'
});
resume.bio.gravatar = gravatar.url(resume.bio.email.personal, {
s: '200',
r: 'pg',
d: 'mm'
});
}
var html = Mustache.render(template, {resume:resume, csscustom:csscustom, cssbootstrap: cssbootstrap, cssdark:cssdark} );
var html = Mustache.render(template, {resume:resume, csstheme:csstheme} );
return html;
}
module.exports = { render: render };
{
"name": "jsonresume-theme-timeline",
"version": "0.0.5",
"version": "0.0.6",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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