diff --git a/packages/@hidoo/express-engine-handlebars/test/fixtures/expected/with-default-helpers.html b/packages/@hidoo/express-engine-handlebars/test/fixtures/expected/with-default-helpers.html index c4cbab63..8d114535 100644 --- a/packages/@hidoo/express-engine-handlebars/test/fixtures/expected/with-default-helpers.html +++ b/packages/@hidoo/express-engine-handlebars/test/fixtures/expected/with-default-helpers.html @@ -15,7 +15,7 @@

heading

  • list 2
  • list 3
  • -
    import hoge from 'hoge';
    +
    import hoge from 'hoge';
     
     hoge();
    diff --git a/packages/@hidoo/handlebars-helpers/package.json b/packages/@hidoo/handlebars-helpers/package.json index 834414c1..3bf91cb8 100644 --- a/packages/@hidoo/handlebars-helpers/package.json +++ b/packages/@hidoo/handlebars-helpers/package.json @@ -23,7 +23,7 @@ "author": "hidoo", "license": "MIT", "dependencies": { - "highlight.js": "10.0.3", + "highlight.js": "10.4.1", "marked": "2.0.1", "path-browserify": "1.0.1" }, diff --git a/packages/@hidoo/handlebars-helpers/test/highlight.test.js b/packages/@hidoo/handlebars-helpers/test/highlight.test.js index 9850b3ff..7adf2b2a 100644 --- a/packages/@hidoo/handlebars-helpers/test/highlight.test.js +++ b/packages/@hidoo/handlebars-helpers/test/highlight.test.js @@ -37,17 +37,17 @@ describe('{{highlight value lang=\'\'}}', () => { [ '
    ', 'html', - '<div class="hoge"></div>' + '<div class="hoge"></div>' ], [ 'import lodash from "lodash";', 'js', - 'import lodash from "lodash";' + 'import lodash from "lodash";' ], [ '
    {{#if @first}}first{{else}}not first{{/if}}
    ', 'hbs', - '<div>{{#if @first}}first{{else}}not first{{/if}}</div>' + '<div>{{#if @first}}first{{else}}not first{{/if}}</div>' ] ]; diff --git a/packages/@hidoo/handlebars-helpers/test/markdown.test.js b/packages/@hidoo/handlebars-helpers/test/markdown.test.js index 7c2d3ff5..e933116d 100644 --- a/packages/@hidoo/handlebars-helpers/test/markdown.test.js +++ b/packages/@hidoo/handlebars-helpers/test/markdown.test.js @@ -69,7 +69,7 @@ describe('{{#markdown}}...{{/markdown}}', () => { \`\`\` `, `

    heading

    -
    <div class="hoge">
    +
    <div class="hoge">
       huga
     </div>
    ` diff --git a/yarn.lock b/yarn.lock index 138382f1..55c83dbf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4577,10 +4577,10 @@ he@1.2.0: resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== -highlight.js@10.0.3: - version "10.0.3" - resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.0.3.tgz#5effcc58420f113f279a0badb8ac50c4be06e63b" - integrity sha512-9FG7SSzv9yOY5CGGxfI6NDm7xLYtMOjKtPBxw7Zff3t5UcRcUNTGEeS8lNjhceL34KeetLMoGMFTGoaa83HwyQ== +highlight.js@10.4.1: + version "10.4.1" + resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.4.1.tgz#d48fbcf4a9971c4361b3f95f302747afe19dbad0" + integrity sha512-yR5lWvNz7c85OhVAEAeFhVCc/GV4C30Fjzc/rCP0aCWzc1UUOPUk55dK/qdwTZHBvMZo+eZ2jpk62ndX/xMFlg== hosted-git-info@^2.1.4: version "2.8.5"