profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/divineforest/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Alexander Balashov divineforest Osome Barcelona https://osome.com/

divineforest/cryptopro 14

CryptoPro ruby-wrapper for linux

divineforest/dev_log_in 13

Type /dev/log_in/john in browser to log in as john (in env.development)

divineforest/spree_editor 13

Rich text editor for Spree with Image and File uploading in-place

divineforest/human_attribute 9

Translate model attribute values from locales

divineforest/spree_simple_checkout 8

Spree checkout process with just one address form

divineforest/spree-blogging-spree 7

Basic blog + news archive functionality for Spree E-Commerce app.

divineforest/rails-ssi 4

Helpers for SSI tags in your Rails app

divineforest/spree-yandex-market 3

плагин экспорта товаров в яндекс маркет

divineforest/spree_testimonials 3

Testimonials (guestbook) for Spree shop

divineforest/chef_rails 2

Chef installer and cookbooks for rails specific deployment

startedgetzola/zola

started time in 18 hours

created repositorytoy/rb-appscript

because it still works even for ruby 3.0

created time in 2 days

startederlang-ls/vscode

started time in 2 days

startederlang-ls/erlang_ls

started time in 2 days

startedkalaspuff/tomodachi

started time in 3 days

startedDeveloper-Y/cs-video-courses

started time in 4 days

fork toy/smashing

The exceptionally handsome dashboard framework in Ruby and Coffeescript.

https://smashing.github.io/

fork in 4 days

startedmartpie/next-transpile-modules

started time in 6 days

fork gaearon/eslint

Find and fix problems in your JavaScript code.

https://eslint.org

fork in 6 days

startedigorgladkoborodov/alter-ego.vim

started time in 7 days

delete branch OsomePteLtd/redux-preload

delete branch : dependabot/npm_and_yarn/example/urijs-1.19.5

delete time in 7 days

PR closed OsomePteLtd/redux-preload

Bump urijs from 1.19.1 to 1.19.5 in /example dependencies

Bumps urijs from 1.19.1 to 1.19.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/medialize/URI.js/releases">urijs's releases</a>.</em></p> <blockquote> <h2>1.19.5 (December 30th 2020)</h2> <ul> <li>dropping jquery.URI.js from minified bundle accidentally added since v1.19.3 - [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/404">#404</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/404">medialize/URI.js#404</a>)</li> </ul> <h2>1.19.4 (December 23rd 2020)</h2> <ul> <li><strong>SECURITY</strong> fixing <a href="http://medialize.github.io/URI.js/docs.html#static-parseAuthority"><code>URI.parseAuthority()</code></a> to rewrite <code></code> to <code>/</code> as Node and Browsers do - followed up to by <a href="https://github.com/alesandroortiz">alesandroortiz</a> in [PR <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">#403</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">medialize/URI.js#403</a>), relates to [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/233">#233</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/pull/233">medialize/URI.js#233</a>)</li> </ul> <h2>1.19.3 (December 20th 2020)</h2> <ul> <li><strong>SECURITY</strong> fixing <a href="http://medialize.github.io/URI.js/docs.html#static-parseAuthority"><code>URI.parseAuthority()</code></a> to rewrite <code></code> to <code>/</code> as Node and Browsers do - disclosed privately by <a href="https://github.com/alesandroortiz">alesandroortiz</a>, relates to [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/233">#233</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/pull/233">medialize/URI.js#233</a>)</li> </ul> <h2>1.19.2 (October 20th 2019)</h2> <ul> <li>fixing <a href="http://medialize.github.io/URI.js/docs.html#static-build"><code>URI.build()</code></a> to properly handle relative paths when a scheme is given - [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/387">#387</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/387">medialize/URI.js#387</a>)</li> <li>fixing <a href="http://medialize.github.io/URI.js/docs.html#static-buildQuery"><code>URI.buildQuery()</code></a> to properly handle empty param name - [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/243">#243</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/243">medialize/URI.js#243</a>), [PR <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/383">#383</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/383">medialize/URI.js#383</a>)</li> <li>support Composer [PR <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/386">#386</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/386">medialize/URI.js#386</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md">urijs's changelog</a>.</em></p> <blockquote> <h3>1.19.5 (December 30th 2020)</h3> <ul> <li>dropping jquery.URI.js from minified bundle accidentally added since v1.19.3 - [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/404">#404</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/404">medialize/URI.js#404</a>)</li> </ul> <h3>1.19.4 (December 23rd 2020)</h3> <ul> <li><strong>SECURITY</strong> fixing <a href="http://medialize.github.io/URI.js/docs.html#static-parseAuthority"><code>URI.parseAuthority()</code></a> to rewrite <code></code> to <code>/</code> as Node and Browsers do - followed up to by <a href="https://github.com/alesandroortiz">alesandroortiz</a> in [PR <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">#403</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">medialize/URI.js#403</a>), relates to [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/233">#233</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/pull/233">medialize/URI.js#233</a>)</li> </ul> <h3>1.19.3 (December 20th 2020)</h3> <ul> <li><strong>SECURITY</strong> fixing <a href="http://medialize.github.io/URI.js/docs.html#static-parseAuthority"><code>URI.parseAuthority()</code></a> to rewrite <code></code> to <code>/</code> as Node and Browsers do - disclosed privately by <a href="https://github.com/alesandroortiz">alesandroortiz</a>, relates to [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/233">#233</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/pull/233">medialize/URI.js#233</a>)</li> </ul> <h3>1.19.2 (October 20th 2019)</h3> <ul> <li>fixing <a href="http://medialize.github.io/URI.js/docs.html#static-build"><code>URI.build()</code></a> to properly handle relative paths when a scheme is given - [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/387">#387</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/387">medialize/URI.js#387</a>)</li> <li>fixing <a href="http://medialize.github.io/URI.js/docs.html#static-buildQuery"><code>URI.buildQuery()</code></a> to properly handle empty param name - [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/243">#243</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/243">medialize/URI.js#243</a>), [PR <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/383">#383</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/383">medialize/URI.js#383</a>)</li> <li>support Composer [PR <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/386">#386</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/386">medialize/URI.js#386</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/medialize/URI.js/commit/d7bb4ce8cb71caa5063a617b2afdb5a0a3685532"><code>d7bb4ce</code></a> chore(build): bumping to version 1.19.5</li> <li><a href="https://github.com/medialize/URI.js/commit/bf04ec5f053829f9ea3a887608bdfca4fd84cd64"><code>bf04ec5</code></a> chore(build): bumping to version 1.19.4</li> <li><a href="https://github.com/medialize/URI.js/commit/b02bf037c99ac9316b77ff8bfd840e90becf1155"><code>b02bf03</code></a> fix(parse): treat backslash as forwardslash in authority (<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">#403</a>)</li> <li><a href="https://github.com/medialize/URI.js/commit/d7064ab9acbbdf8d8acc35d9dc2454cf1606ff98"><code>d7064ab</code></a> chore(build): bumping to version 1.19.3</li> <li><a href="https://github.com/medialize/URI.js/commit/4f45fafedec9fea4d65c2562721ec94343a33c2b"><code>4f45faf</code></a> fix(parse): treat backslash as forwardslash in authority</li> <li><a href="https://github.com/medialize/URI.js/commit/594ffc1d1ba995d8e90814d6de18e1330d419be1"><code>594ffc1</code></a> chore(build): bumping to version 1.19.2</li> <li><a href="https://github.com/medialize/URI.js/commit/e780eebc0ddaea04a6928c0f7d54b061e541e05c"><code>e780eeb</code></a> chore: inform people of modern APIs</li> <li><a href="https://github.com/medialize/URI.js/commit/433f0e51e4028130a8685dfe49a185e982bc1f47"><code>433f0e5</code></a> chore(package): support Composer by adding composer.json</li> <li><a href="https://github.com/medialize/URI.js/commit/4ced30a1c5ad278eae70bb06dee8d7886e68052b"><code>4ced30a</code></a> fix(build): handle relative paths with missing authority</li> <li><a href="https://github.com/medialize/URI.js/commit/7168049bd2b9b0000ea1ea46108c46e22ef57a37"><code>7168049</code></a> fix(buildQuery): support params without key</li> <li>See full diff in <a href="https://github.com/medialize/URI.js/compare/v1.19.1...v1.19.5">compare view</a></li> </ul> </details> <br />

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.


<details> <summary>Dependabot commands and options</summary> <br />

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+4 -5

1 comment

1 changed file

dependabot[bot]

pr closed time in 7 days

pull request commentOsomePteLtd/redux-preload

Bump urijs from 1.19.1 to 1.19.5 in /example

Superseded by #18.

dependabot[bot]

comment created time in 7 days

PR opened OsomePteLtd/redux-preload

Bump urijs from 1.19.1 to 1.19.6 in /example

Bumps urijs from 1.19.1 to 1.19.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/medialize/URI.js/releases">urijs's releases</a>.</em></p> <blockquote> <h2>1.19.6 (February 13th 2021)</h2> <ul> <li><strong>SECURITY</strong> fixing <a href="http://medialize.github.io/URI.js/docs.html#static-parse"><code>URI.parse()</code></a> to rewrite <code></code> in scheme delimiter to <code>/</code> as Node and Browsers do - disclosed privately by <a href="https://twitter.com/ynizry">Yaniv Nizry</a> from the CxSCA AppSec team at Checkmarx</li> </ul> <h2>1.19.5 (December 30th 2020)</h2> <ul> <li>dropping jquery.URI.js from minified bundle accidentally added since v1.19.3 - [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/404">#404</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/404">medialize/URI.js#404</a>)</li> </ul> <h2>1.19.4 (December 23rd 2020)</h2> <ul> <li><strong>SECURITY</strong> fixing <a href="http://medialize.github.io/URI.js/docs.html#static-parseAuthority"><code>URI.parseAuthority()</code></a> to rewrite <code></code> to <code>/</code> as Node and Browsers do - followed up to by <a href="https://github.com/alesandroortiz">alesandroortiz</a> in [PR <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">#403</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">medialize/URI.js#403</a>), relates to [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/233">#233</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/pull/233">medialize/URI.js#233</a>)</li> </ul> <h2>1.19.3 (December 20th 2020)</h2> <ul> <li><strong>SECURITY</strong> fixing <a href="http://medialize.github.io/URI.js/docs.html#static-parseAuthority"><code>URI.parseAuthority()</code></a> to rewrite <code></code> to <code>/</code> as Node and Browsers do - disclosed privately by <a href="https://github.com/alesandroortiz">alesandroortiz</a>, relates to [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/233">#233</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/pull/233">medialize/URI.js#233</a>)</li> </ul> <h2>1.19.2 (October 20th 2019)</h2> <ul> <li>fixing <a href="http://medialize.github.io/URI.js/docs.html#static-build"><code>URI.build()</code></a> to properly handle relative paths when a scheme is given - [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/387">#387</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/387">medialize/URI.js#387</a>)</li> <li>fixing <a href="http://medialize.github.io/URI.js/docs.html#static-buildQuery"><code>URI.buildQuery()</code></a> to properly handle empty param name - [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/243">#243</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/243">medialize/URI.js#243</a>), [PR <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/383">#383</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/383">medialize/URI.js#383</a>)</li> <li>support Composer [PR <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/386">#386</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/386">medialize/URI.js#386</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md">urijs's changelog</a>.</em></p> <blockquote> <h3>1.19.6 (February 13th 2021)</h3> <ul> <li><strong>SECURITY</strong> fixing <a href="http://medialize.github.io/URI.js/docs.html#static-parse"><code>URI.parse()</code></a> to rewrite <code></code> in scheme delimiter to <code>/</code> as Node and Browsers do - disclosed privately by <a href="https://twitter.com/ynizry">Yaniv Nizry</a> from the CxSCA AppSec team at Checkmarx</li> </ul> <h3>1.19.5 (December 30th 2020)</h3> <ul> <li>dropping jquery.URI.js from minified bundle accidentally added since v1.19.3 - [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/404">#404</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/404">medialize/URI.js#404</a>)</li> </ul> <h3>1.19.4 (December 23rd 2020)</h3> <ul> <li><strong>SECURITY</strong> fixing <a href="http://medialize.github.io/URI.js/docs.html#static-parseAuthority"><code>URI.parseAuthority()</code></a> to rewrite <code></code> to <code>/</code> as Node and Browsers do - followed up to by <a href="https://github.com/alesandroortiz">alesandroortiz</a> in [PR <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">#403</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">medialize/URI.js#403</a>), relates to [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/233">#233</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/pull/233">medialize/URI.js#233</a>)</li> </ul> <h3>1.19.3 (December 20th 2020)</h3> <ul> <li><strong>SECURITY</strong> fixing <a href="http://medialize.github.io/URI.js/docs.html#static-parseAuthority"><code>URI.parseAuthority()</code></a> to rewrite <code></code> to <code>/</code> as Node and Browsers do - disclosed privately by <a href="https://github.com/alesandroortiz">alesandroortiz</a>, relates to [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/233">#233</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/pull/233">medialize/URI.js#233</a>)</li> </ul> <h3>1.19.2 (October 20th 2019)</h3> <ul> <li>fixing <a href="http://medialize.github.io/URI.js/docs.html#static-build"><code>URI.build()</code></a> to properly handle relative paths when a scheme is given - [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/387">#387</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/387">medialize/URI.js#387</a>)</li> <li>fixing <a href="http://medialize.github.io/URI.js/docs.html#static-buildQuery"><code>URI.buildQuery()</code></a> to properly handle empty param name - [Issue <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/243">#243</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/243">medialize/URI.js#243</a>), [PR <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/383">#383</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/383">medialize/URI.js#383</a>)</li> <li>support Composer [PR <a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/386">#386</a>](<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/386">medialize/URI.js#386</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/medialize/URI.js/commit/46c8ac0c7e6997daad8ff6859784b39f8892fa97"><code>46c8ac0</code></a> chore(build): bumping to version 1.19.6</li> <li><a href="https://github.com/medialize/URI.js/commit/a1ad8bcbc39a4d136d7e252e76e957f3ece70839"><code>a1ad8bc</code></a> fix(parse): treat backslash as forwardslash in scheme delimiter</li> <li><a href="https://github.com/medialize/URI.js/commit/d7bb4ce8cb71caa5063a617b2afdb5a0a3685532"><code>d7bb4ce</code></a> chore(build): bumping to version 1.19.5</li> <li><a href="https://github.com/medialize/URI.js/commit/bf04ec5f053829f9ea3a887608bdfca4fd84cd64"><code>bf04ec5</code></a> chore(build): bumping to version 1.19.4</li> <li><a href="https://github.com/medialize/URI.js/commit/b02bf037c99ac9316b77ff8bfd840e90becf1155"><code>b02bf03</code></a> fix(parse): treat backslash as forwardslash in authority (<a href="https://github-redirect.dependabot.com/medialize/URI.js/issues/403">#403</a>)</li> <li><a href="https://github.com/medialize/URI.js/commit/d7064ab9acbbdf8d8acc35d9dc2454cf1606ff98"><code>d7064ab</code></a> chore(build): bumping to version 1.19.3</li> <li><a href="https://github.com/medialize/URI.js/commit/4f45fafedec9fea4d65c2562721ec94343a33c2b"><code>4f45faf</code></a> fix(parse): treat backslash as forwardslash in authority</li> <li><a href="https://github.com/medialize/URI.js/commit/594ffc1d1ba995d8e90814d6de18e1330d419be1"><code>594ffc1</code></a> chore(build): bumping to version 1.19.2</li> <li><a href="https://github.com/medialize/URI.js/commit/e780eebc0ddaea04a6928c0f7d54b061e541e05c"><code>e780eeb</code></a> chore: inform people of modern APIs</li> <li><a href="https://github.com/medialize/URI.js/commit/433f0e51e4028130a8685dfe49a185e982bc1f47"><code>433f0e5</code></a> chore(package): support Composer by adding composer.json</li> <li>Additional commits viewable in <a href="https://github.com/medialize/URI.js/compare/v1.19.1...v1.19.6">compare view</a></li> </ul> </details> <br />

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.


<details> <summary>Dependabot commands and options</summary> <br />

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+4 -5

0 comment

1 changed file

pr created time in 7 days

startedvercel/next.js

started time in 8 days

startedspxak1/weywot

started time in 8 days

issue commentJeff-Lewis/cls-hooked

Can't get ctx when use await in async function.

can not reproduce...

  • Node v12.18.3
  • cls-hooked v4.2.2
M1178475702

comment created time in 8 days

startedd-e-h-i-o/shopify_csv

started time in 9 days

issue closedJeff-Lewis/cls-hooked

[Question] Unit test an Express middleware using cls-hooked

Hello,

I'm trying to write a unit test to check if the value I set is well setted in my middleware.

A simplified version (the namespace 'mynamespace' is already created) of my middleware is:

module.exports = (req, res, next) => {
  ns.bindEmitter(req);
  ns.bindEmitter(res);

  ns.run(() => {
    const correlationId = uuidV4();
    getNamespace('mynamespace').set('correlationId', correlationId);
    next();
  });
};

My failing test is:

it.only('should set a correlationId in the uuid format in the request and the response', done => {
    const req = new Emitter();
    const res = new Emitter();
    const next = sinon.stub();

    correlationIdMiddleware(ns)(req, res, next);

    ns.run(() => {
        const correlationId = ns.get('correlationId');
        correlationId.should.satisfy(isUUID.v4);
        done();
    });
  });

It says that correlationId is undefined. My guess is that correlationId doesn't exist anymore when I check it in my unit test.

When I run my application I can see my middleware working.

Any idea? Thanks!

closed time in 14 days

xballoy

startedrouge-ruby/rouge

started time in 17 days

startedsteveruizok/perfect-freehand

started time in 17 days

startedmapbox/polylabel

started time in 18 days

fork accessd/rails_api_base

API boilerplate project for Ruby On Rails 6

https://rootstrap.com

fork in 18 days

fork killthekitten/pywharf-github

The GitHub backend of https://github.com/pywharf/pywharf

fork in 18 days

created repositorygetPopsure/private-python-packages

Autogen package repository of pywharf/pywharf, created by user killthekitten.

created time in 18 days

created repositorygetPopsure/private-py-packages

Autogen package repository of pywharf/pywharf, created by user killthekitten.

created time in 18 days

startedbcherny/json-schema-to-typescript

started time in 19 days