Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68926

Update handlebars from 3.x to 4.x

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • 2.363

      Core uses handlebars (*.hbs files) 3.0.8. Updating to 4.x requires a few tweaks to existing handlebars logic in core, to address security standards properly:

      16:24:10  [INFO]       Handlebars: Access has been denied to resolve the property "installWizard_welcomePanel_title" because it is not an "own property" of its parent.
      16:24:10  [INFO]       You can add a runtime option to disable the check or this warning:
      16:24:10  [INFO]       See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details
      

      There are a few more locations in core that need a few tweaks, additional information about this can be found here: https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details

      While updating handlebars, handlebars-loader should be updated too.

            targetx Thorsten Scherler
            notmyfault Alexander Brandes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: