A tiny Vue plugin that connects Vue Router with Redux

Overview

npm version Dependency Status Build Status Test Coverage Maintainability

redux-first-vue-routing

A tiny Vue plugin that connects Vue Router with Redux, an implementation of redux-first-routing.

New to Redux? Start Here

Achieve client-side routing the Redux way:

  • Read location data from the store.
  • Update the location by dispatching navigation actions.
  • Let middleware handle the side-effect of history navigation.

Learn more: An Introduction to the Redux-First Routing Model

Redux-first routing

Installation

npm install redux-first-vue-routing

Usage

import { applyMiddleware, createStore } from 'redux';
import { middleware, reducer } from 'redux-first-vue-routing';
import ReduxFirstVueRouting from 'redux-first-vue-routing';
import Vue from 'vue';
import VueRouter from 'vue-router';

// Create the router instance
const router = new VueRouter({
	...
});

// Create a Redux store, including the router reducer and the middleware.
const store = createStore(rootReducer, {}, applyMiddleware(middleware(router)));

// Install the plugin
Vue.use(ReduxFirstVueRouting, { router, store });
Comments
  • chore(deps): update babel to v7.12.10

    chore(deps): update babel to v7.12.10

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | @babel/core (source) | 7.12.0 -> 7.12.10 | age | adoption | passing | confidence | | @babel/preset-env (source) | 7.12.0 -> 7.12.10 | age | adoption | passing | confidence |


    Release Notes

    babel/babel

    v7.12.10

    Compare Source

    :eyeglasses: Spec Compliance
    • babel-parser
      • #​12443 Make sure estree test should not throw if babel parser does not throw (@​JLHwung)
      • #​12375 Make sure babel parser throws exactly same recoverable errors when estree plugin is enabled (@​JLHwung)
    :bug: Bug Fix
    :nail_care: Polish
    :memo: Documentation
    :house: Internal

    v7.12.9

    Compare Source

    :bug: Bug Fix
    • babel-plugin-transform-typescript, babel-traverse

    v7.12.8

    Compare Source

    :bug: Bug Fix
    :house: Internal

    v7.12.7

    Compare Source

    :eyeglasses: Spec Compliance
    :bug: Bug Fix
    :nail_care: Polish
    • babel-preset-react, babel-preset-typescript
    • babel-types
    :house: Internal
    :running_woman: Performance
    :microscope: Output optimization
    • babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-optional-chaining

    v7.12.3

    Compare Source

    :bug: Bug Fix
    :house: Internal
    • Other
    • babel-parser
      • #​12203 test: add test case for babel-parser: fixtures/typescript/arrow-function/destructuring-with-annotation-newline (@​Mongkii)

    v7.12.1

    Compare Source

    :bug: Bug Fix
    :house: Internal
    • Other
    • babel-cli, babel-core, babel-generator, babel-helper-bindify-decorators, babel-helper-call-delegate, babel-helper-compilation-targets, babel-helper-create-class-features-plugin, babel-helper-create-regexp-features-plugin, babel-helper-explode-assignable-expression, babel-helper-explode-class, babel-helper-module-imports, babel-helper-remap-async-to-generator, babel-helper-skip-transparent-expression-wrappers, babel-helpers, babel-node, babel-parser, babel-plugin-external-helpers, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-class-static-block, babel-plugin-proposal-decorators, babel-plugin-proposal-do-expressions, babel-plugin-proposal-dynamic-import, babel-plugin-proposal-export-default-from, babel-plugin-proposal-export-namespace-from, babel-plugin-proposal-function-bind, babel-plugin-proposal-function-sent, babel-plugin-proposal-json-strings, babel-plugin-proposal-logical-assignment-operators, babel-plugin-proposal-nullish-coalescing-operator, babel-plugin-proposal-numeric-separator, babel-plugin-proposal-object-rest-spread, babel-plugin-proposal-optional-catch-binding, babel-plugin-proposal-optional-chaining, babel-plugin-proposal-partial-application, babel-plugin-proposal-pipeline-operator, babel-plugin-proposal-private-methods, babel-plugin-proposal-private-property-in-object, babel-plugin-proposal-throw-expressions, babel-plugin-proposal-unicode-property-regex, babel-plugin-syntax-class-properties, babel-plugin-syntax-decorators, babel-plugin-syntax-do-expressions, babel-plugin-syntax-export-default-from, babel-plugin-syntax-flow, babel-plugin-syntax-function-bind, babel-plugin-syntax-function-sent, babel-plugin-syntax-import-assertions, babel-plugin-syntax-jsx, babel-plugin-syntax-module-string-names, babel-plugin-syntax-partial-application, babel-plugin-syntax-pipeline-operator, babel-plugin-syntax-record-and-tuple, babel-plugin-syntax-throw-expressions, babel-plugin-syntax-top-level-await, babel-plugin-syntax-typescript, babel-plugin-transform-arrow-functions, babel-plugin-transform-async-to-generator, babel-plugin-transform-block-scoped-functions, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-computed-properties, babel-plugin-transform-destructuring, babel-plugin-transform-dotall-regex, babel-plugin-transform-duplicate-keys, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-flow-comments, babel-plugin-transform-flow-strip-types, babel-plugin-transform-for-of, babel-plugin-transform-function-name, babel-plugin-transform-instanceof, babel-plugin-transform-jscript, babel-plugin-transform-literals, babel-plugin-transform-member-expression-literals, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-modules-umd, babel-plugin-transform-named-capturing-groups-regex, babel-plugin-transform-new-target, babel-plugin-transform-object-assign, babel-plugin-transform-object-set-prototype-of-to-assign, babel-plugin-transform-object-super, babel-plugin-transform-parameters, babel-plugin-transform-property-literals, babel-plugin-transform-property-mutators, babel-plugin-transform-proto-to-assign, babel-plugin-transform-react-constant-elements, babel-plugin-transform-react-display-name, babel-plugin-transform-react-inline-elements, babel-plugin-transform-react-jsx-compat, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx-self, babel-plugin-transform-react-jsx-source, babel-plugin-transform-react-jsx, babel-plugin-transform-react-pure-annotations, babel-plugin-transform-regenerator, babel-plugin-transform-reserved-words, babel-plugin-transform-runtime, babel-plugin-transform-shorthand-properties, babel-plugin-transform-spread, babel-plugin-transform-sticky-regex, babel-plugin-transform-strict-mode, babel-plugin-transform-template-literals, babel-plugin-transform-typeof-symbol, babel-plugin-transform-typescript, babel-plugin-transform-unicode-escapes, babel-plugin-transform-unicode-regex, babel-preset-env, babel-preset-flow, babel-preset-react, babel-preset-typescript, babel-register, babel-standalone, babel-traverse, babel-types
    • babel-compat-data, babel-helper-compilation-targets, babel-helper-create-class-features-plugin, babel-helper-remap-async-to-generator, babel-helper-simple-access, babel-helper-transform-fixture-test-runner, babel-plugin-transform-named-capturing-groups-regex, babel-plugin-transform-object-assign, babel-plugin-transform-parameters, babel-plugin-transform-react-jsx-self, babel-plugin-transform-react-jsx-source, babel-plugin-transform-template-literals, babel-preset-env, babel-preset-react, babel-runtime-corejs2, babel-runtime, babel-standalone

    Renovate configuration

    :date: Schedule: At any time (no schedule defined).

    :vertical_traffic_light: Automerge: Enabled.

    :recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    :no_bell: Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    automation 
    opened by renovate[bot] 0
  • chore(deps): update dependency webpack to v5.1.1- autoclosed

    chore(deps): update dependency webpack to v5.1.1- autoclosed

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | webpack | devDependencies | patch | 5.1.0 -> 5.1.1 |


    Release Notes

    webpack/webpack

    v5.1.1

    Compare Source

    Bugfixes
    • fix order of chunk hashing to allow to uses hashes in WebWorkers
    • update to terser-webpack-plugin 5
      • reduces number of dependencies by dropping webpack 4 support
    • omit unused modules from chunk when modules are only unused in some runtimes
      • fixes Self-reference dependency has unused export name error
    • fix hanging production builds because of infinite loop in inner graph optimization
    • Compilation.deleteAsset updates chunk to file mappings

    Renovate configuration

    :date: Schedule: At any time (no schedule defined).

    :vertical_traffic_light: Automerge: Enabled.

    :recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    :no_bell: Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    automation 
    opened by renovate[bot] 0
  • chore(deps): update eslint (major)

    chore(deps): update eslint (major)

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | eslint (source) | devDependencies | major | 6.8.0 -> 7.11.0 | | eslint-plugin-jest | devDependencies | major | 23.8.2 -> 24.1.0 |


    Release Notes

    eslint/eslint

    v7.11.0

    Compare Source

    v7.10.0

    Compare Source

    v7.9.0

    Compare Source

    • 3ca2700 Fix: Corrected notice for invalid (:) plugin names (#​13473) (Josh Goldberg)
    • fc5783d Docs: Fix leaky anchors in v4 migration page (#​13635) (Timo Tijhof)
    • f1d07f1 Docs: Provide install commands for Yarn (#​13661) (Nikita Baksalyar)
    • 29d1cdc Fix: prefer-destructuring removes comments (refs #​13678) (#​13682) (Milos Djermanovic)
    • b4da0a7 Docs: fix typo in working with plugins docs (#​13683) (啸生)
    • 6f87db7 Update: fix id-length false negatives on Object.prototype property names (#​13670) (Milos Djermanovic)
    • 361ac4d Fix: NonOctalDecimalIntegerLiteral is decimal integer (fixes #​13588) (#​13664) (Milos Djermanovic)
    • f260716 Docs: update outdated link (#​13677) (klkhan)
    • 5138c91 Docs: add missing eslint directive comments in no-await-in-loop (#​13673) (Milos Djermanovic)
    • 17b58b5 Docs: clarify correct example in no-return-await (fixes #​13656) (#​13657) (Milos Djermanovic)
    • 9171f0a Chore: fix typo (#​13660) (Nitin Kumar)
    • 6d9f8fb Sponsors: Sync README with website (ESLint Jenkins)
    • 97b0dd9 Sponsors: Sync README with website (ESLint Jenkins)
    • deab125 Sponsors: Sync README with website (ESLint Jenkins)
    • bf2e367 Sponsors: Sync README with website (ESLint Jenkins)
    • 8929208 Sponsors: Sync README with website (ESLint Jenkins)

    v7.8.1

    Compare Source

    v7.8.0

    Compare Source

    v7.7.0

    Compare Source

    • b46f3ee Update: allowFunctionParams option in no-underscore-dangle (fixes 12579) (#​13545) (Sunghyun Cho)
    • 26aa245 Docs: clarify "case" specifier in padding-line-between-statements (#​13562) (Milos Djermanovic)
    • 082891c Docs: Update semantic versioning policy (#​13563) (Nicholas C. Zakas)
    • 4e0b672 Fix: revert "Update: disallow multiple options in comma-dangle schema" (#​13564) (Kai Cataldo)
    • 254990e Fix: indent for async arrow functions (fixes #​13497) (#​13544) (Anix)
    • 28ca339 Sponsors: Sync README with website (ESLint Jenkins)
    • 2e4158d Sponsors: Sync README with website (ESLint Jenkins)
    • 488d159 Sponsors: Sync README with website (ESLint Jenkins)
    • c44306e Sponsors: Sync README with website (ESLint Jenkins)
    • 6677180 Sponsors: Sync README with website (ESLint Jenkins)
    • 07db7b8 Sponsors: Sync README with website (ESLint Jenkins)
    • d4ce4d3 Sponsors: Sync README with website (ESLint Jenkins)
    • 284e954 Sponsors: Sync README with website (ESLint Jenkins)
    • ae9b54e Sponsors: Sync README with website (ESLint Jenkins)
    • 9124a15 Chore: remove leche (fixes #​13287) (#​13533) (Mark de Dios)
    • 5c4c7f5 Sponsors: Sync README with website (ESLint Jenkins)
    • 48d8ec8 Sponsors: Sync README with website (ESLint Jenkins)

    v7.6.0

    Compare Source

    • ecb2b73 Update: require meta for fixable rules in RuleTester (refs #​13349) (#​13489) (Milos Djermanovic)
    • 6fb4edd Docs: fix broken links in developer guide (#​13518) (Sam Chen)
    • 318fe10 Fix: Do not output undefined as line and column when it's unavailable (#​13519) (haya14busa)
    • 493b5b4 Sponsors: Sync README with website (ESLint Jenkins)
    • f100143 Sponsors: Sync README with website (ESLint Jenkins)
    • 16b10fe Fix: Update the chatroom link to go directly to help channel (#​13536) (Nicholas C. Zakas)
    • f937eb9 Sponsors: Sync README with website (ESLint Jenkins)
    • e71e298 Update: Change no-duplicate-case to comparing tokens (fixes #​13485) (#​13494) (Yosuke Ota)
    • 6c4aea4 Docs: add ECMAScript 2020 to README (#​13510) (Milos Djermanovic)

    v7.5.0

    Compare Source

    v7.4.0

    Compare Source

    v7.3.1

    Compare Source

    v7.3.0

    Compare Source

    v7.2.0

    Compare Source

    • b735a48 Update: add enforceForFunctionPrototypeMethods option to no-extra-parens (#​12895) (Milos Djermanovic)
    • 27ef73f Update: reporter locr of func-call-spacing (refs #​12334) (#​13311) (Anix)
    • 353bfe9 Update: handle parentheses in multiline-ternary (fixes #​13195) (#​13367) (Milos Djermanovic)
    • a7fd343 Update: keyword-spacing unexpected space loc improve (refs #​12334) (#​13377) (Anix)
    • e49732e Fix: Ignore import expressions in no-unused-expressions rule (#​13387) (Veniamin Krol)
    • 220349f Chore: Remove duplicate health files (#​13380) (Nicholas C. Zakas)
    • dd949ae Update: support ?? operator, import.meta, and export * as ns (#​13196) (Toru Nagashima)
    • d5fce9f Update: enable es2020 environment in --init (#​13357) (Milos Djermanovic)
    • 21b1583 Docs: fixed broken hash link for working-with-rules.md (#​13386) (Yosuke Ota)
    • b76aef7 Update: Improve report location for template-tag-spacing (refs #​12334) (#​13203) (Milos Djermanovic)
    • 578efad Chore: update no-unused-vars caughtErrors in eslint-config-eslint (#​13351) (Milos Djermanovic)
    • 426088c Fix: no-unused-vars updated location to last reference (fixes #​13181) (#​13354) (Anix)
    • cb50b69 Update: Improve location for no-mixed-spaces-and-tabs (refs #​12334) (#​13365) (Milos Djermanovic)
    • f858f2a Chore: Add Tidelift to funding.yml (#​13371) (Nicholas C. Zakas)
    • ee30e5d Sponsors: Sync README with website (ESLint Jenkins)
    • c29bd9f Chore: Add breaking/core change link to issue templates (#​13344) (Kai Cataldo)
    • d55490f Sponsors: Sync README with website (ESLint Jenkins)

    v7.1.0

    Compare Source

    v7.0.0

    Compare Source


Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

automation 
opened by renovate[bot] 0
  • chore(deps): update jest (major)

    chore(deps): update jest (major)

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | babel-jest | devDependencies | major | 25.1.0 -> 26.5.2 | | jest (source) | devDependencies | major | 25.1.0 -> 26.5.3 |


    Release Notes

    facebook/jest

    v26.5.2

    Compare Source

    Fixes
    • [*] Revert usage of Escalade and rollback Yargs to v15 as it breaks Node 13 (#​10599)
    • [jest-circus] Setup globals before emitting setup, and include Jest globals in the setup payload (#​10598)
    • [jest-mock] Fix typings for mockResolvedValue, mockResolvedValueOnce, mockRejectedValue and mockRejectedValueOnce (#​10600)

    v26.5.0

    Compare Source

    Features
    • [jest-circus, jest-config, jest-runtime] Add new injectGlobals config and CLI option to disable injecting global variables into the runtime (#​10484)
    • [jest-each] Fixes .each type to always be callable (#​10447)
    • [jest-runner] Add support for moduleLoaders with default exports (#​10541)
    • [@jest/create-cache-key-function] Added a new package for creating cache keys (#​10587)
    Fixes
    • [jest-circus, jest-jasmine2] Find correct location for test.each tests (#​10413)
    • [jest-console] Add Console constructor to console object (#​10502)
    • [jest-globals] Fix lifecycle hook function types (#​10480)
    • [jest-runtime] Remove usage of vm.compileFunction due to a performance issue (#​10586)
    Chore & Maintenance
    • [jest-resolve] Replace read-pkg-up with escalade package (10558)
    • [jest-environment-jsdom] Update jsdom to 16.4.0 (10578)

    v26.3.0

    Compare Source

    Features
    • [jest-circus, jest-jasmine2] Include failureDetails property in test results (#​9496)
    • [jest-each, jest-jasmine, jest-circus] Add support for .concurrent.each (#​9326)
    Fixes
    • [jest-config] Add .pnp.js to transformIgnorePatterns defaults (#​10383)
    • [jest-leak-detector] Wait properly for GC runs due to changes in Node 14.7 (#​10366)
    • [jest-worker] Downgrade minimum node version to 10.13 (#​10352)
    • [docs] Update snapshot testing documentation(#​10359)

    v26.2.2

    Compare Source

    Fixes
    • [jest-cli] Use correct file name to override existing jest config on init (#​10337)
    • [jest-haste-map] Properly detect support for native find (#​10346)

    v26.2.1

    Compare Source

    Fixes
    • [jest-worker] Make sure to work with Node TS typings v12 (#​10336)

    v26.2.0

    Compare Source

    Features
    • [jest-core, jest-circus, jest-reporter, jest-runner] Added support for reporting individual test cases using jest-circus (#​10227)
    • [jest-config, jest-reporter, jest-runner, jest-test-sequencer] Add slowTestThreshold configuration option (#​9366)
    • [jest-haste-map] Watchman crawler now includes dotfiles (#​10075)
    • [jest-worker] Added support for workers to send custom messages to parent in jest-worker (#​10293)
    • [jest-worker] Support passing resourceLimits (#​10335)
    • [pretty-format] Added support for serializing custom elements (web components) (#​10217)
    Fixes
    • [expect] Match symbols and bigints in any() (#​10223)
    • [jest-changed-files] Use git diff instead of git log for --changedSince (#​10155)
    • [jest-console] Add missing console.timeLog for compatibility with Node (#​10209)
    • [jest-haste-map] Check find binary supports the -iname parameter (#​10308)
    • [jest-snapshot] Strip added indentation for inline error snapshots (#​10217)
    Chore & Maintenance

    v26.1.0

    Compare Source

    Features
    • [jest-mock] Export Mock, MockInstance, SpyInstance types (#​10138)
    • [jest-config] Support config files exporting (async) functions (#​10001)
    • [jest-cli, jest-core] Add --selectProjects CLI argument to filter test suites by project name (#​8612)
    • [jest-cli, jest-init] Add coverageProvider to jest --init prompts (#​10044)
    Fixes
    • [jest-console] getConsoleOutput to receive global stack trace config and use it to format stack trace (#​10081)
    • [jest-jasmine2] Stop adding : after an error that has no message (#​9990)
    • [jest-diff] Control no diff message color with commonColor in diff options (#​9997)
    • [jest-snapshot] Fix TypeScript compilation (#​10008)
    Chore & Maintenance
    • [docs] Correct confusing filename in enableAutomock example (#​10055)
    • [jest-core] 🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉 (#​10000)
    • [jest-core, jest-reporters, jest-test-result, jest-types] Cleanup displayName type (#​10049)
    • [jest-runtime] Jest-internal sandbox escape hatch (#​9907)
    • [jest-fake-timers] Update now param type to support Date in addition to number. (#​10169)
    • [docs] Add param to setSystemTime docs and remove preceding period from it and getRealSystemTime (#​10169)
    • [jest-snapshot, jest-util] Replace make-dir with fs.mkdir (#​10136)
    • [docs] Added parcel-bundler documentation inside readme.md file
    Performance
    • [jest-core, jest-transform, jest-haste-map] Improve Jest startup time and test runtime, particularly when running with coverage, by caching micromatch and avoiding recreating RegExp instances (#​10131)

    v26.0.1

    Compare Source

    Fixes
    • [jest-circus] Backward compatibility for deprecated DescribeBlock.tests to not break e.g. Detox reporter

    v26.0.0

    Compare Source

    Features
    • [jest-environment-jsdom] [BREAKING] Upgrade jsdom to v16 (#​9606)
    • [@jest/fake-timers] Add possibility to use a modern implementation of fake timers, backed by @sinonjs/fake-timers (#​7776)
    • [jest-runtime] Add createMockFromModule as an alias for genMockFromModule (#​9962)
    Fixes
    • [babel-jest] Handle null being passed to createTransformer (#​9955)
    • [jest-circus, jest-console, jest-jasmine2, jest-reporters, jest-util, pretty-format] Fix time durating formatting and consolidate time formatting code (#​9765)
    • [jest-circus] [BREAKING] Fail tests if a test takes a done callback and have return values (#​9129)
    • [jest-circus] [BREAKING] Throw a proper error if a test / hook is defined asynchronously (#​8096)
    • [jest-circus] Throw more descriptive error if hook is defined inside test (#​9957)
    • [jest-circus] [BREAKING] Align execution order of tests to match jasmine's top to bottom order (#​9965)
    • [jest-config, jest-resolve] [BREAKING] Remove support for browser field (#​9943)
    • [jest-haste-map] Stop reporting files as changed when they are only accessed (#​7347)
    • [jest-resolve] Show relative path from root dir for module not found errors (#​9963)
    • [jest-runtime] Fix absolute path moduleNameMapper + jest.mock bug (#​8727)
    Chore & Maintenance
    • [*] [BREAKING] TypeScript definitions requires a minimum of TypeScript v3.8 (#​9823)
    • [*] [BREAKING] Drop support for Node 8 (#​9423)
    • [*] Upgrade to [email protected] (#​9752)
    • [*] Remove usage of realpath-native (#​9952)
    • [docs] Fix example reference implementation to use Jest with Phabricator (#​8662)
    • [docs] Added default compiler to tranform (#​8583)
    • [docs] Updated Testing Frameworks guide with React; make it generic (#​9106)
    • [expect, jest-mock, pretty-format] [BREAKING] Remove build-es5 from package (#​9945)
    • [@jest/fake-timers, @​jest/environment] [BREAKING] Rename LolexFakeTimers to ModernFakeTimers (#​9960)
    • [jest-haste-map] [BREAKING] removed providesModuleNodeModules (#​8535)
    • [jest-runtime] [BREAKING] Remove long-deprecated require.requireActual and require.requireMock methods (#​9854)

    v25.5.1

    Compare Source

    Fixes
    • [jest-haste-map] Add missing @types/graceful-fs dependency (#​9913)
    • [jest-runner] Correctly serialize Set passed to worker (#​9915)
    • [jest-runtime] Vary ESM cache by query (#​9914)

    v25.5.0

    Compare Source

    Features
    • [@jest/globals] New package so Jest's globals can be explicitly imported (#​9801)
    • [jest-core] Show coverage of sources related to tests in changed files (#​9769)
    • [jest-runtime] Populate require.cache (#​9841)
    Fixes
    • [*] Use graceful-fs directly in every package instead of relying on fs being monkey patched (#​9443)
    • [expect] Prints the Symbol name into the error message with a custom asymmetric matcher (#​9888)
    • [jest-circus, jest-jasmine2] Support older version of jest-runtime (#​9903 & #​9842)
    • [@jest/environment] Make sure not to reference Jest types (#​9875)
    • [jest-message-util] Code frame printing should respect --noStackTrace flag (#​9866)
    • [jest-runtime] Support importing CJS from ESM using import statements (#​9850)
    • [jest-runtime] Support importing parallel dynamic imports (#​9858)
    • [jest-transform] Improve source map handling when instrumenting transformed code (#​9811)
    Chore & Maintenance
    • [docs] Add an example for mocking non-default export class
    Performance
    • [jest-resolve] Update resolve to a version using native realpath, which is faster than the default JS implementation (#​9872)
    • [jest-resolve] Pass custom cached realpath function to resolve (#​9873)
    • [jest-runtime] Add teardown method to clear any caches when tests complete (#​9906)
    • [jest-runtime] Do not pass files required internally through transformation when loading them (#​9900)
    • [jest-runtime] Use Maps instead of object literals as cache holders (#​9901)

    v25.4.0

    Compare Source

    • [expect] Support async functions in toThrow (#​9817)
    • [jest-console] Add code frame to console.error and console.warn (#​9741)
    • [jest-runtime, jest-jasmine2, jest-circus] Experimental, limited ECMAScript Modules support (#​9772 & #​9842)
    Fixes
    • [expect] Restore support for passing functions to toHaveLength matcher (#​9796)
    • [jest-changed-files] --only-changed should include staged files (#​9799)
    • [jest-circus] Throw on nested test definitions (#​9828)
    • [jest-each] each will throw an error when called with too many arguments (#​9818)
    • [jest-runner] Don't print warning to stdout when using --json (#​9843)
    Chore & Maintenance
    • [*] Do not generate TypeScript declaration source maps (#​9822)
    • [*] Transpile code for Node 8.3, not 8.0 (#​9827)

    v25.3.0

    Compare Source

    Features
    • [babel-jest] Support passing supportsDynamicImport and supportsStaticESM (#​9766)
    • [babel-preset-jest] Enable all syntax plugins not enabled by default that works on current version of Node (#​9774)
    • [jest-circus] Enable writing async test event handlers (#​9397)
    • [jest-runtime, @​jest/transformer] Support passing supportsDynamicImport and supportsStaticESM (#​9597)
    Chore & Maintenance
    • [*] Replace anys with unknowns (#​9626)
    • [@jest/transform] Expose type CacheKeyOptions for getCacheKey (#​9762)
    • [@jest/types] Correct type testRegex for ProjectConfig (#​9780)

    v25.2.6

    Compare Source

    Chore & Maintenance
    • [*] 25.2.5 was published without changes from 25.2.4 - 25.2.6 includes all changes from that version.

    v25.2.4

    Compare Source

    Features
    • [jest-message-util] Check for common errors when using the wrong test environment (#​8245)
    Fixes
    • [jest-circus] Fix type elision of jest-runtime imports (#​9717)
    • [@jest/transform] Fix coverage reporter for uncovered files without transformers, reverting #​9460 (#​9724)

    v25.2.3

    Compare Source

    Fixes
    • [*] Verify all packages are properly downleveled for older versions of TypeScript (#​9715)

    v25.2.1

    Compare Source

    Fixes
    • [*] Downlevel TypeScript definitions files for compatibility with TS<3.8 (#​9705)

    v25.2.0

    Compare Source

    Features
    • [jest-config] Support ESM config files with .js extension (#​9573).
    • [jest-runtime] Override module.createRequire to return a Jest-compatible require function (#​9469)
    • [jest-haste-map] [BREAKING] Remove mapper option (#​9581)
    • [*] Support array of paths for moduleNameMapper aliases (#​9465)
    • [jest-reporters] Adds ability to pass options to the istanbul-reporter through coverageReporters (#​9572)
    • [jest-runtime] Require stack when a module cannot be resolved (#​9681)
    • [jest-transform] writeCacheFile no longer calls fsync (#​9695)
    Fixes
    • [expect] Handle readonly properties correctly (#​9575)
    • [jest-cli] Set coverageProvider correctly when provided in config (#​9562)
    • [jest-cli] Allow specifying .cjs and .mjs config files by --config CLI option (#​9578)
    • [jest-cli] Update yargs to fix CLI flag overriding (#​9519)
    • [jest-config] Treat setupFilesAfterEnv like setupFiles when normalizing configs against presets (#​9495)
    • [jest-config] Support .mjs config files on Windows as well (#​9558)
    • [jest-config] Verify rootDir and all roots are directories (#​9569)
    • [jest-config] Ensure pattern of replacePosixSep is a string (#​9546)
    • [jest-haste-map] Fix crash on unix based systems without find (#​9579)
    • [jest-jasmine2] Fix --testNamePattern matching with concurrent tests (#​9090)
    • [jest-matcher-utils] Fix diff highlight of symbol-keyed object. (#​9499)
    • [@jest/reporters] Notifications should be fire&forget rather than having a timeout (#​9567)
    • [jest-resolve] Fix module identity preservation with symlinks and browser field resolution (#​9511)
    • [jest-resolve] Do not confuse directories with files (#​8912)
    • [jest-resolve] moduleNameMapper should take precedence over Node core modules (#​9563)
    • [jest-runtime] Reset isolateModules if it fails (#​9541)
    • [jest-runtime] Yarn PnP errors displayed to the user (#​9681)
    • [jest-snapshot] Downgrade semver to v6 to support node 8 (#​9451)
    • [jest-snapshot] Properly indent new snapshots in the presences of existing ones (#​9523)
    • [jest-transform] Correct sourcemap behavior for transformed and instrumented code (#​9460)
    • [jest-transform] Allow instrumentation of transformed files with weird file extensions (#​9589)
    • [@jest/types] Make ConfigGlobals an interface to allow for declaration merging. (#​9570)
    • [pretty-format] Export OldPlugin type (#​9491)
    Chore & Maintenance
    • [docs] Warn about unexpected behavior / bug of node-notifier when using the notify options.
    • [docs] Grammatical corrections to Async docs page. (#​9679)
    • [jest-resolver] Use resolve package to implement custom module resolution (#​9520)
    • [jest-runtime] Move execution of setupFiles to jest-runner (#​9596)
    • [jest-runtime] Update anchor link in helpers (#​9616)
    • [@jest/reporters] Remove unused dependencies and type exports (#​9462)
    • [website] Update pictures of reports when matchers fail (#​9214)
    Performance
    • [jest-haste-map] Reduce number of lstat calls in node crawler (#​9514)

    Renovate configuration

    :date: Schedule: At any time (no schedule defined).

    :vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

    :recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    :ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    automation 
    opened by renovate[bot] 0
  • chore(deps): update dependency eslint-plugin-jest to v23.20.0 - autoclosed

    chore(deps): update dependency eslint-plugin-jest to v23.20.0 - autoclosed

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | eslint-plugin-jest | devDependencies | minor | 23.8.2 -> 23.20.0 |


    Release Notes

    jest-community/eslint-plugin-jest

    v23.20.0

    Compare Source

    Features
    • no-large-snapshots: deprecate whitelistedSnapshots for new name (#​632) (706f5c2)

    v23.19.0

    Compare Source

    Features

    23.18.2 (2020-07-26)

    Bug Fixes
    • no-if: report conditionals in call expressions (4cfcf08), closes #​557

    23.18.1 (2020-07-26)

    Bug Fixes
    • no-large-snapshots: actually compare allowed name strings to name (#​625) (622a08c)

    v23.18.2

    Compare Source

    Bug Fixes
    • no-if: report conditionals in call expressions (4cfcf08), closes #​557

    v23.18.1

    Compare Source

    Bug Fixes
    • no-large-snapshots: actually compare allowed name strings to name (#​625) (622a08c)

    v23.18.0

    Compare Source

    Features

    23.17.1 (2020-06-23)

    Bug Fixes

    v23.17.1

    Compare Source

    Bug Fixes

    v23.17.0

    Compare Source

    Features

    v23.16.0

    Compare Source

    Features
    • create no-conditional-expect rule (aba53e4)
    • deprecate no-try-expect in favor of no-conditional-expect (6d07cad)

    v23.15.0

    Compare Source

    Features
    • no-standalone-expect: support additionalTestBlockFunctions (#​585) (ed220b2)

    v23.14.0

    Compare Source

    Bug Fixes
    • no-test-callback: check argument is an identifier (f70612d)
    • no-test-callback: provide suggestion instead of autofix (782d8fa)
    • prefer-strict-equal: provide suggestion instead of autofix (2eaed2b)
    Features
    • prefer-expect-assertions: provide suggestions (bad88a0)

    23.13.2 (2020-05-26)

    Bug Fixes

    23.13.1 (2020-05-17)

    Bug Fixes
    • no-if: use correct syntax for placeholder substitution in message (6d1eda8)

    v23.13.2

    Compare Source

    Bug Fixes

    v23.13.1

    Compare Source

    Bug Fixes
    • no-if: use correct syntax for placeholder substitution in message (6d1eda8)

    v23.13.0

    Compare Source

    Features

    v23.12.0

    Compare Source

    Features
    • deprecate no-expect-resolves rule (b6a22e5)
    • deprecate no-truthy-falsy rule (a67d92d)
    • deprecate prefer-inline-snapshots rule (1360e9b)

    v23.11.0

    Compare Source

    Features

    v23.10.0

    Compare Source

    Features
    • no-deprecated-functions: support jest version setting (#​564) (05f20b8)

    v23.9.0

    Compare Source

    Features

    23.8.2 (2020-03-06)

    Bug Fixes
    • prefer-to-contain: check that expect argument is defined before use (#​542) (56f909b)

    23.8.1 (2020-02-29)

    Bug Fixes

    Renovate configuration

    :date: Schedule: At any time (no schedule defined).

    :vertical_traffic_light: Automerge: Enabled.

    :recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    :no_bell: Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    automation 
    opened by renovate[bot] 0
  • Update webpack

    Update webpack

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | webpack | devDependencies | minor | 4.42.1 -> 4.43.0 | | webpack-cli | devDependencies | patch | 3.3.11 -> 3.3.12 |


    Release Notes

    webpack/webpack

    v4.43.0

    Compare Source

    Features

    • add module.hot.invalidate() to HMR API

    Dependencies

    • push versions for forced security updates
    webpack/webpack-cli

    v3.3.12

    Compare Source


    Renovate configuration

    :date: Schedule: At any time (no schedule defined).

    :vertical_traffic_light: Automerge: Enabled.

    :recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    :ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    automation 
    opened by renovate[bot] 0
  • chore(deps): update vue

    chore(deps): update vue

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | @vue/test-utils | devDependencies | minor | 1.0.0-beta.32 -> 1.1.0 | | vue | devDependencies | patch | 2.6.11 -> 2.6.12 | | vue-template-compiler | devDependencies | patch | 2.6.11 -> 2.6.12 |


    Release Notes

    vuejs/vue-test-utils

    v1.1.0

    Compare Source

    This is a pretty significant release. We undeprecated is and isVisible due to popular demand.

    Features

    Fixes

    Sync mode cleanup (#​1671) @​AtofStryker

    v1.0.5

    Compare Source

    Bug Fixes
    • extend Vue parent with options to support accessing root. with VCA (#​1661) (f78f817)
    • handle shallowMount on components with v-if and scoped slots (#​1663) (41f2b2b)

    v1.0.4

    Compare Source

    Bug Fixes

    v1.0.3

    Compare Source

    This is a small release, mainly to improve the deprecation messages.

    Bugfix/improvements

    fix #​1541: Improve deprecation messages (#​1548) fix: added missing import of the Cheerio type (fix #​1526) (#​1527) fix: Add attachToDocument conditional deprecation message, (#​1546) fix: Sync docs with v1.0 (#​1538)

    v1.0.2

    Compare Source

    Note: Version bump only for package vue-test-utils

    v1.0.1

    Compare Source

    v1.0.0

    Compare Source

    Features

    v1.0.0-beta.33

    Compare Source

    Bug Fixes
    Features
    vuejs/vue

    v2.6.12

    Compare Source


    Renovate configuration

    :date: Schedule: At any time (no schedule defined).

    :vertical_traffic_light: Automerge: Enabled.

    :recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    :ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    automation 
    opened by renovate[bot] 0
  • chore(deps): update babel to v7.12.0

    chore(deps): update babel to v7.12.0

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | @babel/core (source) | devDependencies | minor | 7.9.0 -> 7.12.0 | | @babel/preset-env (source) | devDependencies | minor | 7.9.0 -> 7.12.0 |


    Release Notes

    babel/babel

    v7.12.0

    Compare Source

    :eyeglasses: Spec Compliance
    • babel-core, babel-helper-module-transforms, babel-parser, babel-plugin-proposal-export-namespace-from, babel-plugin-syntax-module-string-names, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-modules-umd, babel-types
    • babel-parser
    :rocket: New Feature
    • babel-core, babel-generator, babel-parser, babel-plugin-syntax-import-assertions, babel-plugin-syntax-module-attributes, babel-standalone, babel-types
    • babel-core, babel-helper-create-class-features-plugin, babel-helper-module-transforms, babel-helper-replace-supers, babel-plugin-proposal-class-static-block, babel-plugin-transform-modules-commonjs, babel-standalone, babel-traverse, babel-types
    • babel-generator, babel-parser, babel-plugin-syntax-class-static-block, babel-types
    • babel-generator, babel-parser, babel-types
    • babel-parser, babel-types
    • babel-plugin-transform-modules-systemjs
    • babel-plugin-transform-typescript, babel-preset-typescript
    • babel-core, babel-helper-module-transforms, babel-parser, babel-plugin-proposal-export-namespace-from, babel-plugin-syntax-module-string-names, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-modules-umd, babel-types
    • babel-core
    :bug: Bug Fix
    :nail_care: Polish
    :house: Internal

    v7.11.6

    Compare Source

    :house: Internal
    :leftwards_arrow_with_hook: Revert

    v7.11.5

    Compare Source

    :bug: Bug Fix
    • babel-helper-builder-react-jsx-experimental, babel-plugin-transform-react-jsx-development
    • babel-parser
    • Other
    • babel-plugin-proposal-function-bind
      • #​12000 fix(plugin-proposal-function-bind): fix invalid code emitted for ::super.foo (@​uhyo)
    :nail_care: Polish
    :house: Internal

    v7.11.4

    Compare Source

    :bug: Bug Fix
    :house: Internal
    • Other
    • babel-parser
    • babel-helpers
    • babel-helper-transform-fixture-test-runner
    • babel-core, babel-helper-transform-fixture-test-runner, babel-plugin-proposal-object-rest-spread, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-destructuring, babel-plugin-transform-react-jsx-source, babel-plugin-transform-spread
    • babel-helper-bindify-decorators, babel-helper-call-delegate, babel-helper-explode-assignable-expression, babel-helper-explode-class, babel-helper-remap-async-to-generator, babel-helper-replace-supers

    v7.11.1

    Compare Source

    :bug: Bug Fix
    • babel-parser
    • babel-core
    • babel-plugin-transform-block-scoping, babel-standalone
    :memo: Documentation
    :house: Internal

    v7.11.0

    Compare Source

    :eyeglasses: Spec Compliance
    :rocket: New Feature
    :bug: Bug Fix
    • Other
    • babel-helper-skip-transparent-expression-wrappers, babel-plugin-proposal-optional-chaining, babel-plugin-transform-spread
    • babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-logical-assignment-operators
    • babel-plugin-transform-typescript
    • babel-plugin-transform-runtime
    • babel-parser
      • #​11862 Correctly check reserved word for PropertyDefinition: IdentifierReference (@​JLHwung)
      • #​11847 fix: correctly set innerEndPos in CoverParenthesizedExpressionAndArrowParameterList (@​JLHwung)
    • babel-generator, babel-parser, babel-plugin-transform-typescript
    • babel-generator
    :nail_care: Polish
    :house: Internal
    • Other
    • babel-standalone
    • babel-compat-data, babel-helper-compilation-targets, babel-preset-env
    • babel-compat-data, babel-core, babel-helper-module-transforms, babel-helper-split-export-declaration, babel-parser, babel-plugin-proposal-object-rest-spread, babel-plugin-transform-classes, babel-preset-env, babel-traverse, babel-types
    • babel-types
    • babel-compat-data

    v7.10.5

    Compare Source

    :bug: Bug Fix
    • babel-helper-builder-react-jsx-experimental, babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-helper-module-transforms, babel-helper-transform-fixture-test-runner, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-decorators, babel-plugin-proposal-function-bind, babel-plugin-proposal-partial-application, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-block-scoping, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-systemjs, babel-plugin-transform-parameters, babel-plugin-transform-react-jsx-source, babel-plugin-transform-runtime, babel-plugin-transform-template-literals, babel-plugin-transform-typescript
    • babel-parser
    • babel-plugin-transform-typescript
    • babel-plugin-transform-block-scoping
    • babel-generator, babel-plugin-transform-typescript, babel-types
    • babel-compat-data
    :memo: Documentation
    :house: Internal
    • babel-cli, babel-compat-data, babel-core, babel-helper-define-map, babel-helper-fixtures, babel-helper-module-transforms, babel-helper-regex, babel-helper-transform-fixture-test-runner, babel-node, babel-plugin-transform-proto-to-assign, babel-register, babel-traverse, babel-types
    • babel-helper-fixtures, babel-traverse
    • babel-helper-fixtures, babel-helper-transform-fixture-test-runner
    • babel-plugin-transform-block-scoping
    • babel-generator, babel-plugin-transform-typescript, babel-types
    • babel-cli, babel-generator, babel-helper-transform-fixture-test-runner, babel-traverse, babel-types
    • Other
    • babel-register

    v7.10.4

    Compare Source

    :eyeglasses: Spec Compliance
    • babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties
    • babel-parser, babel-types
    :bug: Bug Fix
    :nail_care: Polish
    :house: Internal

    v7.10.3

    Compare Source

    :eyeglasses: Spec Compliance
    • babel-parser
    • babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-optional-chaining
    • babel-plugin-proposal-logical-assignment-operators
    • babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-optional-chaining
    :bug: Bug Fix
    :nail_care: Polish
    :house: Internal

    v7.10.2

    Compare Source

    :rocket: New Feature
    :bug: Bug Fix
    :nail_care: Polish
    :house: Internal
    • babel-parser

    v7.10.1

    Compare Source

    :bug: Bug Fix
    :house: Internal

    v7.10.0

    Compare Source

    :eyeglasses: Spec Compliance
    • babel-plugin-proposal-logical-assignment-operators
      • #​11370 logical-assignment: Do not assign names to anonymous functions (@​arku)
    :rocket: New Feature
    • babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-helper-optimise-call-expression, babel-helper-replace-supers, babel-parser, babel-plugin-proposal-class-properties
    • babel-standalone
      • #​11593 feat: add privatePropertyInObject to babel-standalone (@​JLHwung)
      • #​11466 Support data-type="module" to generate native