profile
viewpoint
Xin Du (Clark) clarkdo Dublin, Ireland

clarkdo/castle 2

Nuxt.js+BootstrapVue+Axios

clarkdo/git-a-little-tale 1

A tutorial about git

clarkdo/adonuxt-template 0

Starter template for Nuxt.js with AdonisJS.

clarkdo/awesome-nuxt 0

A curated list of awesome things related to Nuxt.js

clarkdo/awesome-vue 0

A curated list of awesome things related to Vue.js

clarkdo/axios 0

Promise based HTTP client for the browser and node.js

startedreact-spring/use-cannon

started time in 4 days

startedreact-spring/zustand

started time in 4 days

push eventclarkdo/react-hooks-examples

Xin Du (Clark)

commit sha b099f9b6db7d766dc1c084aea06c51f993cd2883

comment examples

view details

push time in 5 days

push eventclarkdo/react-hooks-examples

Xin Du (Clark)

commit sha 84ac156ce4406f4a1520315e4f9f85001d35c3ce

Add useRef examples

view details

push time in 5 days

push eventclarkdo/react-hooks-examples

Xin Du (Clark)

commit sha 47704d93c945e1d16e0d076dac33ef3bac8bc598

Update examples

view details

push time in 5 days

push eventclarkdo/react-hooks-examples

Xin Du (Clark)

commit sha a2d59fd63fdb6555c2c5ba649565c077b8bae51b

Add useState examples

view details

push time in 5 days

push eventclarkdo/react-hooks-examples

Xin Du (Clark)

commit sha 01c329466000aa5f45e7558edfeaf7a27253c8b3

Add useMemo examples

view details

push time in 5 days

PublicEvent

push eventclarkdo/react-hooks-examples

Xin Du (Clark)

commit sha 4f3427f68d8430af64bbddb19d67e568ffa372fb

Add useRef files

view details

push time in 6 days

push eventclarkdo/react-hooks-examples

Xin Du (Clark)

commit sha f1ce846491b4c62ba74ca822fed3ade315fbeb9e

Add useReducer files

view details

push time in 6 days

push eventclarkdo/react-hooks-examples

Xin Du (Clark)

commit sha 6ccf7721b8c91bf55a697d5ce4ffc84f2e48f72b

Add useMemo files

view details

push time in 6 days

pull request commentnuxt/nuxt.js

fix: modules duplicated in multiple chunks now are always loaded by runtime.js

BTW, can you please provide me a minimal reproduciable repo about this issue ?

maunier

comment created time in 6 days

pull request commentnuxt/nuxt.js

fix: modules duplicated in multiple chunks now are always loaded by runtime.js

This plugin is cloned from vue, so would mind opening an issue there ? https://github.com/vuejs/vue/blob/4dec3b52c9b71f816e6b86d42ea53e9f2e559646/src/server/webpack-plugin/client.js#L40

I think introducing multiple chunks may need more analyse and data processing, I'll take a deep look about the change.

maunier

comment created time in 6 days

push eventnuxt/nuxt.js

Xin Du (Clark)

commit sha ad47216f247b975f2c3fb27ff5822477626e3c58

Update options.js

view details

push time in 8 days

push eventnuxt/nuxt.js

Xin Du (Clark)

commit sha 42463ad11b0d2e9a635b1d2be2dddc25ccc363e6

Update load.js

view details

push time in 8 days

Pull request review commentnuxt/nuxt.js

fix(config): disabe esm cache

 export async function loadNuxtConfig ({   configFile = defaultNuxtConfigFile,   configContext = {},   configOverrides = {},-  createRequire = module => isJest ? _createRequire(module.filename) : esm(module)+  createRequire = module => isJest ? _createRequire(module.filename) : esm(module, { cache: false, cjs: { cache: false } })

I think cache path of esm is calculated by esm package dir which can not be override

clarkdo

comment created time in 8 days

PR opened nuxt/nuxt.js

Reviewers
fix(config): disabe esm cache

<!--- Provide a general summary of your changes in the title above -->

Types of changes

<!--- What types of changes does your code introduce? Put an x in all the boxes that apply: -->

  • [ ] Bug fix (a non-breaking change which fixes an issue)
  • [ ] New feature (a non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

<!--- Describe your changes in detail --> <!--- Why is this change required? What problem does it solve? --> <!--- If it resolves an open issue, please link to the issue here. For example "Resolves: #1337" -->

Related to https://github.com/nuxt/nuxt.js/issues/7838

We can see there're some opened issues related to esm cache and there is no response for a long time, so I think we can disable it for now because we'll remove esm in Nuxt 3 anyway.

Checklist:

<!--- Put an x in all the boxes that apply. --> <!--- If your change requires a documentation PR, please link it appropriately --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly. (PR: #)
  • [ ] I have added tests to cover my changes (if not applicable, please state why)
  • [ ] All new and existing tests are passing.
+2 -2

0 comment

2 changed files

pr created time in 8 days

push eventnuxt/nuxt.js

Clark Du

commit sha ff61a0316abb3ea053897742358fc33081ef5881

fix(config): disabe esm cache

view details

push time in 8 days

create barnchnuxt/nuxt.js

branch : esm-cache

created branch time in 8 days

delete branch nuxt/eslint-config

delete branch : renovate/all-minor-patch

delete time in 14 days

push eventnuxt/eslint-config

renovate[bot]

commit sha 417376faff31f07b00f88dcef0b440d51af8e73b

chore(deps): update all non-major dependencies (#109)

view details

push time in 14 days

PR merged nuxt/eslint-config

chore(deps): update all non-major dependencies

This PR contains the following updates:

Package Type Update Change
@typescript-eslint/eslint-plugin dependencies patch ^3.7.0 -> ^3.7.1
@typescript-eslint/parser dependencies patch ^3.7.0 -> ^3.7.1
eslint-plugin-jest dependencies minor ^23.18.2 -> ^23.19.0

Release Notes

<details> <summary>typescript-eslint/typescript-eslint</summary>

v3.7.1

Compare Source

Bug Fixes
  • eslint-plugin: [adjacent-overload-signatures] fix false positive on call signatures and a method named call (#​2313) (30fafb0)
  • eslint-plugin: [no-extra-parens] stop reporting on calling generic functions with one argument and type parameters containing parentheses (#​2319) (616a841)
  • typescript-estree: correct AST regression introduced by TS4.0 upgrade (#​2316) (d7fefba)

</details>

<details> <summary>jest-community/eslint-plugin-jest</summary>

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)

</details>


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.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+40 -40

0 comment

3 changed files

renovate[bot]

pr closed time in 14 days

push eventnuxt/eslint-config

Xin Du (Clark)

commit sha f2ff5002ef6a6b96e3d7c4607f35be8a5594b040

chore(deps): add back range version for eslint-plugin-import

view details

push time in 14 days

issue commentnuxt/eslint-config

Upgrade eslint-plugin-import dependency

Thanks, it was fixed because of a windows import/order bug in in 2.20.

The bug has been fixed, I've change it back to ^, thanks for the reminding.

mwgamble

comment created time in 14 days

issue closednuxt/eslint-plugin-nuxt

Which packages are necessary when using ESLint and Nuxt?

Currently, I have 5 different ESLint related packages in my devDependencies that all seemingly are used for a different purpose:

"@nuxtjs/eslint-config": "^3.0.0",
"@nuxtjs/eslint-module": "^2.0.0",
"eslint-plugin-nuxt": "^1.0.0",
"babel-eslint": "^10.1.0",
"eslint": "7.1.0",

Are any of these superfluous, meaning that they're unnecessarily included by me when they're already dependent on one another?

It seems:

Is there a move towards conslidation between these different packages with eslint-plugin-nuxt? Just curious what the rationale is and/or what the optimal way to include everything with a Nuxt project is.

closed time in 14 days

nathanchase

issue commentnuxt/eslint-plugin-nuxt

Which packages are necessary when using ESLint and Nuxt?

Sorry for the late reply.

We may add eslint-plugin-nuxt to @nuxtjs/eslint-config, then you will only need @nuxtjs/eslint-config and also @nuxtjs/eslint-module if you need eslint-loader, but explicit dependencies are always encouraged.

"@nuxtjs/eslint-config": "^3.0.0",

This package include all the pre-defined and recommended eslint configurations from eslint-config-standard, eslint-plugin-unicorn and eslint-plugin-vue, many nuxt repos (core repo, community modules reops) are also using it.

"@nuxtjs/eslint-module": "^2.0.0"

This is a nuxt module which will enable eslint-loader at runtime in dev mode.

"eslint-plugin-nuxt": "^1.0.0",

This is nuxt eslint plugin which includes nuxt app specific eslint rules like rules for: nuxt lifecycle methods and configurations.

"babel-eslint": "^10.1.0", "eslint": "7.1.0",

I think these are eslint fundamental dependencies if you use eslint and babel

nathanchase

comment created time in 14 days

release nuxt/create-nuxt-app

v3.2.0

released time in 14 days

issue closednuxt/create-nuxt-app

[Vuetify] [UPGRADE] 'v-content' is deprecated, use 'v-main' instead.

After executing

npx create-nuxt-app <project-name>
cd <project-name>
npm run dev

Will have warning as below

 WARN  [Vuetify] [UPGRADE] 'v-content' is deprecated, use 'v-main' instead.                                                                                                               03:04:31

found in

---> <VMain>
       <VApp>
         <Layouts/default.vue> at layouts/default.vue
           <Root>

Versions

  • nuxt: v2.13.3
  • node:v10.16.2

Reproduction

execute as below

npx create-nuxt-app <project-name>
cd <project-name>
npm run dev

<details open> <summary>Additional Details</summary> <br> The default package.json

{
  "name": "src",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "dev": "nuxt",
    "build": "nuxt build",
    "start": "nuxt start",
    "export": "nuxt export",
    "serve": "nuxt serve",
    "lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .",
    "lint": "npm run lint:js",
    "test": "jest"
  },
  "dependencies": {
    "@nuxtjs/axios": "^5.11.0",
    "@nuxtjs/pwa": "^3.0.0-beta.20",
    "nuxt": "^2.13.0",
    "vuetify": "^2.3.4"
  },
  "devDependencies": {
    "@nuxtjs/eslint-config": "^3.0.0",
    "@nuxtjs/eslint-module": "^2.0.0",
    "@nuxtjs/vuetify": "^1.11.2",
    "@vue/test-utils": "^1.0.3",
    "babel-core": "7.0.0-bridge.0",
    "babel-eslint": "^10.1.0",
    "babel-jest": "^26.0.1",
    "eslint": "^7.2.0",
    "eslint-config-prettier": "^6.11.0",
    "eslint-plugin-nuxt": "^1.0.0",
    "eslint-plugin-prettier": "^3.1.4",
    "jest": "^26.0.1",
    "prettier": "^2.0.5",
    "vue-jest": "^3.0.4"
  }
}

</details>

What is Expected?

It seems been fixed by Vuetify recently: https://github.com/nuxt-community/vuetify-module/pull/344 But in my package.json, the "@nuxtjs/vuetify": "^1.11.2" which "devDependencies" is using still has this problem

closed time in 14 days

entryword

push eventnuxt/create-nuxt-app

Clark Du

commit sha 1cc5e50002701ba4fff393dc0b1e9fc1c4456639

v3.2.0

view details

push time in 14 days

created tagnuxt/create-nuxt-app

tagv3.2.0

Create Nuxt.js App in seconds.

created time in 14 days

push eventnuxt/create-nuxt-app

Clark Du

commit sha f547654c4b478a2c59aa1ed49867da9251202a9a

fix(vuetify): v-content is deprecated

view details

push time in 14 days

push eventnuxt/create-nuxt-app

Ekunola Ezekiel

commit sha c9ede63abdad60462fd3280fbd211a857e8fe1e8

feat: add chakra-ui-vue (#573) Co-authored-by: Clark Du <clark.duxin@gmail.com>

view details

push time in 14 days

PR merged nuxt/create-nuxt-app

feat: add chakra-ui-vue

Added chakra-ui-vue ui library

https://vue.chakra-ui.com

+321 -0

0 comment

8 changed files

Easybuoy

pr closed time in 14 days

push eventEasybuoy/create-nuxt-app

Clark Du

commit sha 8c8fab5ff972170be16ef06fcf4422731f8fc5ad

fix test

view details

push time in 14 days

push eventEasybuoy/create-nuxt-app

Clark Du

commit sha a33b05f91618e5108ef4e57a245a2e1251e0ce74

fix inindentation

view details

push time in 14 days

push eventEasybuoy/create-nuxt-app

pooya parsa

commit sha 677b3ba8160327578c1e6a1ebfb749d626431694

refactor: remove export and serve commands (nuxt/nuxt.js/7712)

view details

renovate[bot]

commit sha 80f8137ada525844cc4f307005ce5fa047c70357

chore(deps): lock file maintenance (#555) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

James George

commit sha 21d6729c64e608bf53d87868b372d2e0d1041587

fix: show up an appropriate warning if the target path exists and is non-empty (#570)

view details

Andrea Stagi

commit sha 2ef8cb6c3a10dd2416737dda82bbbd740be994dd

Make WebdriverIO tests pass after app creation (#577)

view details

renovate[bot]

commit sha f46e80d51da74ffb70cbe5454c8934fa671adb39

chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v3 (#579) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

renovate[bot]

commit sha 417e9646f3d9968a73f259195b54b9d1713b7d18

chore(deps): update all non-major dependencies (#552) * chore(deps): update all non-major dependencies * update snapshot Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: pooya parsa <pyapar@gmail.com>

view details

Clark Du

commit sha c054b4aed6798aa1216e816e21d6e23d9a52bcf6

Merge remote-tracking branch 'origin/master' into feat/add-chakra-ui-vue

view details

push time in 14 days

pull request commentnuxt/create-nuxt-app

fix: make WebdriverIO tests pass after app creation

Thanks @astagi

astagi

comment created time in 15 days

push eventnuxt/create-nuxt-app

Andrea Stagi

commit sha 2ef8cb6c3a10dd2416737dda82bbbd740be994dd

Make WebdriverIO tests pass after app creation (#577)

view details

push time in 15 days

pull request commentnuxt/create-nuxt-app

fix: do not proceed if the target directory exists and is non-empty

Thanks @jamesgeorge007

jamesgeorge007

comment created time in 15 days

push eventnuxt/create-nuxt-app

James George

commit sha 21d6729c64e608bf53d87868b372d2e0d1041587

fix: show up an appropriate warning if the target path exists and is non-empty (#570)

view details

push time in 15 days

issue closednuxt/create-nuxt-app

CNA should fail if the target directory is not empty

Say, we have got a directory my-app in the current path. Firing in create-nuxt-app my-app goes ahead generating the project files within that directory.

closed time in 15 days

jamesgeorge007

push eventnuxt/eslint-config

Clark Du

commit sha dd44623f5cffe938bf9c5370dd505b52cdb45750

chore: revert ts package to 2.0

view details

Clark Du

commit sha 0ec26e92ec1618a6d348936ad6f9624eec54750a

Publish - @nuxtjs/eslint-config-typescript@3.0.0

view details

push time in 15 days

created tagnuxt/eslint-config

tag@nuxtjs/eslint-config-typescript@3.0.0

ESlint config used for Nuxt.js

created time in 15 days

release nuxt/eslint-config

@nuxtjs/eslint-config@3.1.0

released time in 15 days

issue closednuxt/eslint-config

Upgrade eslint-plugin-import dependency

Currently the eslint-plugin-import dependency is pinned at 2.19.1, which means we can't even upgrade it ourselves if we wanted to. It'd be great if this could (at the very least) be changed to ^2.19.1, so that it can be upgraded to a newer version that has important bugfixes.

closed time in 15 days

mwgamble

issue commentnuxt/eslint-config

Upgrade eslint-plugin-import dependency

v3.1.0 has been published with latest deps

mwgamble

comment created time in 15 days

created tagnuxt/eslint-config

tag@nuxtjs/eslint-config-typescript@2.1.0

ESlint config used for Nuxt.js

created time in 15 days

push eventnuxt/eslint-config

Clark Du

commit sha 936f370d3310b6a8aa88c14d093c2eb585369d85

Publish - @nuxtjs/eslint-config-typescript@2.1.0 - @nuxtjs/eslint-config@3.1.0

view details

push time in 15 days

created tagnuxt/eslint-config

tag@nuxtjs/eslint-config@3.1.0

ESlint config used for Nuxt.js

created time in 15 days

PR merged nuxt/eslint-plugin-nuxt

chore(deps): update all non-major dependencies

This PR contains the following updates:

Package Type Update Change
eslint (source) devDependencies minor ^7.4.0 -> ^7.5.0
standard-version devDependencies patch ^8.0.1 -> ^8.0.2

Release Notes

<details> <summary>eslint/eslint</summary>

v7.5.0

Compare Source

</details>

<details> <summary>conventional-changelog/standard-version</summary>

v8.0.2

Compare Source

</details>


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.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+34 -22

0 comment

2 changed files

renovate[bot]

pr closed time in 15 days

delete branch nuxt/eslint-plugin-nuxt

delete branch : renovate/all-minor-patch

delete time in 15 days

push eventnuxt/eslint-plugin-nuxt

Renovate Bot

commit sha 6a0d3bed1927991ee8cc04909d99ce07f4f7d94e

chore(deps): update all non-major dependencies

view details

Xin Du (Clark)

commit sha 91b17e9b4ff92423c4ebcd292c9cd9740e348ad7

Merge pull request #112 from nuxt/renovate/all-minor-patch chore(deps): update all non-major dependencies

view details

push time in 15 days

delete branch nuxt/eslint-plugin-nuxt

delete branch : renovate/all-minor-patch

delete time in 15 days

push eventnuxt/eslint-plugin-nuxt

Renovate Bot

commit sha c24fa06782c007308697829ecdac9ea7f884b08a

chore(deps): update all non-major dependencies

view details

Xin Du (Clark)

commit sha c4076de81d9e97917412811a037d1dc195c7f3c4

Merge pull request #108 from nuxt/renovate/all-minor-patch chore(deps): update all non-major dependencies

view details

push time in 15 days

PR merged nuxt/eslint-plugin-nuxt

chore(deps): update all non-major dependencies

This PR contains the following updates:

Package Type Update Change
eslint (source) devDependencies minor ^7.0.0 -> ^7.4.0
eslint-plugin-import devDependencies minor ^2.20.2 -> ^2.22.0
jest (source) devDependencies minor ^26.0.1 -> ^26.1.0
lint-staged devDependencies patch ^10.2.2 -> ^10.2.11
standard-version devDependencies patch ^8.0.0 -> ^8.0.1
vue-eslint-parser dependencies minor ^7.0.0 -> ^7.1.0

Release Notes

<details> <summary>eslint/eslint</summary>

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

</details>

<details> <summary>benmosher/eslint-plugin-import</summary>

v2.22.0

Compare Source

Added
  • [no-unused-modules]: consider exported TypeScript interfaces, types and enums ([#​1819], thanks [@​nicolashenry])
  • [no-cycle]: allow maxDepth option to be "∞" (thanks [@​ljharb])
Fixed
  • [order]/TypeScript: properly support import = object expressions ([#​1823], thanks [@​manuth])
  • [no-extraneous-dependencies]/TypeScript: do not error when importing type from dev dependencies ([#​1820], thanks [@​fernandopasik])
  • [default]: avoid crash with export = ([#​1822], thanks [@​AndrewLeedham])
  • [order]/[newline-after-import]: ignore TypeScript's "export import object" ([#​1830], thanks [@​be5invis])
  • [dynamic-import-chunkname]/TypeScript: supports @typescript-eslint/parser ([#​1833], thanks [@​noelebrun])
  • [order]/TypeScript: ignore ordering of object imports ([#​1831], thanks [@​manuth])
  • [namespace]: do not report on shadowed import names ([#​518], thanks [@​ljharb])
  • [export]: avoid warning on export * as non-conflicts ([#​1834], thanks [@​ljharb])
Changed
  • [no-extraneous-dependencies]: add tests for importing types ([#​1824], thanks [@​taye])
  • [docs][no-default-export]: Fix docs url ([#​1836], thanks [@​beatrizrezener])
  • [docs][imports-first]: deprecation info and link to first docs ([#​1835], thanks [@​beatrizrezener])

v2.21.2

Compare Source

Fixed
  • [order]: avoid a crash on TypeScript’s export import syntax ([#​1808], thanks [@​ljharb])
  • [newline-after-import]: consider TypeScript import = syntax' ([#​1811], thanks [@​ljharb])
  • [no-internal-modules]: avoid a crash on a named export declaration ([#​1814], thanks [@​ljharb])

v2.21.1

Compare Source

Fixed
  • TypeScript: [import/named]: avoid requiring typescript when not using TS ([#​1805], thanks [@​ljharb])

v2.21.0

Compare Source

Added
  • [import/default]: support default export in TSExportAssignment ([#​1528], thanks [@​joaovieira])
  • [no-cycle]: add ignoreExternal option ([#​1681], thanks [@​sveyret])
  • [order]: Add support for TypeScript's "import equals"-expressions ([#​1785], thanks [@​manuth])
  • [import/default]: support default export in TSExportAssignment ([#​1689], thanks [@​Maxim-Mazurok])
  • [no-restricted-paths]: add custom message support ([#​1802], thanks [@​malykhinvi])
Fixed
  • [group-exports]: Flow type export awareness ([#​1702], thanks [@​ernestostifano])
  • [order]: Recognize pathGroup config for first group ([#​1719], [#​1724], thanks [@​forivall], [@​xpl])
  • [no-unused-modules]: Fix re-export not counting as usage when used in combination with import ([#​1722], thanks [@​Ephem])
  • [no-duplicates]: Handle TS import type ([#​1676], thanks [@​kmui2])
  • [newline-after-import]: recognize decorators ([#​1139], thanks [@​atos1990])
  • [no-unused-modules]: Revert "[flow] no-unused-modules: add flow type support" ([#​1770], thanks [@​Hypnosphi])
  • TypeScript: Add nested namespace handling ([#​1763], thanks [@​julien1619])
  • [namespace]/ExportMap: Fix interface declarations for TypeScript ([#​1764], thanks [@​julien1619])
  • [no-unused-modules]: avoid order-dependence ([#​1744], thanks [@​darkartur])
  • [no-internal-modules]: also check export from syntax ([#​1691], thanks [@​adjerbetian])
  • TypeScript: [export]: avoid a crash with export = ([#​1801], thanks [@​ljharb])
Changed
  • [Refactor] no-extraneous-dependencies: use moduleVisitor ([#​1735], thanks [@​adamborowski])
  • TypeScript config: Disable [named][] ([#​1726], thanks [@​astorije])
  • [readme] Remove duplicate no-unused-modules from docs ([#​1690], thanks [@​arvigeus])
  • [Docs] order: fix bad inline config ([#​1788], thanks [@​nickofthyme])
  • [Tests] Add fix for Windows Subsystem for Linux ([#​1786], thanks [@​manuth])
  • [Docs] no-unused-rules: Fix docs for unused exports ([#​1776], thanks [@​barbogast])
  • [eslint] bump minimum v7 version to v7.2.0

</details>

<details> <summary>facebook/jest</summary>

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)

</details>

<details> <summary>okonet/lint-staged</summary>

v10.2.11

Compare Source

Bug Fixes
  • run all git commands with submodule.recurse=false (#​888) (86c9ed2)

v10.2.10

Compare Source

Bug Fixes
  • Git directory is not correctly resolved if GIT_WORK_TREE is set to relative path (#​887) (a1904ec)

v10.2.9

Compare Source

Bug Fixes
  • update listr@2.1.0 and add enquirer peer dependency (#​883) (0daae61)

v10.2.8

Compare Source

Bug Fixes
  • canceling lint-staged via SIGINT restores state and cleans up (#​881) (b078324)

v10.2.7

Compare Source

Bug Fixes
  • use machine output to avoid escaped and quoted filenames (ea80a3d)

v10.2.6

Compare Source

Bug Fixes
  • remove nanoid devDependency to remove ExperimentalWarning (#​874) (979da5d)

v10.2.5

Compare Source

Bug Fixes

v10.2.4

Compare Source

Bug Fixes

v10.2.3

Compare Source

Bug Fixes

</details>

<details> <summary>conventional-changelog/standard-version</summary>

v8.0.1

Compare Source

</details>

<details> <summary>mysticatea/vue-eslint-parser</summary>

v7.1.0

Compare Source

✨ Enhancements

  • 27a275f updates the default parser loading logic to use the espree of loaded ESLint.

🐛 Bug fixes

  • 6c1ac68 fixed the parser to generate correct comment data.

</details>


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.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+558 -644

0 comment

2 changed files

renovate[bot]

pr closed time in 15 days

delete branch nuxt/eslint-config

delete branch : renovate/lock-file-maintenance

delete time in 15 days

push eventnuxt/eslint-config

renovate[bot]

commit sha 662fbcc758d43340f89926479464338018bab0ae

chore(deps): lock file maintenance (#102) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

push time in 15 days

PR merged nuxt/eslint-config

chore(deps): lock file maintenance

This PR contains the following updates:

Update Change
lockFileMaintenance All locks refreshed

:wrench: This Pull Request updates lock files to use the latest dependency versions.


Renovate configuration

:date: Schedule: "before 5am on monday" (UTC).

: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.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+734 -712

0 comment

1 changed file

renovate[bot]

pr closed time in 15 days

push eventnuxt/eslint-config

renovate[bot]

commit sha 61621b579d0cef9bd8a6fb35777be52c1c2ebd8e

chore(deps): update all non-major dependencies (#97)

view details

push time in 15 days

delete branch nuxt/eslint-config

delete branch : renovate/all-minor-patch

delete time in 15 days

PR merged nuxt/eslint-config

chore(deps): update all non-major dependencies

This PR contains the following updates:

Package Type Update Change
@typescript-eslint/eslint-plugin dependencies minor ^3.6.0 -> ^3.7.0
@typescript-eslint/parser dependencies minor ^3.6.0 -> ^3.7.0
eslint (source) peerDependencies minor ^7.0.0 -> ^7.5.0
eslint (source) devDependencies minor 7.0.0 -> 7.5.0
eslint-plugin-import dependencies minor 2.19.1 -> 2.22.0
eslint-plugin-jest dependencies minor ^23.10.0 -> ^23.18.2
jest (source) devDependencies minor 26.0.1 -> 26.1.0
lerna devDependencies minor 3.20.2 -> 3.22.1

Release Notes

<details> <summary>typescript-eslint/typescript-eslint</summary>

v3.7.0

Compare Source

Features
  • eslint-plugin: [naming-convention] allow selecting only const variables (#​2291) (156d058)
  • eslint-plugin: [no-empty-function] add decoratedFunctions option (#​2295) (88f08f4)
  • typescript-estree: support short-circuiting assignment operators (#​2307) (2c90d9f)
  • typescript-estree: support type annotations on catch clauses (#​2306) (b5afe9c)

3.6.1 (2020-07-13)

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] handle computed member access (#​2288) (3a187ca)
  • eslint-plugin: [prefer-literal-enum-member] allow negative numbers (#​2277) (00ac9c3)
  • eslint-plugin: [space-before-function-paren] incorrect handling of abstract methods (#​2275) (ced6591), closes #​2274
  • eslint-plugin: [switch-exhaustiveness-check] handle special characters in enum keys (#​2207) (98ab010)

v3.6.1

Compare Source

Bug Fixes
  • eslint-plugin: [no-unnecessary-condition] handle computed member access (#​2288) (3a187ca)
  • eslint-plugin: [prefer-literal-enum-member] allow negative numbers (#​2277) (00ac9c3)
  • eslint-plugin: [space-before-function-paren] incorrect handling of abstract methods (#​2275) (ced6591), closes #​2274
  • eslint-plugin: [switch-exhaustiveness-check] handle special characters in enum keys (#​2207) (98ab010)

</details>

<details> <summary>eslint/eslint</summary>

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

</details>

<details> <summary>benmosher/eslint-plugin-import</summary>

v2.22.0

Compare Source

Added
  • [no-unused-modules]: consider exported TypeScript interfaces, types and enums ([#​1819], thanks [@​nicolashenry])
  • [no-cycle]: allow maxDepth option to be "∞" (thanks [@​ljharb])
Fixed
  • [order]/TypeScript: properly support import = object expressions ([#​1823], thanks [@​manuth])
  • [no-extraneous-dependencies]/TypeScript: do not error when importing type from dev dependencies ([#​1820], thanks [@​fernandopasik])
  • [default]: avoid crash with export = ([#​1822], thanks [@​AndrewLeedham])
  • [order]/[newline-after-import]: ignore TypeScript's "export import object" ([#​1830], thanks [@​be5invis])
  • [dynamic-import-chunkname]/TypeScript: supports @typescript-eslint/parser ([#​1833], thanks [@​noelebrun])
  • [order]/TypeScript: ignore ordering of object imports ([#​1831], thanks [@​manuth])
  • [namespace]: do not report on shadowed import names ([#​518], thanks [@​ljharb])
  • [export]: avoid warning on export * as non-conflicts ([#​1834], thanks [@​ljharb])
Changed
  • [no-extraneous-dependencies]: add tests for importing types ([#​1824], thanks [@​taye])
  • [docs][no-default-export]: Fix docs url ([#​1836], thanks [@​beatrizrezener])
  • [docs][imports-first]: deprecation info and link to first docs ([#​1835], thanks [@​beatrizrezener])

v2.21.2

Compare Source

Fixed
  • [order]: avoid a crash on TypeScript’s export import syntax ([#​1808], thanks [@​ljharb])
  • [newline-after-import]: consider TypeScript import = syntax' ([#​1811], thanks [@​ljharb])
  • [no-internal-modules]: avoid a crash on a named export declaration ([#​1814], thanks [@​ljharb])

v2.21.1

Compare Source

Fixed
  • TypeScript: [import/named]: avoid requiring typescript when not using TS ([#​1805], thanks [@​ljharb])

v2.21.0

Compare Source

Added
  • [import/default]: support default export in TSExportAssignment ([#​1528], thanks [@​joaovieira])
  • [no-cycle]: add ignoreExternal option ([#​1681], thanks [@​sveyret])
  • [order]: Add support for TypeScript's "import equals"-expressions ([#​1785], thanks [@​manuth])
  • [import/default]: support default export in TSExportAssignment ([#​1689], thanks [@​Maxim-Mazurok])
  • [no-restricted-paths]: add custom message support ([#​1802], thanks [@​malykhinvi])
Fixed
  • [group-exports]: Flow type export awareness ([#​1702], thanks [@​ernestostifano])
  • [order]: Recognize pathGroup config for first group ([#​1719], [#​1724], thanks [@​forivall], [@​xpl])
  • [no-unused-modules]: Fix re-export not counting as usage when used in combination with import ([#​1722], thanks [@​Ephem])
  • [no-duplicates]: Handle TS import type ([#​1676], thanks [@​kmui2])
  • [newline-after-import]: recognize decorators ([#​1139], thanks [@​atos1990])
  • [no-unused-modules]: Revert "[flow] no-unused-modules: add flow type support" ([#​1770], thanks [@​Hypnosphi])
  • TypeScript: Add nested namespace handling ([#​1763], thanks [@​julien1619])
  • [namespace]/ExportMap: Fix interface declarations for TypeScript ([#​1764], thanks [@​julien1619])
  • [no-unused-modules]: avoid order-dependence ([#​1744], thanks [@​darkartur])
  • [no-internal-modules]: also check export from syntax ([#​1691], thanks [@​adjerbetian])
  • TypeScript: [export]: avoid a crash with export = ([#​1801], thanks [@​ljharb])
Changed
  • [Refactor] no-extraneous-dependencies: use moduleVisitor ([#​1735], thanks [@​adamborowski])
  • TypeScript config: Disable [named][] ([#​1726], thanks [@​astorije])
  • [readme] Remove duplicate no-unused-modules from docs ([#​1690], thanks [@​arvigeus])
  • [Docs] order: fix bad inline config ([#​1788], thanks [@​nickofthyme])
  • [Tests] Add fix for Windows Subsystem for Linux ([#​1786], thanks [@​manuth])
  • [Docs] no-unused-rules: Fix docs for unused exports ([#​1776], thanks [@​barbogast])
  • [eslint] bump minimum v7 version to v7.2.0

v2.20.2

Compare Source

Fixed
  • [order]: fix isExternalModule detect on windows ([#​1651], thanks [@​fisker])
  • [order]: recognize ".." as a "parent" path ([#​1658], thanks [@​golopot])
  • [no-duplicates]: fix fixer on cases with default import ([#​1666], thanks [@​golopot])
  • [no-unused-modules]: Handle export { default } from syntax ([#​1631], thanks [@​richardxia])
  • [first]: Add a way to disable absolute-first explicitly ([#​1664], thanks [@​TheCrueltySage])
  • [Docs] no-webpack-loader-syntax: Updates webpack URLs ([#​1751], thanks [@​MikeyBeLike])

v2.20.1

Compare Source

Fixed
  • [export]: Handle function overloading in *.d.ts ([#​1619], thanks [@​IvanGoncharov])
  • [no-absolute-path]: fix a crash with invalid import syntax ([#​1616], thanks [@​ljharb])
  • [import/external-module-folders setting] now correctly works with directories containing modules symlinked from node_modules ([#​1605], thanks [@​skozin])
  • [extensions]: for invalid code where name does not exist, do not crash ([#​1613], thanks [@​ljharb])
  • [extensions]: Fix scope regex ([#​1611], thanks [@​yordis])
  • [no-duplicates]: allow duplicate imports if one is a namespace and the other not ([#​1612], thanks [@​sveyret])
  • Add some missing rule meta schemas and types ([#​1620], thanks [@​bmish])
  • [named]: for importing from a module which re-exports named exports from a node_modules module ([#​1569], [#​1447], thanks [@​redbugz], [@​kentcdodds])
  • [order]: Fix alphabetize for mixed requires and imports ([#​5625], thanks [@​wschurman])
Changed
  • [import/external-module-folders setting] behavior is more strict now: it will only match complete path segments ([#​1605], thanks [@​skozin])
  • [meta] fix "files" field to include/exclude the proper files ([#​1635], thanks [@​ljharb])
  • [Tests] order: Add TS import type tests ([#​1736], thanks [@​kmui2])

v2.20.0

Compare Source

Added
  • [order]: added caseInsensitive as an additional option to alphabetize ([#​1586], thanks [@​dbrewer5])
  • [no-restricted-paths]: New except option per zone, allowing exceptions to be defined for a restricted zone ([#​1238], thanks [@​rsolomon])
  • [order]: add option pathGroupsExcludedImportTypes to allow ordering of external import types ([#​1565], thanks [@​Mairu])
Fixed
  • [no-unused-modules]: fix usage of import/extensions settings ([#​1560], thanks [@​stekycz])
  • [extensions]: ignore non-main modules ([#​1563], thanks [@​saschanaz])
  • TypeScript config: lookup for external modules in @​types folder ([#​1526], thanks [@​joaovieira])
  • [no-extraneous-dependencies]: ensure node.source is truthy ([#​1589], thanks [@​ljharb])
  • [extensions]: Ignore query strings when checking for extensions ([#​1572], thanks [@​pcorpet])
Docs
  • [extensions]: improve ignorePackages docs ([#​1248], thanks [@​ivo-stefchev])

</details>

<details> <summary>jest-community/eslint-plugin-jest</summary>

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

</details>

<details> <summary>facebook/jest</summary>

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)

</details>

<details> <summary>lerna/lerna</summary>

v3.22.1

Compare Source

Bug Fixes

v3.22.0

Compare Source

Bug Fixes
Features

v3.21.0

Compare Source

Bug Fixes
  • publish: Canary releases without previous tags should not explode (c9eb590)
Features
  • project: Add getPackagesSync() export (068bdd7)
  • version: Ignore private packages completely with --no-private ([a9b9</details>

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.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+608 -560

0 comment

4 changed files

renovate[bot]

pr closed time in 15 days

PR closed nuxt/eslint-config

upgrade for eslint 7

https://github.com/benmosher/eslint-plugin-import/commit/6a110dd16a7fd775f08601054bf14ffd503eea7b

+2 -2

2 comments

1 changed file

yoyo837

pr closed time in 15 days

pull request commentnuxt/eslint-config

upgrade for eslint 7

Thanks for the pr, this will be covered in https://github.com/nuxt/eslint-config/pull/97

yoyo837

comment created time in 15 days

delete branch nuxt/eslint-config

delete branch : renovate/eslint-plugin-unicorn-21.x

delete time in 15 days

push eventnuxt/eslint-config

renovate[bot]

commit sha c3c0a3f1947ad24ac470d7f3af20dde772761534

chore(deps): update dependency eslint-plugin-unicorn to v21 (#108)

view details

push time in 15 days

PR merged nuxt/eslint-config

chore(deps): update dependency eslint-plugin-unicorn to v21

This PR contains the following updates:

Package Type Update Change
eslint-plugin-unicorn dependencies major ^20.1.0 -> ^21.0.0

Release Notes

<details> <summary>sindresorhus/eslint-plugin-unicorn</summary>

v21.0.0

Compare Source

New rules
Improvements
  • Add ev to event default replacement to prevent-abbreviations rule (#​793) a0b4aba
  • Ignore more types in no-fn-reference-in-iterator and no-reduce rule (#​756) 5159c24
  • Make unicorn/prefer-flat-map not enabled by default in the recommended config 655220a
  • Improve consistent-function-scoping report location (#​778) df218a2
  • Improve consistent-function-scoping message (#​773) 4ed2adf
Fixes
  • consistent-function-scoping: Fix wrong detect of IIFE (#​772) f7127da
  • prefer-starts-ends-with: Fix pipe in regex (#​783) 1dca2f3
  • prevent-abbreviations: Fix optional parameter (#​764) 7781c3f
  • no-useless-undefined: Ignore undefined use in compare functions (#​758) 6d36407

</details>


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.

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


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+13 -6

0 comment

2 changed files

renovate[bot]

pr closed time in 15 days

push eventnuxt/eslint-config

Xin Du (Clark)

commit sha accc6bb64a4500d762a5ccac9d8322afac6b7af1

chore{d

view details

push time in 15 days

delete branch nuxt/eslint-config

delete branch : dependabot/npm_and_yarn/lodash-4.17.19

delete time in 15 days

PR closed nuxt/eslint-config

chore(deps): bump lodash from 4.17.15 to 4.17.19 dependencies

⚠️ Dependabot is rebasing this PR ⚠️

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


Bumps lodash from 4.17.15 to 4.17.19. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lodash/lodash/releases">lodash's releases</a>.</em></p> <blockquote> <h2>4.17.16</h2> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lodash/lodash/commit/d7fbc52ee0466a6d248f047b5d5c3e6d1e099056"><code>d7fbc52</code></a> Bump to v4.17.19</li> <li><a href="https://github.com/lodash/lodash/commit/2e1c0f22f425e9c013815b2cd7c2ebd51f49a8d6"><code>2e1c0f2</code></a> Add npm-package</li> <li><a href="https://github.com/lodash/lodash/commit/1b6c282299f4e0271f932b466c67f0f822aa308e"><code>1b6c282</code></a> Bump to v4.17.18</li> <li><a href="https://github.com/lodash/lodash/commit/a370ac81408de2da77a82b3c4b61a01a3b9c2fac"><code>a370ac8</code></a> Bump to v4.17.17</li> <li><a href="https://github.com/lodash/lodash/commit/1144918f3578a84fcc4986da9b806e63a6175cbb"><code>1144918</code></a> Rebuild lodash and docs</li> <li><a href="https://github.com/lodash/lodash/commit/3a3b0fd339c2109563f7e8167dc95265ed82ef3e"><code>3a3b0fd</code></a> Bump to v4.17.16</li> <li><a href="https://github.com/lodash/lodash/commit/c84fe82760fb2d3e03a63379b297a1cc1a2fce12"><code>c84fe82</code></a> fix(zipObjectDeep): prototype pollution (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4759">#4759</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/e7b28ea6cb17b4ca021e7c9d66218c8c89782f32"><code>e7b28ea</code></a> Sanitize sourceURL so it cannot affect evaled code (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4518">#4518</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/0cec225778d4ac26c2bac95031ecc92a94f08bbb"><code>0cec225</code></a> Fix lodash.isEqual for circular references (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4320">#4320</a>) (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4515">#4515</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/94c3a8133cb4fcdb50db72b4fd14dd884b195cd5"><code>94c3a81</code></a> Document matches* shorthands for over* methods (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4510">#4510</a>) (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4514">#4514</a>)</li> <li>Additional commits viewable in <a href="https://github.com/lodash/lodash/compare/4.17.15...4.17.19">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/~mathias">mathias</a>, a new releaser for lodash 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

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

</details>

+3 -3

0 comment

1 changed file

dependabot[bot]

pr closed time in 15 days

push eventnuxt/eslint-config

renovate[bot]

commit sha 280483fe2120e860636e0187268241583bc045c3

chore(deps): update dependency eslint-plugin-unicorn to v20 (#99) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

push time in 15 days

delete branch nuxt/eslint-config

delete branch : renovate/eslint-plugin-unicorn-20.x

delete time in 15 days

PR merged nuxt/eslint-config

chore(deps): update dependency eslint-plugin-unicorn to v20

This PR contains the following updates:

Package Type Update Change
eslint-plugin-unicorn dependencies major ^19.0.1 -> ^20.1.0

Release Notes

<details> <summary>sindresorhus/eslint-plugin-unicorn</summary>

v20.1.0

Compare Source

  • Use singular array element variable name in autofix for no-for-loop rule (#​745) 2002093
  • Avoid naming collision with default array element variable in autofix for no-for-loop rule (#​749) 48bd5c8

v20.0.0

Compare Source

Breaking
New rules
Improvements
Fixes

</details>


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.

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


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+22 -16

1 comment

2 changed files

renovate[bot]

pr closed time in 15 days

delete branch nuxt/eslint-config

delete branch : dependabot/npm_and_yarn/acorn-7.2.0

delete time in 15 days

push eventnuxt/eslint-config

dependabot[bot]

commit sha 9815b40314b1e7b3297e7da639b645661dd63b1d

chore(deps): bump acorn from 7.1.0 to 7.2.0 (#94)

view details

push time in 15 days

PR merged nuxt/eslint-config

chore(deps): bump acorn from 7.1.0 to 7.2.0 dependencies

Bumps acorn from 7.1.0 to 7.2.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/acornjs/acorn/commit/6d555e826d962db66b3a2f4fb8361e57e5a1b171"><code>6d555e8</code></a> Mark verison 7.2.0</li> <li><a href="https://github.com/acornjs/acorn/commit/82ed10dfb6a3bdce15c77856fc4ed40abc628a39"><code>82ed10d</code></a> make test262 success on Windows</li> <li><a href="https://github.com/acornjs/acorn/commit/ec7cbd145d7e89ce1f6f31dc875b5dfb8092418a"><code>ec7cbd1</code></a> Add nullish coalescing</li> <li><a href="https://github.com/acornjs/acorn/commit/b4a6e5207aa86986a126a8ee4f8273c73d49eb74"><code>b4a6e52</code></a> Add support for <code>import.meta</code></li> <li><a href="https://github.com/acornjs/acorn/commit/f1c3592ec66a05835cce2cd8a8fa68ab000e7fa4"><code>f1c3592</code></a> Follow regexp validation as per <a href="https://github-redirect.dependabot.com/tc39/ecma262/issues/39">tc39/ecma26239</a></li> <li><a href="https://github.com/acornjs/acorn/commit/078e2cc761c0e4ff9d86963aea43efa34b7bbc59"><code>078e2cc</code></a> fix: check potentialArrowAt in maybeAsyncArrow</li> <li><a href="https://github.com/acornjs/acorn/commit/020d8ead34c0d6be433ba0f4c473bcc633493844"><code>020d8ea</code></a> Upgrade to Unicode 13</li> <li><a href="https://github.com/acornjs/acorn/commit/7987e410aa93a446e5aeb3e3934fd1696eb3c9f3"><code>7987e41</code></a> Support <code>export * as ns from "source"</code></li> <li><a href="https://github.com/acornjs/acorn/commit/cda280a5cc5f21ded5c630751574255ec136996b"><code>cda280a</code></a> Add 6.4.1 to changelog</li> <li><a href="https://github.com/acornjs/acorn/commit/44e52b237b72cca6654d513344e6c33c2194e2ff"><code>44e52b2</code></a> Don't tokenize the token after a class or strict function as strict</li> <li>Additional commits viewable in <a href="https://github.com/acornjs/acorn/compare/7.1.0...7.2.0">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

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


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

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

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

</details>

+4 -16

0 comment

1 changed file

dependabot[bot]

pr closed time in 15 days

delete branch nuxt/eslint-config

delete branch : renovate/major-typescript-eslint-monorepo

delete time in 15 days

push eventnuxt/eslint-config

renovate[bot]

commit sha a7c53aa658fc4f73c164e4df8c608faacd423ddf

chore(deps): update typescript-eslint monorepo to v3 (major) (#100) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

push time in 15 days

PR merged nuxt/eslint-config

chore(deps): update typescript-eslint monorepo to v3 (major)

This PR contains the following updates:

Package Type Update Change
@typescript-eslint/eslint-plugin dependencies major ^2.32.0 -> ^3.6.0
@typescript-eslint/parser dependencies major ^2.32.0 -> ^3.6.0

Release Notes

<details> <summary>typescript-eslint/typescript-eslint</summary>

v3.6.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-namespace] allow namespaces in nested declarations with allowDeclarations (#​2238) (c1df669)
  • eslint-plugin: [space-before-function-paren] handle abstract functions (#​2199) (88a3edf)
Features

v3.5.0

Compare Source

Bug Fixes
  • eslint-plugin: [naming-convention] support unicode in regex (#​2241) (5fdd21a)
  • typescript-estree: forward compatibility for new compound assignment operators (#​2253) (ba41680)
Features

v3.4.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-base-to-string] handle intersection types (#​2170) (9cca3a9)
  • eslint-plugin: [unbound-method] handling destructuring (#​2228) (c3753c2)
  • experimental-utils: correct types for TS versions older than 3.8 (#​2217) (5e4dda2)
  • experimental-utils: getParserServices takes a readonly context (#​2235) (26da8de)
Features
  • eslint-plugin: [no-unnecessary-boolean-literal-compare] add option to check nullable booleans (#​1983) (c0b3057)
  • eslint-plugin: add extension rule no-loss-of-precision (#​2196) (535b0f2)

v3.3.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-unused-expressions] handle ternary and short-circuit options (#​2194) (ee9f100)
  • typescript-estree: handle TS4.0 breaking change in TupleType (#​2197) (5d68129)
Features
  • eslint-plugin: [naming-convention] better error message and docs for prefix/suffix (#​2195) (a2ffe55)

v3.2.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-module-boundary-types] dont report return type errors on constructor overloads (#​2158) (53232d7)
  • eslint-plugin: [explicit-module-boundary-types] handle bodyless arrow functions with explicit return types that return functions (#​2169) (58db655)
  • eslint-plugin: [explicit-module-boundary-types] handle nested functions and functions expressions in a typed variable declaration (#​2176) (6ff450d)
  • eslint-plugin: [no-extra-non-null-assertion] dont report for assertions not followed by the optional chain (#​2167) (e4c1834)
  • eslint-plugin: [no-unnecessary-conditionals] Handle comparison of generics and loose comparisons with undefined values (#​2152) (c86e2a2)
  • eslint-plugin: [prefer-optional-chain] handling first member expression (#​2156) (de18660)
  • eslint-plugin: [return-await] correct handling of ternaries (#​2168) (fe4c0bf)
Features
  • eslint-plugin: [naming-convention] put identifiers in quotes in error messages (#​2182) (fc61932), closes #​2178
  • eslint-plugin: [require-array-sort-compare] add ignoreStringArrays option (#​1972) (6dee784)
  • eslint-plugin: add rule ban-tslint-comment (#​2140) (43ee226)
  • eslint-plugin: add rule no-confusing-non-null-assertion (#​1941) (9b51c44)

v3.1.0

Compare Source

Bug Fixes
  • eslint-plugin: [explicit-module-boundary-types] don't check returned functions if parent function has return type (#​2084) (d7d4eeb)
  • eslint-plugin: [no-unnecessary-condition] handle comparison of any, unknown and loose comparisons with nullish values (#​2123) (1ae1d01)
  • eslint-plugin: [no-unnecessary-condition] improve optional chain handling (#​2111) (9ee399b)
  • eslint-plugin: [no-unnecessary-condition] improve optional chain handling 2 - electric boogaloo (#​2138) (c87cfaf)
  • eslint-plugin: [no-unused-expressions] ignore import expressions (#​2130) (e383691)
  • eslint-plugin: [no-var-requires] false negative for TSAsExpression and MemberExpression (#​2139) (df95338)
  • experimental-utils: downlevel type declarations for versions older than 3.8 (#​2133) (7925823)
Features
  • eslint-plugin: [ban-ts-comments] add "allow-with-description" option (#​2099) (8a0fd18)
  • eslint-plugin: [ban-types] allow selective disable of default options with false value (#​2137) (1cb8ca4)
  • eslint-plugin: [explicit-module-boundary-types] improve accuracy and coverage (#​2135) (caaa859)

3.0.2 (2020-05-27)

Bug Fixes

3.0.1 (2020-05-25)

Bug Fixes

v3.0.2

Compare Source

Bug Fixes

v3.0.1

Compare Source

Bug Fixes

v3.0.0

Compare Source

Please see the release notes for v3.0.0

Bug Fixes
  • eslint-plugin: [dot-notation] fix typo in schema (#​2040) (242328f)
  • eslint-plugin: correct parser peerDep version (fe59f69)
  • experimental-utils: add back SourceCode.isSpaceBetweenTokens (ae82ea4)
  • typescript-estree: remove now defunct Import node type (f199cbd)
  • typescript-estree: use TSEmptyBodyFunctionExpression for body-less nodes (#​1289) (82e7163)
Features
  • add index files to parser and typescript-estree (3dfc46d)
  • eslint-plugin: [no-floating-promises] ignore void operator by default (#​2003) (3626a67)
  • eslint-plugin: [no-unnecessary-condition] remove checkArrayPredicates and always check it (#​1579) (bfd9b60)
  • eslint-plugin: [no-unnecessary-condition] report when non-nullish is compared to null/undefined (#​1659) (7fa9060)
  • eslint-plugin: [prefer-nullish-coalescing][prefer-optional-chain] remove unsafe fixers (52b6085)
  • eslint-plugin: [restrict-template-expressions] allowNumber: true by default (#​2005) (643ec24)
  • eslint-plugin: [restrict-template-expressions] rename allowNullable to allowNullish (#​2006) (264b017)
  • experimental-utils: upgrade eslint types for v7 (#​2023) (06869c9)
  • bump minimum required TS version (#​2004) (7ad4d7c)
  • upgrade to ESLint v7 (#​2022) (208de71)
  • eslint-plugin: [ban-types] rework default options (#​848) (8e31d5d)
  • eslint-plugin: [no-unnecessary-condition] remove option ignoreRHS (#​1163) (ee8dd8f)
  • eslint-plugin: [strict-boolean-expression] rework options (#​1631) (cd14482)
  • eslint-plugin: delete deprecated rules (#​2002) (da0aec2)
  • eslint-plugin: eslint-recommended: disable no-func-assign (#​984) (ae9b8a9)
  • eslint-plugin: eslint-recommended: disable no-obj-calls (#​1000) (b9ca14c)
  • eslint-plugin: update eslint-recommended set (#​1996) (9a96e18)
  • eslint-plugin: update recommended sets (#​2001) (0126b4f)
  • typescript-estree: align nodes with estree 2020 (#​1389) (aff5b62)
  • typescript-estree: align optional fields (#​1429) (0e0010f)
  • drop support for node v8 (#​1997) (b6c3b7b)
  • typescript-estree: always return parserServices (#​716) (5b23443)
  • typescript-estree: handle 3.9's non-null assertion changes (#​2036) (06bec63)

v2.34.0

Compare Source

Bug Fixes
  • typescript-estree: fix handling of range/loc removal (#​2028) (ce344d9)
Features
  • eslint-plugin: [no-invalid-void-type] allow union of void and allowInGenericTypeArguments (#​1960) (1bc105a)
  • eslint-plugin: [restrict-template-expressions] improve error message (#​1926) (1af59ba)
  • experimental-utils: add suggestion property for rule modules (#​2033) (f42a5b0)

v2.33.0

Compare Source

Bug Fixes
  • experimental-utils: remove accidental dep on json-schema (#​2010) (1875fba)
Features
  • eslint-plugin: add extension rule lines-between-class-members (#​1684) (08f93e6)

</details>


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.

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


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

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

+40 -23

0 comment

2 changed files

renovate[bot]

pr closed time in 15 days

startedframer/motion

started time in 25 days

issue commentnuxt/nuxt.js

Cannot find module 'babel-core' error for fresh create-nuxt-app project

@webcoderkz This is my local screeshot, it works fine and "babel-core": "7.0.0-bridge.0 is in devDependencies.

截屏2020-07-13 20 04 22

Can you check your package.json ? If there is babel-core, I think you can re-install node_modules without --production flag in yarn or npm or setting NODE_ENV to be production

seenickcode

comment created time in a month

issue commentnuxt/nuxt.js

Cannot find module 'babel-core' error for fresh create-nuxt-app project

Can you please provide log as original issue ?

seenickcode

comment created time in a month

issue commentnuxt/nuxt.js

Cannot find module 'babel-core' error for fresh create-nuxt-app project

@webcoderkz Can you show me your create-nuxt-app and detail log ?

seenickcode

comment created time in a month

issue commentnuxt/nuxt.js

CSS Order is different when extractCSS is used

@tegola I've looked into your repo, it looks the issue is related to vue-loader:

  1. In dev mode, vue-loader will ignore styles returned from ssr and re-added them as components loading order (pages/index -> MyComponent) in browser side, so you can see correct background-color
  2. In prod mode, vue-loader will attach style injecting to beforeCreate hook of vue component. In Vue, beforeCreate and created of the parent run first, so beforeCreate of pages/index will be executed before MyComponent and style of pages/index is injected before MyComponent

I found that there already has some discussions in vue-loader: https://github.com/vuejs/vue-loader/issues/808#issuecomment-303785334 https://github.com/vuejs/vue-loader/issues/521 , I'll talk to team and try to figure a proper solution for it.

AndrewBogdanovTSS

comment created time in a month

issue commentnuxt/nuxt.js

Unable to run dev script with static target and modern client

@kreig303 Can you please provide us more details about your problem? It would be great if you can create a minimal reproducible repo as well.

hannes-k

comment created time in a month

delete branch nuxt/create-nuxt-app

delete branch : fix/ts-dev-script

delete time in a month

push eventnuxt/create-nuxt-app

Kevin Marrec

commit sha 1f64e5afbb973422a34c7a64252cea9a3411664c

fix(template): fix package.json dev script for typescript (#568)

view details

push time in a month

issue commentnuxt/nuxt.js

render.csp not compatible with csp3 strict-dynamic

Will look into it.

P4sca1

comment created time in a month

PR opened nuxt/nuxt.js

Reviewers
refactor(csp): remove unsafe-eval in dev mode

<!--- Provide a general summary of your changes in the title above -->

Types of changes

<!--- What types of changes does your code introduce? Put an x in all the boxes that apply: -->

  • [ ] Bug fix (a non-breaking change which fixes an issue)
  • [ ] New feature (a non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

<!--- Describe your changes in detail --> <!--- Why is this change required? What problem does it solve? --> <!--- If it resolves an open issue, please link to the issue here. For example "Resolves: #1337" -->

Follow up https://github.com/nuxt/nuxt.js/pull/7306, now we won't have any eval code if csp is enabled without explicit unsafe-eval config, so we can remove unsafe-eval in dev mode now.

Checklist:

<!--- Put an x in all the boxes that apply. --> <!--- If your change requires a documentation PR, please link it appropriately --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly. (PR: #)
  • [ ] I have added tests to cover my changes (if not applicable, please state why)
  • [ ] All new and existing tests are passing.
+4 -4

0 comment

2 changed files

pr created time in a month

create barnchnuxt/nuxt.js

branch : remove-unsafe-eval

created branch time in a month

pull request commentnuxt/nuxt.js

fix(server): set `unsafe-eval` CSP in dev mode with custom CSP policies

@FloEdelmann This issue has been fixed in v2.13.0, so this pr can be closed, we'll do some code cleanup shortly https://github.com/nuxt/nuxt.js/issues/7451#issuecomment-653124094

FloEdelmann

comment created time in a month

issue commentnuxt/nuxt.js

render.csp not compatible with csp3 strict-dynamic

@P4sca1 This issue has been fix in https://github.com/nuxt/nuxt.js/pull/7306, I also verified in you repo, can you please update latest Nuxt and try ?

P4sca1

comment created time in a month

pull request commentnuxt/nuxt.js

fix(server): set `unsafe-eval` CSP in dev mode with custom CSP policies

@P4sca1 It's because eval is only in dev mode because of webpack devtool config https://webpack.js.org/configuration/devtool/ and we should avoid unsafe eval code in produciton.

FloEdelmann

comment created time in a month

Pull request review commentnuxt/nuxt.js

fix(server): set `unsafe-eval` CSP in dev mode with custom CSP policies

 const getCspString = ({ cspScriptSrcHashes, allowedSources, policies, isDev, isR   }    if (policyObjectAvailable) {-    const transformedPolicyObject = transformPolicyObject(policies, cspScriptSrcHashes)+    const transformedPolicyObject = transformPolicyObject(policies, cspScriptSrcHashes, isDev)

What do you think adding 'unsafe-eval' to cspScriptSrcHashes if it doesn't exist in dev mode ? Then it should work for both string and object cases.

FloEdelmann

comment created time in a month

issue commentnuxt/eslint-plugin-nuxt

Incorrect eslint error when upgrade to 0.5.0

@MrToxy Can you please confirm which verison of eslint-config you're installing ?

yarn why @nuxtjs/eslint-config
yarn why eslint-plugin-vue

@coeurofbear Can you please confirm above comment about package version?

Miaoxingren

comment created time in a month

PR opened nuxt/nuxt.js

fix(webpack): error: cannot read property filter of undefined when m…

…odern build is ahead of legacy

<!--- Provide a general summary of your changes in the title above -->

Types of changes

<!--- What types of changes does your code introduce? Put an x in all the boxes that apply: -->

  • [ ] Bug fix (a non-breaking change which fixes an issue)
  • [ ] New feature (a non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

<!--- Describe your changes in detail --> <!--- Why is this change required? What problem does it solve? --> <!--- If it resolves an open issue, please link to the issue here. For example "Resolves: #1337" --> Fix https://github.com/nuxt/nuxt.js/issues/7562

Modern build should wait for legacy build setting assets instead of return undefined asset if modern build is ahead of legacy build.

Checklist:

<!--- Put an x in all the boxes that apply. --> <!--- If your change requires a documentation PR, please link it appropriately --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly. (PR: #)
  • [ ] I have added tests to cover my changes (if not applicable, please state why)
  • [ ] All new and existing tests are passing.
+6 -6

0 comment

1 changed file

pr created time in a month

more