profile
viewpoint
Eduardo San Martin Morote posva Freelance Paris https://esm.dev Member of the @vuejs core team Speaker, trainer. From 🇪🇸, lives in 🇫🇷

posva/catimg 825

🦦 Insanely fast image printing in your terminal

Gozala/selfish 159

Class-free, pure prototypal inheritance

brillout/awesome-vue-refactor 27

A curated list of awesome things related to Vue.js

ArthurSonzogni/CppBot 15

Portable C++ tools for bot creations : keyboard and mouse event generations, screen capture !

posva/clipboard-text 11

Simple and small copy-text-to-the-clipboard-utility with IE11 support

posva/configure-script 2

:zap: Simple script to generate Makefiles for your project. It's mainly aimed for C/C++ but can be adapted to other languages

bemug/spark-make 1

A Spark implementation of distributed Makefile

posva/2d-collisions 1

Collision for 2D using the SAT theorem with Rectangles

push eventposva/pinia

Eduardo San Martin Morote

commit sha 1b32dbaafec5011c7e79c33e11d22a26b58949b6

test: add failing test

view details

push time in 3 hours

push eventposva/pinia

Eduardo San Martin Morote

commit sha e373020cf85b3d69a20bfd895de9fb12ab06c6df

release: v2.0.0-alpha.3

view details

push time in 4 hours

created tagposva/pinia

tagv2.0.0-alpha.3

🍍Automatically Typed, Modular and lightweight Store for Vue using the composition api with DevTools support

created time in 4 hours

push eventposva/pinia

Eduardo San Martin Morote

commit sha 622c94154839b9c1aba219fbce70f6b6469a04b5

chore: add missing file

view details

push time in 4 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha 479f0edc73ce2ed84f045446c270502d09d31bf2

add readme [skip ci]

view details

push time in 4 hours

push eventposva/pinia

Eduardo San Martin Morote

commit sha ec15a77da0dfb8a0908ea2855cd53247e2de9e95

test(dts): fix

view details

push time in 4 hours

push eventposva/pinia

Eduardo San Martin Morote

commit sha c85dc504a12eea40700c0266746752a7c2a336a5

ci: clear cache

view details

push time in 4 hours

push eventposva/pinia

Eduardo San Martin Morote

commit sha 30542514389e4b903e7726039b98324afdafcc24

feat: deprecation message createStore

view details

push time in 5 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha 4267f57b02fbe12eae043f1336135caba58c167d

ci: add config [skip ci]

view details

push time in 5 hours

delete branch posva/vue-ts-lib-boilerplate

delete branch : dependabot/npm_and_yarn/size-limit-and-size-limit/preset-small-lib-4.6.0

delete time in 5 hours

push eventposva/vue-ts-lib-boilerplate

dependabot[bot]

commit sha 81ca32e67d66d2b1b4ceb1efaa3775229bfa2d3c

chore(deps-dev): bump size-limit and @size-limit/preset-small-lib (#3) Bumps [size-limit](https://github.com/ai/size-limit) and [@size-limit/preset-small-lib](https://github.com/ai/size-limit). These dependencies needed to be updated together. Updates `size-limit` from 4.5.7 to 4.6.0 - [Release notes](https://github.com/ai/size-limit/releases) - [Changelog](https://github.com/ai/size-limit/blob/master/CHANGELOG.md) - [Commits](https://github.com/ai/size-limit/compare/4.5.7...4.6.0) Updates `@size-limit/preset-small-lib` from 4.5.7 to 4.6.0 - [Release notes](https://github.com/ai/size-limit/releases) - [Changelog](https://github.com/ai/size-limit/blob/master/CHANGELOG.md) - [Commits](https://github.com/ai/size-limit/compare/4.5.7...4.6.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

push time in 5 hours

PR merged posva/vue-ts-lib-boilerplate

chore(deps-dev): bump size-limit and @size-limit/preset-small-lib dependencies

⚠️ Dependabot is rebasing this PR ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.


Bumps size-limit and @size-limit/preset-small-lib. These dependencies needed to be updated together. Updates size-limit from 4.5.7 to 4.6.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ai/size-limit/blob/master/CHANGELOG.md">size-limit's changelog</a>.</em></p> <blockquote> <h1>Change Log</h1> <p>This project adheres to <a href="http://semver.org/">Semantic Versioning</a>.</p> <h2>4.6</h2> <ul> <li>Added <code>--hide-passed</code> argument (by Kristján Oddsson).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ai/size-limit/commit/ba62e7613d18ac55959095441bd90b92d84b31ff"><code>ba62e76</code></a> Release 4.6 version</li> <li><a href="https://github.com/ai/size-limit/commit/68329de3dc54c190cb2bde138e8b1338050706d1"><code>68329de</code></a> Add --hide-passed to help</li> <li><a href="https://github.com/ai/size-limit/commit/5ca7f7d744138b6925eb5b1af15ef61e515be254"><code>5ca7f7d</code></a> Update dependencis</li> <li><a href="https://github.com/ai/size-limit/commit/edb7d993d3a91ba3421c8edd7b13a1c8bcfc97e1"><code>edb7d99</code></a> Add <code>--hide-passed</code> flag to only output failed checks (<a href="https://github-redirect.dependabot.com/ai/size-limit/issues/199">#199</a>)</li> <li><a href="https://github.com/ai/size-limit/commit/84d9d8785d08528b1d1530780710337333d7462c"><code>84d9d87</code></a> Bump bl from 4.0.2 to 4.0.3 (<a href="https://github-redirect.dependabot.com/ai/size-limit/issues/198">#198</a>)</li> <li><a href="https://github.com/ai/size-limit/commit/659e2d08a090b249f5f0b3e1af2814b8f4ded8b5"><code>659e2d0</code></a> Stabilize tests</li> <li>See full diff in <a href="https://github.com/ai/size-limit/compare/4.5.7...4.6.0">compare view</a></li> </ul> </details> <br />

Updates @size-limit/preset-small-lib from 4.5.7 to 4.6.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ai/size-limit/blob/master/CHANGELOG.md">@size-limit/preset-small-lib's changelog</a>.</em></p> <blockquote> <h1>Change Log</h1> <p>This project adheres to <a href="http://semver.org/">Semantic Versioning</a>.</p> <h2>4.6</h2> <ul> <li>Added <code>--hide-passed</code> argument (by Kristján Oddsson).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ai/size-limit/commit/ba62e7613d18ac55959095441bd90b92d84b31ff"><code>ba62e76</code></a> Release 4.6 version</li> <li><a href="https://github.com/ai/size-limit/commit/68329de3dc54c190cb2bde138e8b1338050706d1"><code>68329de</code></a> Add --hide-passed to help</li> <li><a href="https://github.com/ai/size-limit/commit/5ca7f7d744138b6925eb5b1af15ef61e515be254"><code>5ca7f7d</code></a> Update dependencis</li> <li><a href="https://github.com/ai/size-limit/commit/edb7d993d3a91ba3421c8edd7b13a1c8bcfc97e1"><code>edb7d99</code></a> Add <code>--hide-passed</code> flag to only output failed checks (<a href="https://github-redirect.dependabot.com/ai/size-limit/issues/199">#199</a>)</li> <li><a href="https://github.com/ai/size-limit/commit/84d9d8785d08528b1d1530780710337333d7462c"><code>84d9d87</code></a> Bump bl from 4.0.2 to 4.0.3 (<a href="https://github-redirect.dependabot.com/ai/size-limit/issues/198">#198</a>)</li> <li><a href="https://github.com/ai/size-limit/commit/659e2d08a090b249f5f0b3e1af2814b8f4ded8b5"><code>659e2d0</code></a> Stabilize tests</li> <li>See full diff in <a href="https://github.com/ai/size-limit/compare/4.5.7...4.6.0">compare view</a></li> </ul> </details> <br />

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)

</details>

+36 -36

1 comment

2 changed files

dependabot[bot]

pr closed time in 5 hours

push eventposva/vue-ts-lib-boilerplate

dependabot[bot]

commit sha d3faf1638d82bb36423dee69e6e5248b7e34a240

chore(deps): bump node-fetch from 2.6.0 to 2.6.1 (#6) Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/bitinn/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md) - [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

push time in 5 hours

delete branch posva/vue-ts-lib-boilerplate

delete branch : dependabot/npm_and_yarn/node-fetch-2.6.1

delete time in 5 hours

PR merged posva/vue-ts-lib-boilerplate

chore(deps): bump node-fetch from 2.6.0 to 2.6.1 dependencies

Bumps node-fetch from 2.6.0 to 2.6.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/bitinn/node-fetch/releases">node-fetch's releases</a>.</em></p> <blockquote> <h2>v2.6.1</h2> <p><strong>This is an important security release. It is strongly recommended to update as soon as possible.</strong></p> <p>See <a href="https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md#v261">CHANGELOG</a> for details.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md">node-fetch's changelog</a>.</em></p> <blockquote> <h2>v2.6.1</h2> <p><strong>This is an important security release. It is strongly recommended to update as soon as possible.</strong></p> <ul> <li>Fix: honor the <code>size</code> option after following a redirect.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/node-fetch/node-fetch/commit/b5e2e41b2b50bf2997720d6125accaf0dd68c0ab"><code>b5e2e41</code></a> update version number</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/2358a6c2563d1730a0cdaccc197c611949f6a334"><code>2358a6c</code></a> Honor the <code>size</code> option after following a redirect and revert data uri support</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/8c197f8982a238b3c345c64b17bfa92e16b4f7c4"><code>8c197f8</code></a> docs: Fix typos and grammatical errors in README.md (<a href="https://github-redirect.dependabot.com/bitinn/node-fetch/issues/686">#686</a>)</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/1e99050f944ac435fce26a9549eadcc2419a968a"><code>1e99050</code></a> fix: Change error message thrown with redirect mode set to error (<a href="https://github-redirect.dependabot.com/bitinn/node-fetch/issues/653">#653</a>)</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/244e6f63d42025465796e3ca4ce813bf2c31fc5b"><code>244e6f6</code></a> docs: Show backers in README</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/6a5d192034a0f438551dffb6d2d8df2c00921d16"><code>6a5d192</code></a> fix: Properly parse meta tag when parameters are reversed (<a href="https://github-redirect.dependabot.com/bitinn/node-fetch/issues/682">#682</a>)</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/47a24a03eb49a49d81b768892aee10074ed54a91"><code>47a24a0</code></a> chore: Add opencollective badge</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/7b136627c537cb24430b0310638c9177a85acee1"><code>7b13662</code></a> chore: Add funding link</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/5535c2ed478d418969ecfd60c16453462de2a53f"><code>5535c2e</code></a> fix: Check for global.fetch before binding it (<a href="https://github-redirect.dependabot.com/bitinn/node-fetch/issues/674">#674</a>)</li> <li><a href="https://github.com/node-fetch/node-fetch/commit/1d5778ad0d910dbd1584fb407a186f5a0bc1ea22"><code>1d5778a</code></a> docs: Add Discord badge</li> <li>Additional commits viewable in <a href="https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~akepinski">akepinski</a>, a new releaser for node-fetch since your current version.</p> </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) You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -3

1 comment

1 changed file

dependabot[bot]

pr closed time in 5 hours

delete branch posva/vue-ts-lib-boilerplate

delete branch : dependabot/npm_and_yarn/vue/test-utils-2.0.0-beta.4

delete time in 5 hours

PR merged posva/vue-ts-lib-boilerplate

chore(deps-dev): bump @vue/test-utils from 2.0.0-beta.3 to 2.0.0-beta.4 dependencies

Bumps @vue/test-utils from 2.0.0-beta.3 to 2.0.0-beta.4. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/vuejs/vue-test-utils/commits/HEAD/packages/test-utils">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)

</details>

+5 -5

1 comment

2 changed files

dependabot[bot]

pr closed time in 5 hours

push eventposva/vue-ts-lib-boilerplate

dependabot[bot]

commit sha e4d98b9b4310f38e2873df483211f9b27b803704

chore(deps-dev): bump @vue/test-utils from 2.0.0-beta.3 to 2.0.0-beta.4 (#5) Bumps [@vue/test-utils](https://github.com/vuejs/vue-test-utils/tree/HEAD/packages/test-utils) from 2.0.0-beta.3 to 2.0.0-beta.4. - [Release notes](https://github.com/vuejs/vue-test-utils/releases) - [Changelog](https://github.com/vuejs/vue-test-utils/blob/dev/CHANGELOG.md) - [Commits](https://github.com/vuejs/vue-test-utils/commits/HEAD/packages/test-utils) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

push time in 5 hours

issue commentvuejs/vue-next

CSS animation-name lost in build

@fotijr I meant CSS, sorry, like postcss or any other plugin. Vue doesn't parse the CSS after all

fotijr

comment created time in 5 hours

PullRequestReviewEvent

pull request commentposva/vue-ts-lib-boilerplate

chore(deps-dev): bump rollup from 2.26.10 to 2.28.2

@dependabot rebase

dependabot[bot]

comment created time in 5 hours

push eventposva/pinia

Eduardo San Martin Morote

commit sha 253d007dccdd601bae9154bd012548bb2be4ea4e

ci: add auto merge [skip ci]

view details

push time in 5 hours

push eventposva/vue-ts-lib-boilerplate

Eduardo San Martin Morote

commit sha d85757e0cf7904db319b22e659ad2cd1743d2f2f

test: add missing globals

view details

Eduardo San Martin Morote

commit sha da383ce193bb63197e257264c1c61cae8f63d168

ci: add automerge

view details

push time in 5 hours

PullRequestReviewEvent

pull request commentposva/pinia-vue3-example

build(deps): bump pinia from 2.0.0-alpha.1 to 2.0.0-alpha.2

@dependabot rebase

dependabot[bot]

comment created time in 5 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha 901e1990d42bff8c88a813508077340b986f0296

try again [skip ci]

view details

push time in 5 hours

pull request commentposva/pinia-vue3-example

build(deps): bump pinia from 2.0.0-alpha.1 to 2.0.0-alpha.2

@dependabot rebase

dependabot[bot]

comment created time in 5 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha 23fe6e554e154903229ec442e0ff82b029481c91

auto approve [skip-ci]

view details

push time in 5 hours

pull request commentposva/pinia-vue3-example

build(deps): bump pinia from 2.0.0-alpha.1 to 2.0.0-alpha.2

@dependabot rebase

dependabot[bot]

comment created time in 5 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha 64fa4ee37ad0a59f0c37df17083da4530f78a07c

should fail [skip ci]

view details

push time in 5 hours

pull request commentposva/pinia-vue3-example

build(deps): bump pinia from 2.0.0-alpha.1 to 2.0.0-alpha.2

@dependabot rebase

dependabot[bot]

comment created time in 6 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha 4a7c6d2579067fb5e0230ae10875db282663eb41

try [skip ci]

view details

push time in 6 hours

pull request commentposva/pinia-vue3-example

build(deps): bump pinia from 2.0.0-alpha.1 to 2.0.0-alpha.2

@dependabot rebase

dependabot[bot]

comment created time in 6 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha 8089701e7086e8d029afde0fa9f346a93cd77fe4

test me

view details

push time in 6 hours

pull request commentposva/pinia-vue3-example

build(deps): bump pinia from 2.0.0-alpha.1 to 2.0.0-alpha.2

@dependabot help!

dependabot[bot]

comment created time in 6 hours

pull request commentposva/pinia-vue3-example

build(deps): bump pinia from 2.0.0-alpha.1 to 2.0.0-alpha.2

@dependabot rebase

dependabot[bot]

comment created time in 6 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha 2be3debdd50afe3e8c3851ae3ada90ccccd107c2

skip ci

view details

push time in 6 hours

pull request commentposva/pinia-vue3-example

build(deps): bump pinia from 2.0.0-alpha.1 to 2.0.0-alpha.2

@dependabot rebase

dependabot[bot]

comment created time in 6 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha ea016c121db3fc18b364c2e08d549858c84213d4

moar

view details

push time in 6 hours

pull request commentposva/pinia-vue3-example

build(deps): bump pinia from 2.0.0-alpha.1 to 2.0.0-alpha.2

@dependabot rebase

dependabot[bot]

comment created time in 6 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha 56ac887ba3d04f95c5e11b4c8dafad89d20ca307

ci: try

view details

push time in 6 hours

pull request commentposva/pinia-vue3-example

build(deps): bump pinia from 2.0.0-alpha.1 to 2.0.0-alpha.2

@dependabot rebase

dependabot[bot]

comment created time in 6 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha 4102e72e6962b0139e8db0454716392a766fbbf7

ci: try

view details

push time in 6 hours

pull request commentposva/pinia-vue3-example

build(deps): bump pinia from 2.0.0-alpha.1 to 2.0.0-alpha.2

@dependabot @recreate

dependabot[bot]

comment created time in 6 hours

issue closedposva/pinia

Browser ESM build is broken

I'm trying to use ESM file directly from unpkg.com. The problem is that pinia.esm.js and pinia.esm.min.js both include import { ref, watch, computed } from '@vue/composition-api';.

Is this intentional? I'm actually trying it with freshly published vue 3 build.

I see that @vue/composition-api is defined as global in rollup config. Maybe for vue 3 we'd need another build that doesn't rely on @vue/composition-api.

closed time in 6 hours

zigomir

pull request commentposva/pinia-vue3-example

build(deps): bump pinia from 2.0.0-alpha.1 to 2.0.0-alpha.2

@dependabot rebase

dependabot[bot]

comment created time in 6 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha bb315d1319f0096b1960fdac0b98435f660fb466

ci: test

view details

push time in 6 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha b43f0ce517ac87ff44ffccb19130124975bc5929

fix: unused version yet

view details

push time in 6 hours

pull request commentposva/pinia-vue3-example

build(deps): bump pinia from 2.0.0-alpha.1 to 2.0.0-alpha.2

@dependabot recreate

dependabot[bot]

comment created time in 6 hours

pull request commentposva/pinia-vue3-example

build(deps): bump pinia from 2.0.0-alpha.1 to 2.0.0-alpha.2

@dependabot rebase

dependabot[bot]

comment created time in 6 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha 7e9a225efb91e3eb1b4e5343ffeb0a3b3b63e10f

ci: debug

view details

push time in 6 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha 0253f4e9df159c69a521ad2736881a68bd1f702d

ci: fix automerge maybe

view details

push time in 6 hours

push eventposva/pinia-vue3-example

Eduardo San Martin Morote

commit sha bb51212d13161a55cf616d05c24dca1b6414f880

ci: should work

view details

push time in 6 hours

create barnchposva/pinia-vue3-example

branch : master

created branch time in 6 hours

push eventposva/pinia

Eduardo San Martin Morote

commit sha 7c934cdf155d10faaa4ec476804a64921d3d60c9

ci: add automerge

view details

push time in 6 hours

push eventposva/pinia

Eduardo San Martin Morote

commit sha 59709e0851db66d337054e3aab0db987fab20f9d

feat(ssr): support ssr

view details

Eduardo San Martin Morote

commit sha a9ad160bb38d6bfae3a52c66ae28793937af05d6

refactor: rename createStore to defineStore BREAKING CHANGE: renamed `createStore` to `defineStore`. `createStore` will be marked as deprecated during the alpha releases and then be dropped.

view details

push time in 7 hours

push eventposva/pinia

dependabot[bot]

commit sha 9068ac52332c552b567dd142bbee7693ebd1cbf5

chore(deps-dev): bump rollup from 2.28.1 to 2.28.2 (#246) Bumps [rollup](https://github.com/rollup/rollup) from 2.28.1 to 2.28.2. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v2.28.1...v2.28.2) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

push time in 8 hours

delete branch posva/pinia

delete branch : dependabot/npm_and_yarn/rollup-2.28.2

delete time in 8 hours

PR merged posva/pinia

chore(deps-dev): bump rollup from 2.28.1 to 2.28.2 dependencies

Bumps rollup from 2.28.1 to 2.28.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rollup/rollup/releases">rollup's releases</a>.</em></p> <blockquote> <h2>v2.28.2</h2> <p><em>2020-09-24</em></p> <h3>Bug Fixes</h3> <ul> <li>Fix a source of possible variable name conflicts when using preserveModules with SystemJS (<a href="https://github-redirect.dependabot.com/rollup/rollup/issues/3796">#3796</a>)</li> </ul> <h3>Pull Requests</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rollup/rollup/pull/3792">#3792</a>: add documentation for output.PreserveModulesRoot (<a href="https://github.com/davidroeca">@davidroeca</a>)</li> <li><a href="https://github-redirect.dependabot.com/rollup/rollup/pull/3796">#3796</a>: Fix SystemJS default variable conflict (<a href="https://github.com/lukastaegert">@lukastaegert</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rollup/rollup/blob/master/CHANGELOG.md">rollup's changelog</a>.</em></p> <blockquote> <h2>2.28.2</h2> <p><em>2020-09-24</em></p> <h3>Bug Fixes</h3> <ul> <li>Fix a source of possible variable name conflicts when using preserveModules with SystemJS (<a href="https://github-redirect.dependabot.com/rollup/rollup/issues/3796">#3796</a>)</li> </ul> <h3>Pull Requests</h3> <ul> <li><a href="https://github-redirect.dependabot.com/rollup/rollup/pull/3792">#3792</a>: add documentation for output.PreserveModulesRoot (<a href="https://github.com/davidroeca">@davidroeca</a>)</li> <li><a href="https://github-redirect.dependabot.com/rollup/rollup/pull/3796">#3796</a>: Fix SystemJS default variable conflict (<a href="https://github.com/lukastaegert">@lukastaegert</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rollup/rollup/commit/351e1d02697df4e195d38d65dc384a3da1b711fc"><code>351e1d0</code></a> 2.28.2</li> <li><a href="https://github.com/rollup/rollup/commit/2535853d838846412b1a15cd0d8dc2fab7212ea4"><code>2535853</code></a> Update changelog</li> <li><a href="https://github.com/rollup/rollup/commit/72417f4b0c64cbbb44761e3519a4d175f4d99efb"><code>72417f4</code></a> Fix SystemJS default variable conflict (<a href="https://github-redirect.dependabot.com/rollup/rollup/issues/3796">#3796</a>)</li> <li><a href="https://github.com/rollup/rollup/commit/6a974a785d2248cf19d032e14ef33b156d947be2"><code>6a974a7</code></a> add documentation for output.PreserveModulesRoot (<a href="https://github-redirect.dependabot.com/rollup/rollup/issues/3792">#3792</a>)</li> <li>See full diff in <a href="https://github.com/rollup/rollup/compare/v2.28.1...v2.28.2">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)

</details>

+3 -3

1 comment

1 changed file

dependabot[bot]

pr closed time in 8 hours

push eventposva/pinia

dependabot[bot]

commit sha 12a540cd79bca5e82d4e4a024e0c134c9327cd3e

chore(deps-dev): bump rollup-plugin-typescript2 from 0.27.2 to 0.27.3 (#247) Bumps [rollup-plugin-typescript2](https://github.com/ezolenko/rollup-plugin-typescript2) from 0.27.2 to 0.27.3. - [Release notes](https://github.com/ezolenko/rollup-plugin-typescript2/releases) - [Commits](https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.27.2...0.27.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

push time in 8 hours

delete branch posva/pinia

delete branch : dependabot/npm_and_yarn/rollup-plugin-typescript2-0.27.3

delete time in 8 hours

PR merged posva/pinia

chore(deps-dev): bump rollup-plugin-typescript2 from 0.27.2 to 0.27.3 dependencies

Bumps rollup-plugin-typescript2 from 0.27.2 to 0.27.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ezolenko/rollup-plugin-typescript2/releases">rollup-plugin-typescript2's releases</a>.</em></p> <blockquote> <h2>0.27.3</h2> <p>PR <a href="https://github-redirect.dependabot.com/ezolenko/rollup-plugin-typescript2/issues/243">#243</a></p> <p>Updating dependencies</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ezolenko/rollup-plugin-typescript2/commit/2cace3fd80b3436b063bf8a7db246657c42c5c03"><code>2cace3f</code></a> - updating dependencies</li> <li><a href="https://github.com/ezolenko/rollup-plugin-typescript2/commit/c183d330239c90a797d4d1c6fed5a40c483794b9"><code>c183d33</code></a> stop roll() from failing if the new cache folder is not created (<a href="https://github-redirect.dependabot.com/ezolenko/rollup-plugin-typescript2/issues/243">#243</a>)</li> <li><a href="https://github.com/ezolenko/rollup-plugin-typescript2/commit/dcf59ac4882ffe7019387596518cfa66ab87910e"><code>dcf59ac</code></a> - package version</li> <li>See full diff in <a href="https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.27.2...0.27.3">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)

</details>

+3 -3

1 comment

1 changed file

dependabot[bot]

pr closed time in 8 hours

PR opened vuejs/vuepress

refactor($core): catch initial push to avoid warning

<!-- Please don't delete this template -->

Close #2606 v3.4.5 fixed a bug with redirections on SSR, I added the catch to the initial push since onReady should still catch the error

<!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ]" to "[x]" to check a box) -->

Summary

What kind of change does this PR introduce? (check at least one)

  • [ ] Bugfix
  • [ ] Feature
  • [ ] Code style update
  • [ ] Refactor
  • [ ] Docs
  • [ ] Build-related changes
  • [ ] Other, please describe:

If changing the UI of default theme, please provide the before/after screenshot:

Does this PR introduce a breaking change? (check one)

  • [ ] Yes
  • [ ] No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)

You have tested in the following browsers: (Providing a detailed version will be better.)

  • [ ] Chrome
  • [ ] Firefox
  • [ ] Safari
  • [ ] Edge
  • [ ] IE

If adding a new feature, the PR's description includes:

  • [ ] A convincing reason for adding this feature
  • [ ] Related documents have been updated
  • [ ] Related tests have been updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

+8 -7

0 comment

3 changed files

pr created time in 9 hours

create barnchvuejs/vuepress

branch : up-router

created branch time in 9 hours

issue closedvuejs/vue-next

Inconsistency of setup and non-setup script

Version

3.0.0

Reproduction link

https://github.com/FrankFang/vue-bug-1

Steps to reproduce

  1. git clone https://github.com/FrankFang/vue-bug-1.git
  2. cd vue-bug-1
  3. yarn
  4. yarn dev
  5. open http://127.0.0.1:3000

What is expected?

I expect the page reads Message from HelloWorld.vue Message from HelloWorld.vue

What is actually happening?

The page reads Message from HelloWorld.vue Message from App.vue


HelloWorld.vue and HelloWorldUsingSetup.vue should be consistent

<!-- generated by vue-issues. DO NOT REMOVE -->

closed time in 10 hours

FrankFang

issue commentvuejs/vue-next

Inconsistency of setup and non-setup script

You cannot have a prop and a data property (or any other property that is directly available through this or on the template, with the same name. There is already a warning on the console about duplicated names

FrankFang

comment created time in 10 hours

issue closedvuejs/vue

Bind child methods to slot to be accessible in parent scope

What problem does this feature solve?

I struggle to encapsulate functionality into components, because it's difficult to access methods in the slot rendered in the parent`s scope.

Maybe we could add a possibility to bind the methods to the slot?

What does the proposed API look like?

Would this be an anti-pattern?

Child-Component:

<slot v-bind="this.methods" />
...
methods: {
  childMethod()
}

Usage:

<child-component v-slot:default="$" >
  {{  $.childMethod(someValue) }}>
<

<!-- generated by vue-issues. DO NOT REMOVE -->

closed time in 10 hours

TuringJest

issue commentvuejs/vue

Bind child methods to slot to be accessible in parent scope

Tou can still bind the methods on the slot. You should do it per case and be explicit. It's better not to expose methods on a slot but it might solve some use cases

TuringJest

comment created time in 10 hours

issue commentvuejs/vue-next

Inconsistent event casing for render functions

I think the only one expected to work on a render function should be onTestedEvent

miralize

comment created time in 11 hours

issue closedvuejs/vue

Event modifiers do not pass additional arguments

Version

2.6.11

Reproduction link

https://jsfiddle.net/Soviut/0nmfpz9h/4/

Steps to reproduce

  • Note the component emits an $event along with an extra argument string
  • Click the "no prevent" button
  • Note that the message is passed and is displayed
  • Click the "has prevent" button
  • Note that the message is undefined and clears the display

Both buttons also log to the console for more detailed output.

What is expected?

Additional arguments would be passed when event modifiers are used.

What is actually happening?

Additional arguments are being ignored/removed.

<!-- generated by vue-issues. DO NOT REMOVE -->

closed time in 11 hours

Soviut

issue commentvuejs/vue

Event modifiers do not pass additional arguments

Duplicate of https://github.com/vuejs/vue/issues/10867

Soviut

comment created time in 11 hours

issue closedvuejs/vue-next

CSS animation-name lost in build

Version

3.0.0

Reproduction link

https://github.com/fotijr/spacevg

Steps to reproduce

  1. Remove the !important flag at this line.
  2. Run yarn dev.
  3. View the generated CSS and see that both liftoff and firstLanding animation names are in the CSS.
  4. Run yarn build.
  5. View the generated CSS, and see the animation is reduced to a shorthand of animation: 1s linear forwards liftoff;. Notably the firstLanding animation is now missing.

What is expected?

CSS should be functionally the same between development and builds.

What is actually happening?

firstLanding animation is not applied in the build. It appears to be lost when the build translates animation properties into shorthand format.


I worked around the issue by adding the !important flag in this PR. I disabled autoprefixer to verify it wasn't causing the issue.

Also, I know I'm using animations a bit differently. I wrote about why I built this and some Safari issues I had to work around.

<!-- generated by vue-issues. DO NOT REMOVE -->

closed time in 11 hours

fotijr

issue commentvuejs/vue-next

CSS animation-name lost in build

This issue seems to be caused by one of the cas libs, so please open an issue there. You are also sharing your whole project as a reproduction which makes it really hard for us to check

fotijr

comment created time in 11 hours

push eventvuejs/vue-router-next

melenaos

commit sha 2ea8694e133ee0705539615b9dee884280f15258

Update history-mode.md (#499) createWebHistory wrong spelling

view details

push time in a day

PR merged vuejs/vue-router-next

Update history-mode.md

createWebHistory wrong spelling

+1 -1

0 comment

1 changed file

melenaos

pr closed time in a day

PullRequestReviewEvent

push eventvuejs/vue-router-next

Eduardo San Martin Morote

commit sha f6db91aaf496b85c80e74727575cc1c2b1d06282

feat: print errors from lazy loading Close #497

view details

Eduardo San Martin Morote

commit sha 2fe6bfc8572105e608919c0e88e5798eb063ca37

refactor: warn only in __DEV__

view details

push time in a day

issue closedvuejs/vue-router-next

print exact error when request chunk failed

What problem does this feature solve?

https://github.com/vuejs/vue-router-next/blob/28b40746ddbd5af4d8f6518c4c9868f0d0599436/src/navigationGuards.ts#L258

What does the proposed API look like?

componentPromise = componentPromise.catch((err) => {
  console.error(err)
  return null
})

<!-- generated by vue-issues. DO NOT REMOVE -->

closed time in a day

kagawagao

issue closedvuejs/vue-router-next

[ssr] Async route definition isn't compatible with SSR mode

Version

4.0.0-beta.12

Reproduction link

https://github.com/JounQin/serverless-study/blob/master/src/router.ts#L11

Steps to reproduce

  1. run yarn dev, works as expected with .then(Comp => Comp.default)
  2. remove .then(Comp => Comp.default), [Vue warn]: Component is missing template or render function. will be logged from @vue/server-renderer, and no route content will be server rendered, and client side route will do the job

What is expected?

Without .then(Comp => Comp.default), the async route on sever should also work

What is actually happening?

Inconsistent between client and server

<!-- generated by vue-issues. DO NOT REMOVE -->

closed time in a day

JounQin

issue commentvuejs/vue-router-next

[ssr] Async route definition isn't compatible with SSR mode

This is an upstream bug as commented in the linked issue. I added a test at 65c18db

JounQin

comment created time in a day

push eventvuejs/vue-router-next

Eduardo San Martin Morote

commit sha 65c18dbd44b890a51b2dda615929a7c68d699cf1

test(ssr): test async components

view details

push time in a day

issue closedvuejs/composition-api

bootstrap vue is showing error for this new version of vue in vue cli.

Here is my package.json in vue cli 4.5.6

{
  "name": "test-app2",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint"
  },
  "dependencies": {
    "bootstrap-vue": "^2.17.3",
    "core-js": "^3.6.5",
    "vue": "^3.0.0-0",
    "vue-router": "^4.0.0-0",
    "vuex": "^4.0.0-0"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-plugin-eslint": "~4.5.0",
    "@vue/cli-plugin-router": "~4.5.0",
    "@vue/cli-plugin-vuex": "~4.5.0",
    "@vue/cli-service": "~4.5.0",
    "@vue/compiler-sfc": "^3.0.0-0",
    "@vue/eslint-config-prettier": "^6.0.0",
    "babel-eslint": "^10.1.0",
    "eslint": "^6.7.2",
    "eslint-plugin-prettier": "^3.1.3",
    "eslint-plugin-vue": "^7.0.0-0",
    "node-sass": "^4.12.0",
    "prettier": "^1.19.1",
    "sass-loader": "^8.0.2"
  }
}

But when i install bootstrap by following the doc. It is showing this error image image

closed time in a day

binoysarker

issue commentvuejs/composition-api

bootstrap vue is showing error for this new version of vue in vue cli.

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.

binoysarker

comment created time in a day

pull request commentvuejs/vuefire

Create google.yml

What is this for?

FHARIS2019

comment created time in 2 days

issue closedvuejs/vue-router-next

Bug: The transition is always performed on the initial render of the node

Version

4.0.0-beta.12

Reproduction link

https://codesandbox.io/s/infallible-solomon-hoge9

What is expected?

Transition does not always happen on initial rendering of a node if there is no attribute "appear"

What is actually happening?

The transition is always performed on the initial render of the node.

<!-- generated by vue-issues. DO NOT REMOVE -->

closed time in 2 days

boggddan

issue commentvuejs/vue-router-next

Bug: The transition is always performed on the initial render of the node

This is expected and mentioned in the migration guide!

boggddan

comment created time in 2 days

push eventvuejs/vue-router-next

Eduardo San Martin Morote

commit sha 2a14c19e4f0313996fd075a6821f85d30c5cad66

fix(hash): only pushState the hash part Fix #495

view details

push time in 2 days

issue closedvuejs/vue-router-next

Error with push/replace State DOMException in iframe with data:text/html

Version

4.0.0-beta.12

Reproduction link

https://jsfiddle.net/9tvd4hw6/ (simple example - not working using vue & vue-router next) https://jsfiddle.net/z9qsbrLh/2/ (advanced - not working using vue & vue-router next) https://jsfiddle.net/yor1f3q0/1/ (working example using vue next without vue-router next) https://jsfiddle.net/o5zL7sm4/ (working example using vue 2 & vue router 3)

Steps to reproduce

  • Create a simple vue app inside a variable as a string with minimal VueRouter setup using CDN
  • Ex. var myVueNextCodeWithRouter = <script src="unpkg.com/..."/><div id="app#>...</div><router-link to=".../>...<script/>...
  • Store code in a variable using: var codeForIframe = 'data:text/html' + myVueNextCodeWithRouter;
  • Append code as src to an iframe
<iframe id="hey"></iframe>
<script>
let code = 'data:text/html,' + encodeURIComponent(`
<script src="https://unpkg.com/vue@3.0.0/dist/vue.global.js"></` + `script>
<script src="https://unpkg.com/vue-router@4.0.0-beta.12/dist/vue-router.global.js"></` + `script>
<div id="app">
  <p>
    <router-link to="/">Go to Home</router-link>
    <router-link to="/about">Go to About</router-link>
  </p>
  <router-view></router-view>
</div>
<script>
const Home = { template: '<div>Home</div>' }
const About = { template: '<div>About</div>' }

const routes = [
  { path: '/', component: Home },
  { path: '/about', component: About },
]

const router = VueRouter.createRouter({
  history: VueRouter.createWebHashHistory(),
  routes
})

const app = Vue.createApp({})
app.use(router)

app.mount('#app')
</` + `script>
`);
let iframe = document.getElementById('hey')
iframe.src = code
</script>

What is expected?

It should run the app in iframe with routing

What is actually happening?

It throws a warning, destroys the render process and displays the source code instead.


The app works fine in iframe using vue next without next VueRouter: https://jsfiddle.net/yor1f3q0/1/ It does also work with VueRouter v3 for both History and Hash mode: https://jsfiddle.net/o5zL7sm4/ This render method is used to isolate a Vue App in an iframe with source code reactivity for working with Vue Components with Visual editing of Vue components.

Skjermbilde 2020-09-26 kl  01 24 24

<!-- generated by vue-issues. DO NOT REMOVE -->

closed time in 2 days

steffanhalvorsen

push eventvuejs/vue-router

Eduardo San Martin Morote

commit sha 7a5a1e8eceb46877d57ba1eab57c2fe5585bc555

build: bundle 3.4.5

view details

Eduardo San Martin Morote

commit sha db0dd496a72991f5cc6a205f14d474eb65e5914c

chore(release): 3.4.5

view details

Eduardo San Martin Morote

commit sha 1c2e47b5c993f1e8a08796b3736762d7b33b4427

chore(changelog): 3.4.5

view details

push time in 2 days

created tagvuejs/vue-router

tagv3.4.5

🚦 The official router for Vue.js.

created time in 2 days

push eventvuejs/vue-router

Eduardo San Martin Morote

commit sha a1a290ec1daaa2486b531ce146329104879794e0

fix(history): do not call onReady on initial redirection Fix #3331 This bug existed since v3.3.0 and could create problems when doing SSR

view details

push time in 2 days

issue closedvuejs/vue-router

SSR + Navigation Guards + Async Route Components Can Lead to Unintended Behavior

Version

3.4.4

Reproduction link

https://github.com/j0Shi82/vue-router-issue-3329

Steps to reproduce

  • pull repo
  • install nodejs
  • run npm install or yarn install
  • run npm run-script start or yarn run start
  • navigate to http://localhost:8085/one

What is expected?

Shows http://localhost:8085/two

What is actually happening?

Server Error 500


This is a follow-up to https://github.com/vuejs/vue-router/issues/3329 with a working reproduction and a little more information about what is actually causing the issue.

I'm not sure this is a bug or just an edge case that you have to work around yourself. It's caused by combining SSR, async route components, and redirects within navigation guards. I tried dodging async routes on the server and only using them on the client bundle (to still get the benefit of code-splitting), but that led to hydration errors.

Possible workarounds are switching to static route components, avoiding redirects within navigation guards, or using the router.push api instead of next. In our own application we went for the third choice on the server, but had to add additional logic to prevent hydration errors and handle the history mode correctly.

Either way it might make sense to go over the official SSR guide to better communicate this issue.

<!-- generated by vue-issues. DO NOT REMOVE -->

closed time in 2 days

j0Shi82

issue closedvuejs/vue-next

TypeError: Cannot destructure property `createComponentInstance` of 'undefined' or 'null'.

Version

3.0.0

Reproduction link

https://codepen.io/none

Steps to reproduce

  1. install @vue/server/renderer
  2. use code as packages/server-render/readme.md shows
  3. start koa server
  4. TypeError: Cannot destructure property createComponentInstance of 'undefined' or 'null'. showed in terminal.

What is expected?

ssr success

What is actually happening?

ssrUtils is null so can't read https://github.com/vuejs/vue-next/blob/5ae7380b4a9144c6a2873d0181a0f21a9a090018/packages/server-renderer/src/render.ts#L32 from none

<!-- generated by vue-issues. DO NOT REMOVE -->

closed time in 2 days

Edge00

issue commentvuejs/vue-next

TypeError: Cannot destructure property `createComponentInstance` of 'undefined' or 'null'.

I tried the example on the readme and it doesn't throw an error. Please don't open issues without a reproduction

Edge00

comment created time in 2 days

issue closedvuejs/vue-next

Error on typescript class based component using construnctor and super

Version

3.0.0

Reproduction link

https://codepen.io/lolmedo/pen/qBZvxpQ

Steps to reproduce

VueJS 3 project created with Vue CLI, edited with Visual Studio Code.

This code: export default class Home extends Vue { message: string; constructor() { super(); this.message = ""; } }

Produces these runtime error messages in the browser: [Vue warn]: Unhandled error during execution of setup function at <Home onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > at <RouterView> at <App> runtime-core.esm-bundler.js:38 [Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next at <Home onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > at <RouterView> at <App> runtime-core.esm-bundler.js:38 Uncaught (in promise) TypeError: can't convert undefined to object VueImpl vue-class-component.esm-bundler.js:257 _createSuperInternal Babel Home Home.vue:14 setup vue-class-component.esm-bundler.js:340 callWithErrorHandling runtime-core.esm-bundler.js:154

What is expected?

Being able to use full typescript support with type definitions and variable initialization in the class constructor. This is supported in VueJS v2

What is actually happening?

Getting the following errors on browser: [Vue warn]: Unhandled error during execution of setup function at <Home onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > at <RouterView> at <App> runtime-core.esm-bundler.js:38 [Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next at <Home onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > at <RouterView> at <App> runtime-core.esm-bundler.js:38 Uncaught (in promise) TypeError: can't convert undefined to object VueImpl vue-class-component.esm-bundler.js:257 _createSuperInternal Babel Home Home.vue:14 setup vue-class-component.esm-bundler.js:340 callWithErrorHandling runtime-core.esm-bundler.js:154

<!-- generated by vue-issues. DO NOT REMOVE -->

closed time in 2 days

lolmedo

issue commentvuejs/vue-next

Error on typescript class based component using construnctor and super

Please open the bug in vue-class-component repository

lolmedo

comment created time in 2 days

issue closedvuejs/vuefire

Binding support for Vue 3 !?

I'm still learning about Vue 3, and try to use Vuefire for my upcoming projects. Then, I am experiencing with the official examples from vuejs.org (https://codesandbox.io/s/github/vuejs/vuejs.org/tree/master/src/v2/examples/vue-20-firebase-validation) which is using Vue 2. Then, I am trying to use Vue 3, but the binding function doesn't work:

update with latest packages <script src="https://unpkg.com/vue@next"></script> <script src="https://unpkg.com/vuefire@2.2.4/dist/vuefire.js"></script> <script src="https://www.gstatic.com/firebasejs/7.2.1/firebase.js"></script>

then <script> var emailRE = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; // Setup Firebase var config = { apiKey: "AIzaSyAi_yuJciPXLFr_PYPeU3eTvtXf8jbJ8zw", authDomain: "vue-demo-537e6.firebaseapp.com", databaseURL: "https://vue-demo-537e6.firebaseio.com" }; firebase.initializeApp(config); var usersRef = firebase.database().ref("users"); // create Vue app const app = createApp({ // initial data data() { return { newUser: { name: "", email: "" } }, users: [] }, // firebase binding // https://github.com/vuejs/vuefire firebase: { users: usersRef }, // computed property for form validation state computed: { validation: function () { return { name: !!this.newUser.name.trim(), email: emailRE.test(this.newUser.email) }; }, isValid: function () { var validation = this.validation; return Object.keys(validation).every(function (key) { return validation[key]; }); } }, // methods methods: { addUser: function () { if (this.isValid) { usersRef.push(this.newUser); this.newUser.name = ""; this.newUser.email = ""; } }, removeUser: function (user) { usersRef.child(user[".key"]).remove(); } } }).mount("#app");

Thanks for your reading

closed time in 2 days

infantiablue

issue commentvuejs/vuefire

Binding support for Vue 3 !?

I have started developing it but it isn't finished. It will probably be out in the following week. I have the work on a private repository before moving it to a different branch on this repo

infantiablue

comment created time in 2 days

more