Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Update dependency docpad to ~6.81.0 #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mend-for-github-com[bot]
Copy link

@mend-for-github-com mend-for-github-com bot commented Jun 7, 2022

This PR contains the following updates:

Package Type Update Change
docpad dependencies minor ~6.78.1 -> ~6.81.0

By merging this PR, the issue #1 will be automatically resolved and closed:

Severity CVSS Score CVE
High High 9.8 CVE-2018-16492
High High 9.8 CVE-2019-5413
High High 9.8 CVE-2021-44906
High High 9.1 WS-2018-0111
High High 7.5 CVE-2016-10539
High High 7.5 CVE-2017-1000048
High High 7.5 CVE-2017-1000048
High High 7.5 CVE-2017-16119
High High 7.5 CVE-2017-16138
High High 7.5 CVE-2022-24999
High High 7.5 CVE-2022-24999
Medium Medium 5.9 CVE-2017-16129
Medium Medium 5.6 CVE-2020-7598
Medium Medium 5.3 CVE-2017-16137

Release Notes

docpad/docpad

v6.81.0

Compare Source

  • This release accomplishes the removal of some long standing deprecations, for background reading refer to:
  • Changes:
    • Added runBefore and runAfter events
    • DocPad is now verbose about when it has to perform an mtime change
  • Migrations / Removals:
    • Progress on issue #​691 and issue #​391
    • Close issue #​1081
      • Removed the deprecated dynamic server abilities
      • Abstracted out the static server abilities into the new serve plugin
      • Removes the properties: serverExpress, serverHttp, filesByUrl, filesBySelector, filesByOutPath
      • Removes the methods: getServer, setServer, destroyServer, getFileByUrl, getFileByRoute, getPort, getHostname, getServerUrl, getSimpleServerUrl, serverDocument, serverMiddlewareHeader, serverMiddlewareRouter, serverMiddleware404, serverMiddleware500, server
      • Removes the events: serverBefore, serverExtend, serverAfter
      • Removes the options: databaseCachePath, port, hostname, maxAge, serverHttp, serverExpress, extendServer, middlewareStandard, middlewareBodyParser, middlewareMethodOverride, middlewareExpressRouter, middleware404, middleware500
      • Removes the document properties: dynamic
      • templateData.site.url will now default to an empty string
      • Removes the docpad-server executable, and the docpad server action
    • Removed the deprecated ability to load uncompiled plugins
    • Removed the deprecated DocPad database cache, it never worked well
      • Removes the properties: databaseTempCache
      • Removes the methods: getDatabaseSafe
      • Removes the generate event properties: cache
    • Removed the deprecated docpad-compile executable, no one used it
    • Removed leftover hashKey property
  • New Deprecations:
    • require('docpad').require('testers') will be removed in an upcoming release
      • Use require('docpad-plugintester') instead
      • A warning will be outputted
    • require('docpad').BasePlugin will be removed in an upcoming release
      • Use require('docpad-baseplugin') instead
      • No warning will be outputted

v6.80.9

Compare Source

  • require('docpad').require('thing') now only supports the thing testers

v6.80.8

Compare Source

v6.80.7

Compare Source

  • docpad render command now behaves as expected, and omission of the filename now shows the error that before failed to report
    • Fixes the ERR_INVALID_ARG_TYPE error when using stdin
  • DocPad now shuts down much more gracefully and comprehensively
  • Fixed failures not being represented in the exit code
  • Fixes active requests and active handles from being outputted on shutdown when not needed
  • Fixed ENOTCONN error from being outputted when not necessary
  • Signal interrupt (ctrl+c) shutdowns now occur more gracefully and set the exit code appropriately
    • The first signal interrupt will queue a shutdown
    • The second signal interrupt will commence a shutdown immediately
    • The third signal interrupt will terminate completely
    • Closes issue #​698
  • Errors that occured before the locale was ready are now reported
    • Required precompiling the locale, as such it has moved from locale/en.cson to source/lib/locale/en.coffee
    • Closes issue #​1012
  • DocPad shut downs are now quicker by default (1 second quicker)
    • Shutdown delay was reduced and made customisable via the new destroyDelay configuration option
  • Errors will now report their causations thanks to Errlop
  • For DocPad users and plugin developers, if you ever need to make timers/timeouts/intervals, please use docpad.timer to make and destroy them, that way DocPad can ensure they are cleaned up so they don't prevent shutdown
  • consoleSetup errors are now reported correctly
  • Uncaught exceptions are now fatal errors by default, which will cause DocPad to shut down
  • DocPad will now no longer output The action completed successfully when something went wrong with the action
  • Removed the internal methods docpad.destroyRegenerateTimer, docpad.createRegenerateTimer, docpadUtil.wait, consoleInterface.destroy
  • Introduced the configuration options catchOurExceptions, catchUncaughtExceptions, setExitCodeOnFatal, setExitCodeOnError, setExitCodeOnRequest, destroyDelay, destroyOnSignalInterrupt, regenerateDelay, slowFilesDelay, slowPluginsDelay
  • Added locale strings destroyDocPad, destroyedDocPad
  • Updated dependencies

v6.80.6

Compare Source

v6.80.5

Compare Source

  • Progress totals are now accurately reflect item completions
  • progressbar has been replaced with progress-title
    • This is far more robust and simple, offers greater and more detailed progress updates (ie. progress updates for file system watching), and even supports progress updates inside DocPad's debug mode
  • Fixed progress bar sometimes lingering after a generation
  • Updated dependencies

v6.80.4

Compare Source

  • Fixed Error: extendr only supports extending plain objects, an input was not a plain object when scaffolding a new project (bug introduced in v6.80.0)

v6.80.3

Compare Source

  • If a task completed, but had already completed earlier, you will now get more detailed debugging information to help you locate the cause
  • Updated dependencies

v6.80.2

Compare Source

  • Fixed Buffer() is deprecated due to security and usability issues

v6.80.1

Compare Source

  • Fixed Cannot set property initialConfig of #<LessPlugin> which has only a getter

v6.80.0

Compare Source

v6.79.4

Compare Source

  • Fixed DocPad having stdin errors on exit under certain circumstances
  • Updated base files

v6.79.3

Compare Source

  • Fix the this.emitSerial errors when running plugin tests
    • This was due to event-emitter-grouped v2.5.0 busting joe v1.6.0 which we pinned, so pinned joe to ~1.6.1 and joe-reporter-console to ~1.2.1

v6.79.2

Compare Source

  • Fix out/lib/testers.js being omitted in published package (regression since v6.79.1)
    • Without this file plugin tests break, so this fixes that
  • Fix src/ being included in published package (regression since v6.79.1)
    • This reduces package size once again
  • Thanks to Sebastian Domagała for his assistance

v6.79.1

Compare Source

  • Updated base files
    • This prefixes DocPad's own ./package.json scripts with our: to prevent npm v4's use of prepare from causing DocPad installs to fail under development conditions
  • Thanks to Sebastian Domagała for his assistance

v6.79.0

Compare Source

  • Bumped coffee-script dependency version
  • Fixed possible docpad not defined issue on loadLocale

v6.78.6

Compare Source

  • Set joe version to fixed 1.6.0 and event-emitter-grouped to 2.4.3 to handle issue 1047

v6.78.5

Compare Source

  • Recompiled with latest dev dependencies

v6.78.4

Compare Source

  • Fixed path option is deprecated error when cloning a skeleton
  • Changed donation message, maybe this one will be more successful
  • Updated dev dependencies
  • Updated base files

v6.78.3

Compare Source

v6.78.2

Compare Source

  • Profilers must now be specified by DOCPAD_PROFILER variable
  • Prevent waiting handles from being outputted in silent mode (prevents a common render test failure)
  • Use hostenv for PORT and HOSTNAME variables
  • Listen to 0.0.0.0 hostname by default (will be outputted as localhost)
  • Updated dependencies
  • Updated base files

  • If you want to rebase/retry this PR, click this checkbox.

@mend-for-github-com mend-for-github-com bot added the security fix Security fix generated by Mend label Jun 7, 2022
@mend-for-github-com mend-for-github-com bot force-pushed the whitesource-remediate/docpad-6.x branch from 2b181aa to ddaeafa Compare November 12, 2022 14:48
@mend-for-github-com mend-for-github-com bot changed the title Update dependency docpad to ~6.82.1 Update dependency docpad to ~6.81.0 Nov 12, 2022
@mend-for-github-com mend-for-github-com bot force-pushed the whitesource-remediate/docpad-6.x branch from ddaeafa to a9b07cd Compare November 13, 2022 19:50
@mend-for-github-com mend-for-github-com bot changed the title Update dependency docpad to ~6.81.0 Update dependency docpad to ~6.82.1 Nov 13, 2022
@mend-for-github-com mend-for-github-com bot force-pushed the whitesource-remediate/docpad-6.x branch from a9b07cd to 8f724fd Compare November 20, 2022 19:22
@mend-for-github-com mend-for-github-com bot changed the title Update dependency docpad to ~6.82.1 Update dependency docpad to ~6.81.0 Nov 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security fix Security fix generated by Mend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants