Skip to content

Commit

Permalink
Merge pull request #39 from frederikheld/fix/security-issues-in-depen…
Browse files Browse the repository at this point in the history
…dencies

Fix/security issues in dependencies
  • Loading branch information
frederikheld authored Apr 23, 2020
2 parents ca5a6d1 + c6289de commit d592589
Show file tree
Hide file tree
Showing 9 changed files with 1,779 additions and 1,111 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.3.2] - 2020-04-23

### Security

* Update dependencies to fix security vulnerabilities. Some of them have been bumped to the current major version as long as it didn't introduce breaking changes to this project.
2 changes: 2 additions & 0 deletions experiments/page-templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ const RenderEngine = require('./modules/render-engine')
const renderOptions = {
header: {
template: path.join(__dirname, 'templates', 'header.html'),
/* eslint-disable no-path-concat */
/* As those are browser url's, not file paths */
props: {
title: 'Hello World!',
'stylesheet-global': __dirname + '/assets/css-global.css',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = MarkupRenderer

const md = require('markdown-it')()

function MarkupRenderer(renderOptions) {
function MarkupRenderer (renderOptions) {
this.renderOptions = renderOptions
}

Expand Down
2 changes: 1 addition & 1 deletion experiments/page-templates/modules/page-renderer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const mustache = require('mustache')

const MarkupRenderer = require('../markup-renderer')

function PageRenderer(renderOptions) {
function PageRenderer (renderOptions) {
this.renderOptions = renderOptions
}

Expand Down
Loading

0 comments on commit d592589

Please sign in to comment.