A mojo.js plugin that adds support for ejs templates.

Overview

npm

A mojo.js plugin that adds support for ejs templates. The code of this plugin is a good example for learning to build new plugins, you're welcome to fork it.

{ await ctx.render({view: 'index'}); }); // Render an inline ejs template app.get('/inline', async ctx => { await ctx.render({inline: '<%- greeting %> World!', engine: 'ejs'}, {greeting: 'Hello'}); }); app.start();">
import mojo from '@mojojs/core';
import ejsPlugin from 'mojo-plugin-ejs';

const app = mojo();
app.plugin(ejsPlugin);

// Render template "views/index.html.ejs"
app.get('/template', async ctx => {
  await ctx.render({view: 'index'});
});

// Render an inline ejs template
app.get('/inline', async ctx => {
  await ctx.render({inline: '<%- greeting %> World!', engine: 'ejs'}, {greeting: 'Hello'});
});

app.start();

To change the default engine for inline templates you can also set app.renderer.defaultEngine to ejs. Or you can register the template engine with a completely different name.

app.plugin(ejsPlugin, {name: 'foo'});
app.renderer.defaultEngine = 'foo';

Installation

All you need is Node.js 16.0.0 (or newer).

$ npm install mojo-plugin-ejs
Comments
  • Bump @mojojs/core from 0.33.2 to 1.14.2

    Bump @mojojs/core from 0.33.2 to 1.14.2

    Bumps @mojojs/core from 0.33.2 to 1.14.2.

    Changelog

    Sourced from @​mojojs/core's changelog.

    Changelog

    This package strictly follows Semantic Versioning.

    v1.14.0 (2022-12-11)

    Features

    • Added support for extending the user-agent with async hooks.
    • Added hooks property and addHook method to UserAgent class.

    v1.13.0 (2022-11-25)

    Features

    • Added support for parsing and generating Link headers.
    • Added getLinks and setLinks methods to Headers class.

    v1.12.0 (2022-11-20)

    Features

    • Added clone, dehop and remove methods to Headers class.

    v1.11.0 (2022-11-11)

    Features

    • Added labelFor helper.
    • Added MojoRenderOptions and MojoURLOptions to exported types for use in plugins.
    • Improved ctx.urlFor() and ctx.urlWith() to throw an exception for missing routes.

    v1.10.0 (2022-11-07)

    Features

    • Added TypeScript support to create-plugin command (with --ts option).

    v1.9.0 (2022-11-01)

    Features

    • Added examples/chat.js WebSocket chat example application.
    • Added monthFieldTag, numberFieldTag, rangeFieldTag, telFieldTag, timeFieldTag, urlFieldTag and weekFieldTag helpers.

    v1.8.0 (2022-10-22)

    Features

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump @mojojs/core from 0.33.2 to 1.14.1

    Bump @mojojs/core from 0.33.2 to 1.14.1

    Bumps @mojojs/core from 0.33.2 to 1.14.1.

    Changelog

    Sourced from @​mojojs/core's changelog.

    Changelog

    This package strictly follows Semantic Versioning.

    v1.14.0 (2022-12-11)

    Features

    • Added support for extending the user-agent with async hooks.
    • Added hooks property and addHook method to UserAgent class.

    v1.13.0 (2022-11-25)

    Features

    • Added support for parsing and generating Link headers.
    • Added getLinks and setLinks methods to Headers class.

    v1.12.0 (2022-11-20)

    Features

    • Added clone, dehop and remove methods to Headers class.

    v1.11.0 (2022-11-11)

    Features

    • Added labelFor helper.
    • Added MojoRenderOptions and MojoURLOptions to exported types for use in plugins.
    • Improved ctx.urlFor() and ctx.urlWith() to throw an exception for missing routes.

    v1.10.0 (2022-11-07)

    Features

    • Added TypeScript support to create-plugin command (with --ts option).

    v1.9.0 (2022-11-01)

    Features

    • Added examples/chat.js WebSocket chat example application.
    • Added monthFieldTag, numberFieldTag, rangeFieldTag, telFieldTag, timeFieldTag, urlFieldTag and weekFieldTag helpers.

    v1.8.0 (2022-10-22)

    Features

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump @mojojs/core from 0.33.2 to 1.14.0

    Bump @mojojs/core from 0.33.2 to 1.14.0

    Bumps @mojojs/core from 0.33.2 to 1.14.0.

    Changelog

    Sourced from @​mojojs/core's changelog.

    v1.14.0 (2022-12-11)

    Features

    • Added support for extensing the user-agent with async hooks.
    • Added hooks property and addHook method to UserAgent class.

    v1.13.0 (2022-11-25)

    Features

    • Added support for parsing and generating Link headers.
    • Added getLinks and setLinks methods to Headers class.

    v1.12.0 (2022-11-20)

    Features

    • Added clone, dehop and remove methods to Headers class.

    v1.11.0 (2022-11-11)

    Features

    • Added labelFor helper.
    • Added MojoRenderOptions and MojoURLOptions to exported types for use in plugins.
    • Improved ctx.urlFor() and ctx.urlWith() to throw an exception for missing routes.

    v1.10.0 (2022-11-07)

    Features

    • Added TypeScript support to create-plugin command (with --ts option).

    v1.9.0 (2022-11-01)

    Features

    • Added examples/chat.js WebSocket chat example application.
    • Added monthFieldTag, numberFieldTag, rangeFieldTag, telFieldTag, timeFieldTag, urlFieldTag and weekFieldTag helpers.

    v1.8.0 (2022-10-22)

    Features

    • Added isEmpty getter to Params class.
    • Added colorFieldTag, dateFielTag, datetimeFieldTag, emailFieldTag, fileFieldTag, hiddenFieldTag, searchFieldTag and passwordFieldTag helpers.

    ... (truncated)

    Commits
    • 759684c 1.14.0
    • e381118 Use the latest @​mojojs/dom for the performance fixes
    • c5e13cf Fix hook name in example
    • 875e6d4 Add support for extensing the user-agent with async hooks
    • a08583d Add a few more reference examples
    • 0207cc0 1.13.0
    • b837672 Better link example
    • f8e54e9 Add support for parsing and generating Link headers
    • 041cbcd Be more specific about why things will change
    • 99f5e07 Mention APIs that are likely to change
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump @mojojs/core from 0.33.2 to 1.13.0

    Bump @mojojs/core from 0.33.2 to 1.13.0

    Bumps @mojojs/core from 0.33.2 to 1.13.0.

    Changelog

    Sourced from @​mojojs/core's changelog.

    v1.13.0 (2022-11-25)

    Features

    • Added support for parsing and generating Link headers.
    • Added getLinks and setLinks methods to Headers class.

    v1.12.0 (2022-11-20)

    Features

    • Added clone, dehop and remove methods to Headers class.

    v1.11.0 (2022-11-11)

    Features

    • Added labelFor helper.
    • Added MojoRenderOptions and MojoURLOptions to exported types for use in plugins.
    • Improved ctx.urlFor() and ctx.urlWith() to throw an exception for missing routes.

    v1.10.0 (2022-11-07)

    Features

    • Added TypeScript support to create-plugin command (with --ts option).

    v1.9.0 (2022-11-01)

    Features

    • Added examples/chat.js WebSocket chat example application.
    • Added monthFieldTag, numberFieldTag, rangeFieldTag, telFieldTag, timeFieldTag, urlFieldTag and weekFieldTag helpers.

    v1.8.0 (2022-10-22)

    Features

    • Added isEmpty getter to Params class.
    • Added colorFieldTag, dateFielTag, datetimeFieldTag, emailFieldTag, fileFieldTag, hiddenFieldTag, searchFieldTag and passwordFieldTag helpers.

    v1.7.0 (2022-10-14)

    Features

    • Added build:watch script to package.json files generated by the create-full-app command.

    v1.6.0 (2022-10-03)

    ... (truncated)

    Commits
    • 0207cc0 1.13.0
    • b837672 Better link example
    • f8e54e9 Add support for parsing and generating Link headers
    • 041cbcd Be more specific about why things will change
    • 99f5e07 Mention APIs that are likely to change
    • 56e4145 1.12.1
    • 13b3a24 Use the latest @mojojs/* packages
    • 8810e8b Use the latest version of @​mojojs/util
    • 3d06168 Remove unused base class from ServerResponse
    • a367cf0 Update CHANGELOG
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump @mojojs/core from 0.33.2 to 1.12.1

    Bump @mojojs/core from 0.33.2 to 1.12.1

    Bumps @mojojs/core from 0.33.2 to 1.12.1.

    Changelog

    Sourced from @​mojojs/core's changelog.

    Changelog

    This package strictly follows Semantic Versioning.

    v1.12.0 (2022-11-20)

    Features

    • Added clone, dehop and remove methods to Headers class.

    v1.11.0 (2022-11-11)

    Features

    • Added labelFor helper.
    • Added MojoRenderOptions and MojoURLOptions to exported types for use in plugins.
    • Improved ctx.urlFor() and ctx.urlWith() to throw an exception for missing routes.

    v1.10.0 (2022-11-07)

    Features

    • Added TypeScript support to create-plugin command (with --ts option).

    v1.9.0 (2022-11-01)

    Features

    • Added examples/chat.js WebSocket chat example application.
    • Added monthFieldTag, numberFieldTag, rangeFieldTag, telFieldTag, timeFieldTag, urlFieldTag and weekFieldTag helpers.

    v1.8.0 (2022-10-22)

    Features

    • Added isEmpty getter to Params class.
    • Added colorFieldTag, dateFielTag, datetimeFieldTag, emailFieldTag, fileFieldTag, hiddenFieldTag, searchFieldTag and passwordFieldTag helpers.

    v1.7.0 (2022-10-14)

    Features

    • Added build:watch script to package.json files generated by the create-full-app command.

    v1.6.0 (2022-10-03)

    Features

    ... (truncated)

    Commits
    • 56e4145 1.12.1
    • 13b3a24 Use the latest @mojojs/* packages
    • 8810e8b Use the latest version of @​mojojs/util
    • 3d06168 Remove unused base class from ServerResponse
    • a367cf0 Update CHANGELOG
    • 201a7eb 1.12.0
    • 2a6b4de Update dependencies
    • 15e6326 Add clone method to Headers class
    • bfbe818 Mention the Mojolicious performance difference
    • eb109ed Clarify long term support a bit
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump @mojojs/core from 0.33.2 to 1.11.0

    Bump @mojojs/core from 0.33.2 to 1.11.0

    Bumps @mojojs/core from 0.33.2 to 1.11.0.

    Changelog

    Sourced from @​mojojs/core's changelog.

    v1.11.0 (2022-11-11)

    Features

    • Added labelFor helper.
    • Added MojoRenderOptions and MojoURLOptions to exported types for use in plugins.
    • Improved ctx.urlFor() and ctx.urlWith() to throw an exception for missing routes.

    v1.10.0 (2022-11-07)

    Features

    • Added TypeScript support to create-plugin command (with --ts option).

    v1.9.0 (2022-11-01)

    Features

    • Added examples/chat.js WebSocket chat example application.
    • Added monthFieldTag, numberFieldTag, rangeFieldTag, telFieldTag, timeFieldTag, urlFieldTag and weekFieldTag helpers.

    v1.8.0 (2022-10-22)

    Features

    • Added isEmpty getter to Params class.
    • Added colorFieldTag, dateFielTag, datetimeFieldTag, emailFieldTag, fileFieldTag, hiddenFieldTag, searchFieldTag and passwordFieldTag helpers.

    v1.7.0 (2022-10-14)

    Features

    • Added build:watch script to package.json files generated by the create-full-app command.

    v1.6.0 (2022-10-03)

    Features

    • Added dev and start scripts to package.json files generated by the create-full-app command.

    v1.5.0 (2022-09-08)

    Features

    • Added support for static assets.
    • Added urlForAsset method to Context class.
    • Added assetDir property and assetPath method to Static class.
    • Added assetTag helper.

    ... (truncated)

    Commits
    • a8942cc 1.11.0
    • de0ab11 Update CHANGELOG
    • 2769e6e Add MojoRenderOptions and MojoURLOptions to exported types for use in plugins
    • 7ff95fa Use unique result variables
    • 1c6f482 Improve ctx.urlFor() and ctx.urlWith() to throw an exception for missing routes
    • 7244109 Run the benchmark a little longer
    • cb16f70 Add labelFor helper
    • c333761 Better CHANGELOG entry for TypeScript support
    • d33b021 Mention --ts in the rendering guide too
    • e0c5a20 1.10.0
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump @mojojs/core from 0.33.2 to 1.10.0

    Bump @mojojs/core from 0.33.2 to 1.10.0

    Bumps @mojojs/core from 0.33.2 to 1.10.0.

    Changelog

    Sourced from @​mojojs/core's changelog.

    v1.10.0 (2022-11-07)

    Features

    • Added TypeScript support to create-plugin command (with --ts option).

    v1.9.0 (2022-11-01)

    Features

    • Added examples/chat.js WebSocket chat example application.
    • Added monthFieldTag, numberFieldTag, rangeFieldTag, telFieldTag, timeFieldTag, urlFieldTag and weekFieldTag helpers.

    v1.8.0 (2022-10-22)

    Features

    • Added isEmpty getter to Params class.
    • Added colorFieldTag, dateFielTag, datetimeFieldTag, emailFieldTag, fileFieldTag, hiddenFieldTag, searchFieldTag and passwordFieldTag helpers.

    v1.7.0 (2022-10-14)

    Features

    • Added build:watch script to package.json files generated by the create-full-app command.

    v1.6.0 (2022-10-03)

    Features

    • Added dev and start scripts to package.json files generated by the create-full-app command.

    v1.5.0 (2022-09-08)

    Features

    • Added support for static assets.
    • Added urlForAsset method to Context class.
    • Added assetDir property and assetPath method to Static class.
    • Added assetTag helper.
    • Added tag attributes to scriptTag and styleTag helpers.

    v1.4.0 (2022-08-15)

    Features

    • Added support for embedding mojo.js applications with mountPlugin.
    • Added support for rewriting ctx.req.path.

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @mojojs/core from 0.33.2 to 1.9.0

    Bump @mojojs/core from 0.33.2 to 1.9.0

    Bumps @mojojs/core from 0.33.2 to 1.9.0.

    Changelog

    Sourced from @​mojojs/core's changelog.

    v1.9.0 (2022-11-01)

    Features

    • Added examples/chat.js WebSocket chat example application.
    • Added monthFieldTag, numberFieldTag, rangeFieldTag, telFieldTag, timeFieldTag, urlFieldTag and weekFieldTag helpers.

    v1.8.0 (2022-10-22)

    Features

    • Added isEmpty getter to Params class.
    • Added colorFieldTag, dateFielTag, datetimeFieldTag, emailFieldTag, fileFieldTag, hiddenFieldTag, searchFieldTag and passwordFieldTag helpers.

    v1.7.0 (2022-10-14)

    Features

    • Added build:watch script to package.json files generated by the create-full-app command.

    v1.6.0 (2022-10-03)

    Features

    • Added dev and start scripts to package.json files generated by the create-full-app command.

    v1.5.0 (2022-09-08)

    Features

    • Added support for static assets.
    • Added urlForAsset method to Context class.
    • Added assetDir property and assetPath method to Static class.
    • Added assetTag helper.
    • Added tag attributes to scriptTag and styleTag helpers.

    v1.4.0 (2022-08-15)

    Features

    • Added support for embedding mojo.js applications with mountPlugin.
    • Added support for rewriting ctx.req.path.
    • Added support for relative paths with ctx.req.basePath to ctx.urlFor.
    • Added app:warmup application hook.

    Bug Fixes

    • Fixed a bug where trying to consume a request body more than once would not result in an exception.

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @mojojs/core from 0.33.2 to 1.8.0

    Bump @mojojs/core from 0.33.2 to 1.8.0

    Bumps @mojojs/core from 0.33.2 to 1.8.0.

    Changelog

    Sourced from @​mojojs/core's changelog.

    v1.8.0 (2022-10-22)

    Features

    • Added isEmpty getter to Params class.
    • Added colorFieldTag, dateFielTag, datetimeFieldTag, emailFieldTag, fileFieldTag, hiddenFieldTag, searchFieldTag and passwordFieldTag helpers.

    v1.7.0 (2022-10-14)

    Features

    • Added build:watch script to package.json files generated by the create-full-app command.

    v1.6.0 (2022-10-03)

    Features

    • Added dev and start scripts to package.json files generated by the create-full-app command.

    v1.5.0 (2022-09-08)

    Features

    • Added support for static assets.
    • Added urlForAsset method to Context class.
    • Added assetDir property and assetPath method to Static class.
    • Added assetTag helper.
    • Added tag attributes to scriptTag and styleTag helpers.

    v1.4.0 (2022-08-15)

    Features

    • Added support for embedding mojo.js applications with mountPlugin.
    • Added support for rewriting ctx.req.path.
    • Added support for relative paths with ctx.req.basePath to ctx.urlFor.
    • Added app:warmup application hook.

    Bug Fixes

    • Fixed a bug where trying to consume a request body more than once would not result in an exception. (@​marcusramberg)
    • Fixed types to allow for generics to be used with forms, like const {foo, bar} = form.toObject<MyData>().

    v1.3.1 (2022-08-13)

    Bug Fixes

    • Fixed types to allow for generics to be used with JSON, like const {foo, bar} = await ctx.req.json<MyData>().

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @mojojs/core from 0.33.2 to 1.7.0

    Bump @mojojs/core from 0.33.2 to 1.7.0

    Bumps @mojojs/core from 0.33.2 to 1.7.0.

    Changelog

    Sourced from @​mojojs/core's changelog.

    v1.7.0 (2022-10-14)

    Features

    • Added build:watch script to package.json files generated by the create-full-app command.

    v1.6.0 (2022-10-03)

    Features

    • Added dev and start scripts to package.json files generated by the create-full-app command.

    v1.5.0 (2022-09-08)

    Features

    • Added support for static assets.
    • Added urlForAsset method to Context class.
    • Added assetDir property and assetPath method to Static class.
    • Added assetTag helper.
    • Added tag attributes to scriptTag and styleTag helpers.

    v1.4.0 (2022-08-15)

    Features

    • Added support for embedding mojo.js applications with mountPlugin.
    • Added support for rewriting ctx.req.path.
    • Added support for relative paths with ctx.req.basePath to ctx.urlFor.
    • Added app:warmup application hook.

    Bug Fixes

    • Fixed a bug where trying to consume a request body more than once would not result in an exception. (@​marcusramberg)
    • Fixed types to allow for generics to be used with forms, like const {foo, bar} = form.toObject<MyData>().

    v1.3.1 (2022-08-13)

    Bug Fixes

    • Fixed types to allow for generics to be used with JSON, like const {foo, bar} = await ctx.req.json<MyData>().

    v1.3.0 (2022-08-03)

    Features

    • Added support for hiding developer commands from the command list (can be included again with the --show-all option).

    ... (truncated)

    Commits
    • c618eac 1.7.0
    • 25a8b86 Update CHANGELOG
    • 3d9ca20 1.6.1
    • 36dedd3 Use the latest version of @​mojojs/dom
    • fae0e2e Fix a few typos in growing guide
    • f0f0dec Use the public exports for tests
    • cd7afc0 Add build:watch script to package.json files generated by the create-full-app...
    • e355471 1.6.0
    • 9802058 Fix typo in CHANGELOG
    • 5fd1257 Add dev and start scripts to package.json files generated by the create-full-...
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @mojojs/core from 0.33.2 to 1.6.0

    Bump @mojojs/core from 0.33.2 to 1.6.0

    Bumps @mojojs/core from 0.33.2 to 1.6.0.

    Changelog

    Sourced from @​mojojs/core's changelog.

    v1.6.0 (2022-10-03)

    Features

    • Added dev and start scripts to package.json files generated by the create-full-app command.

    v1.5.0 (2022-09-08)

    Features

    • Added support for static assets.
    • Added urlForAsset method to Context class.
    • Added assetDir property and assetPath method to Static class.
    • Added assetTag helper.
    • Added tag attributes to scriptTag and styleTag helpers.

    v1.4.0 (2022-08-15)

    Features

    • Added support for embedding mojo.js applications with mountPlugin.
    • Added support for rewriting ctx.req.path.
    • Added support for relative paths with ctx.req.basePath to ctx.urlFor.
    • Added app:warmup application hook.

    Bug Fixes

    • Fixed a bug where trying to consume a request body more than once would not result in an exception. (@​marcusramberg)
    • Fixed types to allow for generics to be used with forms, like const {foo, bar} = form.toObject<MyData>().

    v1.3.1 (2022-08-13)

    Bug Fixes

    • Fixed types to allow for generics to be used with JSON, like const {foo, bar} = await ctx.req.json<MyData>().

    v1.3.0 (2022-08-03)

    Features

    • Added support for hiding developer commands from the command list (can be included again with the --show-all option).

    Bug Fixes

    • Fixed app.validator.schema() to throw an exception for invalid schemas. (@​carragom)

    v1.2.0 (2022-07-16)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @mojojs/core from 0.33.2 to 1.14.3

    Bump @mojojs/core from 0.33.2 to 1.14.3

    Bumps @mojojs/core from 0.33.2 to 1.14.3.

    Changelog

    Sourced from @​mojojs/core's changelog.

    Changelog

    This package strictly follows Semantic Versioning.

    v1.14.0 (2022-12-11)

    Features

    • Added support for extending the user-agent with async hooks.
    • Added hooks property and addHook method to UserAgent class.

    v1.13.0 (2022-11-25)

    Features

    • Added support for parsing and generating Link headers.
    • Added getLinks and setLinks methods to Headers class.

    v1.12.0 (2022-11-20)

    Features

    • Added clone, dehop and remove methods to Headers class.

    v1.11.0 (2022-11-11)

    Features

    • Added labelFor helper.
    • Added MojoRenderOptions and MojoURLOptions to exported types for use in plugins.
    • Improved ctx.urlFor() and ctx.urlWith() to throw an exception for missing routes.

    v1.10.0 (2022-11-07)

    Features

    • Added TypeScript support to create-plugin command (with --ts option).

    v1.9.0 (2022-11-01)

    Features

    • Added examples/chat.js WebSocket chat example application.
    • Added monthFieldTag, numberFieldTag, rangeFieldTag, telFieldTag, timeFieldTag, urlFieldTag and weekFieldTag helpers.

    v1.8.0 (2022-10-22)

    Features

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
Owner
Mojolicious
Web development tools you can rely on
Mojolicious
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
This is a Homebridge plugin that adds HomeKit support to Tidbyt devices.

Tidbyt Platform Plugin This is a Homebridge plugin that adds HomeKit support to Tidbyt devices. Built with node-tidbyt. This project is not endorsed o

Nicholas Penree 18 Nov 20, 2022
A jQuery plugin that adds cross-browser mouse wheel support.

jQuery Mouse Wheel Plugin A jQuery plugin that adds cross-browser mouse wheel support with delta normalization. In order to use the plugin, simply bin

jQuery 3.9k Dec 26, 2022
A small plugin for Frappe that adds the support of customizations to the attach control.

Frappe Better Attach Control A small plugin for Frappe that adds the support of customizations to the attach control. Table of Contents Requirements S

Ameen Ahmed 17 Dec 25, 2022
Query for CSS brower support data, combined from caniuse and MDN, including version support started and global support percentages.

css-browser-support Query for CSS browser support data, combined from caniuse and MDN, including version support started and global support percentage

Stephanie Eckles 65 Nov 2, 2022
Adds promise support (rejects(), doesNotReject()) to tape by decorating it using tape-promise.

Tape With Promises Adds promise support (rejects(), doesNotReject()) to tape by decorating it using tape-promise. Install npm install --save-dev @smal

Small Technology Foundation 3 Mar 21, 2022
This Plugin adds shortcodes with various prewritten phrases to improve quality and productivity of your writing.

Obsidian Phrasebank This Plugin adds shortcodes with various prewritten phrases to improve quality and productivity of your writing. Example :intro_pr

Viktor Bezdek 9 Jan 1, 2023
Obsidian plugin that adds autocomplete and auto-formatting to frontmatter tags.

Obsidian Front Matter Tag Wizard Tired of having to type # to get tag autocompletion in your Obsidian note front matter? I feel your pain. This plugin

Eric 10 Nov 5, 2022
A plugin for Strapi CMS that adds a preview button and live view button to the content manager edit view.

Strapi Preview Button A plugin for Strapi CMS that adds a preview button and live view button to the content manager edit view. Get Started Features I

Matt Milburn 53 Dec 30, 2022
This plugin for Obsidian adds commands for increasing/decreasing the blockquote level of the current line or selection(s).

Blockquote Levels This plugin for Obsidian adds commands for increasing/decreasing the blockquote level of the current line or selection(s). Usage The

Carlo Zottmann 15 Dec 19, 2022
A plugin for Obsidian (https://obsidian.md) that adds a button to its search view for copying the Obsidian search URL.

Copy Search URL This plugin adds a button to Obsidian's search view. Clicking it will copy the Obsidian URL for the current search to the clipboard. T

Carlo Zottmann 6 Dec 26, 2022
A website for tracking community support for BIP21 QR codes that support on-chain and lightning bitcoin payments.

BIP21 Microsite This is a WIP microsite to promote the usage of a BIP21 payment URI QR code that can include lightning invoices or offers. Wallet supp

Stephen DeLorme 16 Nov 27, 2022
Persistent key/value data storage for your Browser and/or PWA, promisified, including file support and service worker support, all with IndexedDB. Perfectly suitable for your next (PWA) app.

BrowstorJS ?? ?? ?? Persistent key/value data storage for your Browser and/or PWA, promisified, including file support and service worker support, all

Nullix 8 Aug 5, 2022
Collection of customizable Anki flashcard templates with modern and clean themes.

Anki Templates Collection of customizable Anki flashcard templates with modern and clean themes. About Features Themes Instructions Add-on support Com

Pranav Deshai 101 Dec 29, 2022
Kustomizegoat - Vulnerable Kustomize Kubernetes templates for training and education

KustomizeGoat - Vulnerable by design Kustomize deployment Demonstrating secure a

Bridgecrew 38 Nov 1, 2022
Visual Studio Code extension for formatting and linting Django/Jinja HTML templates using djLint

Visual Studio Code extension for formatting and linting Django/Jinja HTML templates using djLint

Almaz 25 Dec 15, 2022
⚡️ A collection of open-source solution templates to integrate within Buildable Flows.

Buildable ⚡️ Buildable is an instant backend tool that makes a software developer’s day more delightful. We’re helping engineers breeze through featur

Buildable 161 Dec 15, 2022