Last 12 weeks ยท 0 commits
4 of 6 standards met
Problem throws a when called with a path that is 3 or more levels deep and no intermediate module exists. Reproduction:** The crash originates in : When the first segment is not registered, returns . The next iteration then calls , which throws. already has a guard after calling , but that guard is never reached because throws first. This was partially addressed in #1851 for 2-level paths, but the method itself was not fixed, so paths of 3+ non-existent segments still crash. Fix Short-circuit the when the accumulated module is falsy: This is a one-character change that makes return instead of throwing, allowing the existing guard in to do its job. Testing Added a regression test for the 3-level non-existent path case. All 102 existing unit tests continue to pass. AI-assisted implementation.
Hello everyone! Prerequisites In my project, I do not use just a promise to do actions. Simplified version looks like this: When I wanted to explicitly work with my action promise I found that I got only PromiseValue instead of my . I had a for Chrome (yes, I removed it to test and verify a bug). Finally This line creates a promise chain that not only subscribes to . This line provides only promise value/error to userland code instead of an original promise. How to fix? Developer tools may be a useful tool, but should not change itself behavior when Devtools are available. This should ONLY subscribes to errors (creates a parallel pipe and DO NOT THROW an error inside). A userland code also will catch an error.
Repository: vuejs/vuex. Description: ๐๏ธ Centralized State Management for Vue.js. Stars: 28320, Forks: 9418. Primary language: JavaScript. Languages: JavaScript (91.3%), TypeScript (8.7%). License: MIT. Homepage: https://vuex.vuejs.org Topics: javascript, state-management, time-travel, vue, vuex. Latest release: v4.0.2 (5y ago). Open PRs: 44, open issues: 99. Last activity: 1y ago. Community health: 50%. Top contributors: yyx990803, kiaking, ktsn, Alex-Sokolov, Jinjiang, kazupon, djyde, MachinisteWeb, blake-newman, gbezyuk and others.