diff --git a/package.json b/package.json index cf849e09..b9ca80ca 100644 --- a/package.json +++ b/package.json @@ -56,14 +56,14 @@ "p-queue": "^6.6.1", "postcss": "^8.1.1", "postcss-modules-extract-imports": "^3.0.0-rc.1", - "postcss-modules-local-by-default": "^4.0.0-rc.1", + "postcss-modules-local-by-default": "^4.0.0-rc.3", "postcss-modules-scope": "^3.0.0-rc.1", - "postcss-modules-values": "^4.0.0-rc.3", + "postcss-modules-values": "^4.0.0-rc.4", "postcss-value-parser": "^4.1.0", "query-string": "^6.13.5", "resolve": "^1.17.0", "source-map": "^0.7.3", - "tslib": "^2.0.2" + "tslib": "^2.0.3" }, "devDependencies": { "@babel/core": "^7.11.6", @@ -90,7 +90,7 @@ "@typescript-eslint/parser": "^4.4.0", "autoprefixer": "^10.0.1", "builtin-modules": "^3.1.0", - "eslint": "^7.10.0", + "eslint": "^7.11.0", "eslint-config-prettier": "^6.12.0", "eslint-import-resolver-node": "^0.3.4", "eslint-plugin-import": "^2.22.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2ed9e2c0..ff849e52 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,14 +9,14 @@ dependencies: p-queue: 6.6.1 postcss: 8.1.1 postcss-modules-extract-imports: 3.0.0-rc.1_postcss@8.1.1 - postcss-modules-local-by-default: 4.0.0-rc.1_postcss@8.1.1 + postcss-modules-local-by-default: 4.0.0-rc.3_postcss@8.1.1 postcss-modules-scope: 3.0.0-rc.1_postcss@8.1.1 - postcss-modules-values: 4.0.0-rc.3_postcss@8.1.1 + postcss-modules-values: 4.0.0-rc.4_postcss@8.1.1 postcss-value-parser: 4.1.0 query-string: 6.13.5 resolve: 1.17.0 source-map: 0.7.3 - tslib: 2.0.2 + tslib: 2.0.3 devDependencies: '@babel/core': 7.11.6 '@babel/plugin-proposal-class-properties': 7.10.4_@babel+core@7.11.6 @@ -29,26 +29,26 @@ devDependencies: '@rollup/plugin-json': 4.1.0_rollup@2.29.0 '@rollup/plugin-node-resolve': 9.0.0_rollup@2.29.0 '@rollup/plugin-replace': 2.3.3_rollup@2.29.0 - '@rollup/plugin-typescript': 6.0.0_863985a4b4eff075280d76c0e9128b16 + '@rollup/plugin-typescript': 6.0.0_65275d3e6d403734096ce44f50fd896a '@semantic-release/changelog': 5.0.1_semantic-release@17.1.2 '@semantic-release/git': 9.0.0_semantic-release@17.1.2 '@types/fs-extra': 9.0.1 '@types/jest': 26.0.14 '@types/mime-types': 2.1.0 - '@types/node': 14.11.5 + '@types/node': 14.11.8 '@types/resolve': 1.17.1 '@types/uglifycss': 0.0.6 - '@typescript-eslint/eslint-plugin': 4.4.0_a71b0516f86a95383173f79e74386c73 - '@typescript-eslint/parser': 4.4.0_eslint@7.10.0+typescript@4.0.3 + '@typescript-eslint/eslint-plugin': 4.4.0_8b852abb84508d6384219cd1d141c6a3 + '@typescript-eslint/parser': 4.4.0_eslint@7.11.0+typescript@4.0.3 autoprefixer: 10.0.1_postcss@8.1.1 builtin-modules: 3.1.0 - eslint: 7.10.0 - eslint-config-prettier: 6.12.0_eslint@7.10.0 + eslint: 7.11.0 + eslint-config-prettier: 6.12.0_eslint@7.11.0 eslint-import-resolver-node: 0.3.4 - eslint-plugin-import: 2.22.1_eslint@7.10.0 - eslint-plugin-jest: 24.1.0_eslint@7.10.0+typescript@4.0.3 - eslint-plugin-node: 11.1.0_eslint@7.10.0 - eslint-plugin-unicorn: 22.0.0_eslint@7.10.0 + eslint-plugin-import: 2.22.1_eslint@7.11.0 + eslint-plugin-jest: 24.1.0_eslint@7.11.0+typescript@4.0.3 + eslint-plugin-node: 11.1.0_eslint@7.11.0 + eslint-plugin-unicorn: 22.0.0_eslint@7.11.0 gh-pages: 3.1.0 husky: 4.3.0 jest: 26.5.2 @@ -1249,7 +1249,7 @@ packages: /@jest/console/26.5.2: dependencies: '@jest/types': 26.5.2 - '@types/node': 14.11.5 + '@types/node': 14.11.8 chalk: 4.1.0 jest-message-util: 26.5.2 jest-util: 26.5.2 @@ -1266,7 +1266,7 @@ packages: '@jest/test-result': 26.5.2 '@jest/transform': 26.5.2 '@jest/types': 26.5.2 - '@types/node': 14.11.5 + '@types/node': 14.11.8 ansi-escapes: 4.3.1 chalk: 4.1.0 exit: 0.1.2 @@ -1298,7 +1298,7 @@ packages: dependencies: '@jest/fake-timers': 26.5.2 '@jest/types': 26.5.2 - '@types/node': 14.11.5 + '@types/node': 14.11.8 jest-mock: 26.5.2 dev: true engines: @@ -1309,7 +1309,7 @@ packages: dependencies: '@jest/types': 26.5.2 '@sinonjs/fake-timers': 6.0.1 - '@types/node': 14.11.5 + '@types/node': 14.11.8 jest-message-util: 26.5.2 jest-mock: 26.5.2 jest-util: 26.5.2 @@ -1420,7 +1420,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.3 '@types/istanbul-reports': 1.1.2 - '@types/yargs': 15.0.7 + '@types/yargs': 15.0.8 chalk: 3.0.0 dev: true engines: @@ -1431,8 +1431,8 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.3 '@types/istanbul-reports': 3.0.0 - '@types/node': 14.11.5 - '@types/yargs': 15.0.7 + '@types/node': 14.11.8 + '@types/yargs': 15.0.8 chalk: 4.1.0 dev: true engines: @@ -1548,13 +1548,13 @@ packages: integrity: sha512-4jTmn8WossTUaLfNDfXk4fVJgbz5JgZE8eCs4BvIb52lvIH8rpVMD1fgRCrHbSd6LRPE5JFZSfAEtszrOq3ZFQ== /@octokit/types/4.1.10: dependencies: - '@types/node': 14.11.5 + '@types/node': 14.11.8 dev: true resolution: integrity: sha512-/wbFy1cUIE5eICcg0wTKGXMlKSbaAxEr00qaBXzscLXpqhcwgXeS6P8O0pkysBhRfyjkKjJaYrvR1ExMO5eOXQ== /@octokit/types/5.5.0: dependencies: - '@types/node': 14.11.5 + '@types/node': 14.11.8 dev: true resolution: integrity: sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ== @@ -1628,12 +1628,12 @@ packages: rollup: ^1.20.0 || ^2.0.0 resolution: integrity: sha512-XPmVXZ7IlaoWaJLkSCDaa0Y6uVo5XQYHhiMFzOd5qSv5rE+t/UJToPIOE56flKIxBFQI27ONsxb7dqHnwSsjKQ== - /@rollup/plugin-typescript/6.0.0_863985a4b4eff075280d76c0e9128b16: + /@rollup/plugin-typescript/6.0.0_65275d3e6d403734096ce44f50fd896a: dependencies: '@rollup/pluginutils': 3.1.0_rollup@2.29.0 resolve: 1.17.0 rollup: 2.29.0 - tslib: 2.0.2 + tslib: 2.0.3 typescript: 4.0.3 dev: true engines: @@ -1854,13 +1854,13 @@ packages: integrity: sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g== /@types/fs-extra/9.0.1: dependencies: - '@types/node': 14.11.5 + '@types/node': 14.11.8 dev: true resolution: integrity: sha512-B42Sxuaz09MhC3DDeW5kubRcQ5by4iuVQ0cRRWM2lggLzAa/KVom0Aft/208NgMvNQQZ86s5rVcqDdn/SH0/mg== /@types/graceful-fs/4.1.3: dependencies: - '@types/node': 14.11.5 + '@types/node': 14.11.8 dev: true resolution: integrity: sha512-AiHRaEB50LQg0pZmm659vNBb9f4SJ0qrAnteuzhSeAUcJKxoYgEnprg/83kppCnc2zvtCKbdZry1a5pVY3lOTQ== @@ -1910,10 +1910,10 @@ packages: dev: true resolution: integrity: sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY= - /@types/node/14.11.5: + /@types/node/14.11.8: dev: true resolution: - integrity: sha512-jVFzDV6NTbrLMxm4xDSIW/gKnk8rQLF9wAzLWIOg+5nU6ACrIMndeBdXci0FGtqJbP9tQvm6V39eshc96TO2wQ== + integrity: sha512-KPcKqKm5UKDkaYPTuXSx8wEP7vE9GnuaXIZKijwRYcePpZFDVuy2a57LarFKiORbHOuTOOwYzxVxcUzsh2P2Pw== /@types/normalize-package-data/2.4.0: dev: true resolution: @@ -1921,17 +1921,17 @@ packages: /@types/parse-json/4.0.0: resolution: integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== - /@types/prettier/2.1.1: + /@types/prettier/2.1.2: dev: true resolution: - integrity: sha512-2zs+O+UkDsJ1Vcp667pd3f8xearMdopz/z54i99wtRDI5KLmngk7vlrYZD0ZjKHaROR03EznlBbVY9PfAEyJIQ== + integrity: sha512-IiPhNnenzkqdSdQH3ifk9LoX7oQe61ZlDdDO4+MUv6FyWdPGDPr26gCPVs3oguZEMq//nFZZpwUZcVuNJsG+DQ== /@types/q/1.5.4: dev: false resolution: integrity: sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug== /@types/resolve/1.17.1: dependencies: - '@types/node': 14.11.5 + '@types/node': 14.11.8 dev: true resolution: integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw== @@ -1951,19 +1951,19 @@ packages: dev: true resolution: integrity: sha512-FA/BWv8t8ZWJ+gEOnLLd8ygxH/2UFbAvgEonyfN6yWGLKc7zVjbpl2Y4CTjid9h2RfgPP6SEt6uHwEOply00yw== - /@types/yargs/15.0.7: + /@types/yargs/15.0.8: dependencies: '@types/yargs-parser': 15.0.0 dev: true resolution: - integrity: sha512-Gf4u3EjaPNcC9cTu4/j2oN14nSVhr8PQ+BvBcBQHAhDZfl0bVIiLgvnRXv/dn58XhTm9UXvBpvJpDlwV65QxOA== - /@typescript-eslint/eslint-plugin/4.4.0_a71b0516f86a95383173f79e74386c73: + integrity: sha512-b0BYzFUzBpOhPjpl1wtAHU994jBeKF4TKVlT7ssFv44T617XNcPdRoG4AzHLVshLzlrF7i3lTelH7UbuNYV58Q== + /@typescript-eslint/eslint-plugin/4.4.0_8b852abb84508d6384219cd1d141c6a3: dependencies: - '@typescript-eslint/experimental-utils': 4.4.0_eslint@7.10.0+typescript@4.0.3 - '@typescript-eslint/parser': 4.4.0_eslint@7.10.0+typescript@4.0.3 + '@typescript-eslint/experimental-utils': 4.4.0_eslint@7.11.0+typescript@4.0.3 + '@typescript-eslint/parser': 4.4.0_eslint@7.11.0+typescript@4.0.3 '@typescript-eslint/scope-manager': 4.4.0 debug: 4.2.0 - eslint: 7.10.0 + eslint: 7.11.0 functional-red-black-tree: 1.0.1 regexpp: 3.1.0 semver: 7.3.2 @@ -1981,13 +1981,13 @@ packages: optional: true resolution: integrity: sha512-RVt5wU9H/2H+N/ZrCasTXdGbUTkbf7Hfi9eLiA8vPQkzUJ/bLDCC3CsoZioPrNcnoyN8r0gT153dC++A4hKBQQ== - /@typescript-eslint/experimental-utils/4.4.0_eslint@7.10.0+typescript@4.0.3: + /@typescript-eslint/experimental-utils/4.4.0_eslint@7.11.0+typescript@4.0.3: dependencies: '@types/json-schema': 7.0.6 '@typescript-eslint/scope-manager': 4.4.0 '@typescript-eslint/types': 4.4.0 '@typescript-eslint/typescript-estree': 4.4.0_typescript@4.0.3 - eslint: 7.10.0 + eslint: 7.11.0 eslint-scope: 5.1.1 eslint-utils: 2.1.0 dev: true @@ -1998,13 +1998,13 @@ packages: typescript: '*' resolution: integrity: sha512-01+OtK/oWeSJTjQcyzDztfLF1YjvKpLFo+JZmurK/qjSRcyObpIecJ4rckDoRCSh5Etw+jKfdSzVEHevh9gJ1w== - /@typescript-eslint/parser/4.4.0_eslint@7.10.0+typescript@4.0.3: + /@typescript-eslint/parser/4.4.0_eslint@7.11.0+typescript@4.0.3: dependencies: '@typescript-eslint/scope-manager': 4.4.0 '@typescript-eslint/types': 4.4.0 '@typescript-eslint/typescript-estree': 4.4.0_typescript@4.0.3 debug: 4.2.0 - eslint: 7.10.0 + eslint: 7.11.0 typescript: 4.0.3 dev: true engines: @@ -2401,13 +2401,13 @@ packages: dev: true resolution: integrity: sha512-zg7Hz2k5lI8kb7U32998pRRFin7zJlkfezGJjUc2heaD4Pw2wObakCDVzkKztTm/Ln7eiVvYsjqak0Ed4LkMDA== - /babel-eslint/10.1.0_eslint@7.10.0: + /babel-eslint/10.1.0_eslint@7.11.0: dependencies: '@babel/code-frame': 7.10.4 '@babel/parser': 7.11.5 '@babel/traverse': 7.11.5 '@babel/types': 7.11.5 - eslint: 7.10.0 + eslint: 7.11.0 eslint-visitor-keys: 1.3.0 resolve: 1.17.0 dev: true @@ -2941,20 +2941,20 @@ packages: /color-name/1.1.4: resolution: integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - /color-string/1.5.3: + /color-string/1.5.4: dependencies: color-name: 1.1.4 simple-swizzle: 0.2.2 dev: false resolution: - integrity: sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw== - /color/3.1.2: + integrity: sha512-57yF5yt8Xa3czSEW1jfQDE79Idk0+AkN/4KWad6tbdxUmAs3MvjxlWSWD4deYytcRfoZ9nhKyFl1kj5tBvidbw== + /color/3.1.3: dependencies: color-convert: 1.9.3 - color-string: 1.5.3 + color-string: 1.5.4 dev: false resolution: - integrity: sha512-vXTJhHebByxZn3lDvDJYw4lR5+uB3vuoHsuYA5AKuxRVn5wzzIfQKGLBmgdVRHKTJYeK5rvJcHnrd0Li49CFpg== + integrity: sha512-xgXAcTHa2HeFCGLE9Xs/R82hujGtu9Jd9x4NW3T34+OMs7VoPsjwzRczKHvTAHeJwWFwX5j15+MgAppE8ztObQ== /colorette/1.2.1: resolution: integrity: sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw== @@ -3195,7 +3195,7 @@ packages: /css-select/2.1.0: dependencies: boolbase: 1.0.0 - css-what: 3.4.1 + css-what: 3.4.2 domutils: 1.7.0 nth-check: 1.0.2 dev: false @@ -3219,12 +3219,12 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-7UvkEYgBAHRG9Nt980lYxjsTrCyHFN53ky3wVsDkiMdVqylqRt+Zc+jm5qw7/qyOvN2dHSYtX0e4MbCCExSvnA== - /css-what/3.4.1: + /css-what/3.4.2: dev: false engines: node: '>= 6' resolution: - integrity: sha512-wHOppVDKl4vTAOWzJt5Ek37Sgd9qq1Bmj/T1OjvicWbU5W7ru7Pqbn0Jdqii3Drx/h+dixHKXNhZYx7blthL7g== + integrity: sha512-ACUm3L0/jiZTqfzRM3Hi9Q8eZqd6IK37mMWPLz9PJxkLWllYeRf+EHUSHYEtFop2Eqytaq1FizFVh7XfBnXCDQ== /css/2.2.4: dependencies: inherits: 2.0.4 @@ -3365,7 +3365,7 @@ packages: dependencies: abab: 2.0.5 whatwg-mimetype: 2.3.0 - whatwg-url: 8.3.0 + whatwg-url: 8.4.0 dev: true engines: node: '>=10' @@ -3731,9 +3731,9 @@ packages: node: '>=4' resolution: integrity: sha512-otzzTim2/1+lVrlH19EfQQJEhVJSu0zOb9ygb3iapN6UlyaDtyRq4b5U1FuW0v1lRa9Fp/GJyHkSwm6NqABgCA== - /eslint-config-prettier/6.12.0_eslint@7.10.0: + /eslint-config-prettier/6.12.0_eslint@7.11.0: dependencies: - eslint: 7.10.0 + eslint: 7.11.0 get-stdin: 6.0.0 dev: true hasBin: true @@ -3757,9 +3757,9 @@ packages: node: '>=4' resolution: integrity: sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA== - /eslint-plugin-es/3.0.1_eslint@7.10.0: + /eslint-plugin-es/3.0.1_eslint@7.11.0: dependencies: - eslint: 7.10.0 + eslint: 7.11.0 eslint-utils: 2.1.0 regexpp: 3.1.0 dev: true @@ -3769,14 +3769,14 @@ packages: eslint: '>=4.19.1' resolution: integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ== - /eslint-plugin-import/2.22.1_eslint@7.10.0: + /eslint-plugin-import/2.22.1_eslint@7.11.0: dependencies: array-includes: 3.1.1 array.prototype.flat: 1.2.3 contains-path: 0.1.0 debug: 2.6.9 doctrine: 1.5.0 - eslint: 7.10.0 + eslint: 7.11.0 eslint-import-resolver-node: 0.3.4 eslint-module-utils: 2.6.0 has: 1.0.3 @@ -3792,10 +3792,10 @@ packages: eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 resolution: integrity: sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw== - /eslint-plugin-jest/24.1.0_eslint@7.10.0+typescript@4.0.3: + /eslint-plugin-jest/24.1.0_eslint@7.11.0+typescript@4.0.3: dependencies: - '@typescript-eslint/experimental-utils': 4.4.0_eslint@7.10.0+typescript@4.0.3 - eslint: 7.10.0 + '@typescript-eslint/experimental-utils': 4.4.0_eslint@7.11.0+typescript@4.0.3 + eslint: 7.11.0 dev: true engines: node: '>=10' @@ -3804,10 +3804,10 @@ packages: typescript: '*' resolution: integrity: sha512-827YJ+E8B9PvXu/0eiVSNFfxxndbKv+qE/3GSMhdorCaeaOehtqHGX2YDW9B85TEOre9n/zscledkFW/KbnyGg== - /eslint-plugin-node/11.1.0_eslint@7.10.0: + /eslint-plugin-node/11.1.0_eslint@7.11.0: dependencies: - eslint: 7.10.0 - eslint-plugin-es: 3.0.1_eslint@7.10.0 + eslint: 7.11.0 + eslint-plugin-es: 3.0.1_eslint@7.11.0 eslint-utils: 2.1.0 ignore: 5.1.8 minimatch: 3.0.4 @@ -3820,13 +3820,13 @@ packages: eslint: '>=5.16.0' resolution: integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g== - /eslint-plugin-unicorn/22.0.0_eslint@7.10.0: + /eslint-plugin-unicorn/22.0.0_eslint@7.11.0: dependencies: ci-info: 2.0.0 clean-regexp: 1.0.0 - eslint: 7.10.0 + eslint: 7.11.0 eslint-ast-utils: 1.1.0 - eslint-template-visitor: 2.2.1_eslint@7.10.0 + eslint-template-visitor: 2.2.1_eslint@7.11.0 eslint-utils: 2.1.0 import-modules: 2.0.0 lodash: 4.17.20 @@ -3852,10 +3852,10 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== - /eslint-template-visitor/2.2.1_eslint@7.10.0: + /eslint-template-visitor/2.2.1_eslint@7.11.0: dependencies: - babel-eslint: 10.1.0_eslint@7.10.0 - eslint: 7.10.0 + babel-eslint: 10.1.0_eslint@7.11.0 + eslint: 7.11.0 eslint-visitor-keys: 1.3.0 esquery: 1.3.1 multimap: 1.1.0 @@ -3884,7 +3884,7 @@ packages: node: '>=10' resolution: integrity: sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ== - /eslint/7.10.0: + /eslint/7.11.0: dependencies: '@babel/code-frame': 7.10.4 '@eslint/eslintrc': 0.1.3 @@ -3896,7 +3896,7 @@ packages: enquirer: 2.3.6 eslint-scope: 5.1.1 eslint-utils: 2.1.0 - eslint-visitor-keys: 1.3.0 + eslint-visitor-keys: 2.0.0 espree: 7.3.0 esquery: 1.3.1 esutils: 2.0.3 @@ -3928,7 +3928,7 @@ packages: node: ^10.12.0 || >=12.0.0 hasBin: true resolution: - integrity: sha512-BDVffmqWl7JJXqCjAK6lWtcQThZB/aP1HXSH1JKwGwv0LQEdvpR7qzNrUT487RM39B5goWuboFad5ovMBmD8yA== + integrity: sha512-G9+qtYVCHaDi1ZuWzBsOWo2wSwd70TXnU6UHA3cTYHp7gCTXZcpggWFoUVAMRarg68qtPoNfFbzPh+VdOgmwmw== /espree/7.3.0: dependencies: acorn: 7.4.1 @@ -5418,7 +5418,7 @@ packages: '@jest/test-result': 26.5.2 '@jest/types': 26.5.2 '@types/babel__traverse': 7.0.15 - '@types/node': 14.11.5 + '@types/node': 14.11.8 chalk: 4.1.0 co: 4.6.0 dedent: 0.7.0 @@ -5532,7 +5532,7 @@ packages: '@jest/environment': 26.5.2 '@jest/fake-timers': 26.5.2 '@jest/types': 26.5.2 - '@types/node': 14.11.5 + '@types/node': 14.11.8 jest-mock: 26.5.2 jest-util: 26.5.2 jsdom: 16.4.0 @@ -5546,7 +5546,7 @@ packages: '@jest/environment': 26.5.2 '@jest/fake-timers': 26.5.2 '@jest/types': 26.5.2 - '@types/node': 14.11.5 + '@types/node': 14.11.8 jest-mock: 26.5.2 jest-util: 26.5.2 dev: true @@ -5570,7 +5570,7 @@ packages: dependencies: '@jest/types': 26.5.2 '@types/graceful-fs': 4.1.3 - '@types/node': 14.11.5 + '@types/node': 14.11.8 anymatch: 3.1.1 fb-watchman: 2.0.1 graceful-fs: 4.2.4 @@ -5595,7 +5595,7 @@ packages: '@jest/source-map': 26.5.0 '@jest/test-result': 26.5.2 '@jest/types': 26.5.2 - '@types/node': 14.11.5 + '@types/node': 14.11.8 chalk: 4.1.0 co: 4.6.0 expect: 26.5.2 @@ -5651,7 +5651,7 @@ packages: /jest-mock/26.5.2: dependencies: '@jest/types': 26.5.2 - '@types/node': 14.11.5 + '@types/node': 14.11.8 dev: true engines: node: '>= 10.14.2' @@ -5709,7 +5709,7 @@ packages: '@jest/environment': 26.5.2 '@jest/test-result': 26.5.2 '@jest/types': 26.5.2 - '@types/node': 14.11.5 + '@types/node': 14.11.8 chalk: 4.1.0 emittery: 0.7.1 exit: 0.1.2 @@ -5740,7 +5740,7 @@ packages: '@jest/test-result': 26.5.2 '@jest/transform': 26.5.2 '@jest/types': 26.5.2 - '@types/yargs': 15.0.7 + '@types/yargs': 15.0.8 chalk: 4.1.0 collect-v8-coverage: 1.0.1 exit: 0.1.2 @@ -5766,7 +5766,7 @@ packages: integrity: sha512-zArr4DatX/Sn0wswX/AnAuJgmwgAR5rNtrUz36HR8BfMuysHYNq5sDbYHuLC4ICyRdy5ae/KQ+sczxyS9G6Qvw== /jest-serializer/26.5.0: dependencies: - '@types/node': 14.11.5 + '@types/node': 14.11.8 graceful-fs: 4.2.4 dev: true engines: @@ -5778,7 +5778,7 @@ packages: '@babel/types': 7.11.5 '@jest/types': 26.5.2 '@types/babel__traverse': 7.0.15 - '@types/prettier': 2.1.1 + '@types/prettier': 2.1.2 chalk: 4.1.0 expect: 26.5.2 graceful-fs: 4.2.4 @@ -5799,7 +5799,7 @@ packages: /jest-util/26.5.2: dependencies: '@jest/types': 26.5.2 - '@types/node': 14.11.5 + '@types/node': 14.11.8 chalk: 4.1.0 graceful-fs: 4.2.4 is-ci: 2.0.0 @@ -5826,7 +5826,7 @@ packages: dependencies: '@jest/test-result': 26.5.2 '@jest/types': 26.5.2 - '@types/node': 14.11.5 + '@types/node': 14.11.8 ansi-escapes: 4.3.1 chalk: 4.1.0 jest-util: 26.5.2 @@ -5838,7 +5838,7 @@ packages: integrity: sha512-i3m1NtWzF+FXfJ3ljLBB/WQEp4uaNhX7QcQUWMokcifFTUQBDFyUMEwk0JkJ1kopHbx7Een3KX0Q7+9koGM/Pw== /jest-worker/26.5.0: dependencies: - '@types/node': 14.11.5 + '@types/node': 14.11.8 merge-stream: 2.0.0 supports-color: 7.2.0 dev: true @@ -5900,7 +5900,7 @@ packages: webidl-conversions: 6.1.0 whatwg-encoding: 1.0.5 whatwg-mimetype: 2.3.0 - whatwg-url: 8.3.0 + whatwg-url: 8.4.0 ws: 7.3.1 xml-name-validator: 3.0.0 dev: true @@ -6029,7 +6029,7 @@ packages: integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== /less/3.12.2: dependencies: - tslib: 1.14.0 + tslib: 1.14.1 dev: true engines: node: '>=6' @@ -7477,7 +7477,7 @@ packages: /postcss-colormin/4.0.3: dependencies: browserslist: 4.14.5 - color: 3.1.2 + color: 3.1.3 has: 1.0.3 postcss: 7.0.35 postcss-value-parser: 3.3.1 @@ -7614,7 +7614,7 @@ packages: postcss: ^8.0.0 resolution: integrity: sha512-JPZMMUY0OCtNIqxRYKMNY727g3q82Xf/XTUbiqXs6aZVw9Lyet7HeUQEc1govFp45pcCERsqnjQs4ARd+JZMOg== - /postcss-modules-local-by-default/4.0.0-rc.1_postcss@8.1.1: + /postcss-modules-local-by-default/4.0.0-rc.3_postcss@8.1.1: dependencies: icss-utils: 5.0.0-rc.0_postcss@8.1.1 postcss: 8.1.1 @@ -7622,11 +7622,11 @@ packages: postcss-value-parser: 4.1.0 dev: false engines: - node: '>= 10.13.0 || >= 12.13.0 || >= 14' + node: ^10 || ^12 || >= 14 peerDependencies: - postcss: ^8.0.0 + postcss: ^8.1.0 resolution: - integrity: sha512-qkebHJ2n72D+W8BTr8BurXfuQVd0L5oLrZhkCHv9/T0FPVfBGEkK0Is7dem48+Dho1IiTZIDVVC8d57OdfAtQw== + integrity: sha512-Ja1fl075qxqW+ZQ31Wr8kJCXFpAsZIUZ7SV1JK/AgfGdsjRzQ6L0aAaf6ZUkyBEolpYlbocC3ZObk0gRqx4HgA== /postcss-modules-scope/3.0.0-rc.1_postcss@8.1.1: dependencies: postcss: 8.1.1 @@ -7638,7 +7638,7 @@ packages: postcss: ^8.0.0 resolution: integrity: sha512-FZT4qeQbjT+Ojq586hw5SNP4OwI3xI5GzpWC4nfMxdpaIIad0vB2n2VYz05idKyOVzYaK62+qH3K4dacsgbyFA== - /postcss-modules-values/4.0.0-rc.3_postcss@8.1.1: + /postcss-modules-values/4.0.0-rc.4_postcss@8.1.1: dependencies: icss-utils: 5.0.0-rc.0_postcss@8.1.1 postcss: 8.1.1 @@ -7648,7 +7648,7 @@ packages: peerDependencies: postcss: ^8.1.0 resolution: - integrity: sha512-iwW7Fs9GvHtg0b8vNT5KM48nvJQBGCwrEo6XiYvo+jxR4ALrlB2dor6n88+BcDaGLLpFUb0QVMKACnrj66tbaw== + integrity: sha512-eRUuEMjd72sse59McmPa1Po7ySJx3LcdYkb6B0ayrhs+K4/xpJ0mcb48LZtV9Y/s3fCkt/0UzHoCxkyaT9R8Hw== /postcss-normalize-charset/4.0.1: dependencies: postcss: 7.0.35 @@ -8489,7 +8489,7 @@ packages: integrity: sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI= /rxjs/6.6.3: dependencies: - tslib: 1.14.0 + tslib: 1.14.1 dev: true engines: npm: '>=2.0.0' @@ -9534,17 +9534,17 @@ packages: dev: true resolution: integrity: sha512-dRcuzokWhajtZWkQsDVKbWyY+jgcLC5sqJhg2PSgf4ZkH2aHPvaOY8YWGhmjb68b5qqTfasSsDO9k7RUiEmZAw== - /tslib/1.14.0: + /tslib/1.14.1: dev: true resolution: - integrity: sha512-+Zw5lu0D9tvBMjGP8LpvMb0u2WW2QV3y+D8mO6J+cNzCYIN4sVy43Bf9vl92nqFahutN0I8zHa7cc4vihIshnw== - /tslib/2.0.2: + integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + /tslib/2.0.3: dev: false resolution: - integrity: sha512-wAH28hcEKwna96/UacuWaVspVLkg4x1aDM9JlzqaQTOFczCktkVAb5fmXChgandR1EraDPs2w8P+ozM+oafwxg== + integrity: sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ== /tsutils/3.17.1_typescript@4.0.3: dependencies: - tslib: 1.14.0 + tslib: 1.14.1 typescript: 4.0.3 dev: true engines: @@ -9898,7 +9898,7 @@ packages: dev: true resolution: integrity: sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== - /whatwg-url/8.3.0: + /whatwg-url/8.4.0: dependencies: lodash.sortby: 4.7.0 tr46: 2.0.2 @@ -9907,7 +9907,7 @@ packages: engines: node: '>=10' resolution: - integrity: sha512-BQRf/ej5Rp3+n7k0grQXZj9a1cHtsp4lqj01p59xBWFKdezR8sO37XnpafwNqiFac/v2Il12EIMjX/Y4VZtT8Q== + integrity: sha512-vwTUFf6V4zhcPkWp/4CQPr1TW9Ml6SF4lVyaIMBdJw5i6qUUJ1QWM4Z6YYVkfka0OUIzVo/0aNtGVGk256IKWw== /which-module/2.0.0: dev: true resolution: @@ -10135,7 +10135,7 @@ specifiers: builtin-modules: ^3.1.0 cosmiconfig: ^7.0.0 cssnano: ^4.1.10 - eslint: ^7.10.0 + eslint: ^7.11.0 eslint-config-prettier: ^6.12.0 eslint-import-resolver-node: ^0.3.4 eslint-plugin-import: ^2.22.1 @@ -10157,9 +10157,9 @@ specifiers: postcss: ^8.1.1 postcss-custom-properties: ^10.0.0 postcss-modules-extract-imports: ^3.0.0-rc.1 - postcss-modules-local-by-default: ^4.0.0-rc.1 + postcss-modules-local-by-default: ^4.0.0-rc.3 postcss-modules-scope: ^3.0.0-rc.1 - postcss-modules-values: ^4.0.0-rc.3 + postcss-modules-values: ^4.0.0-rc.4 postcss-value-parser: ^4.1.0 prettier: ^2.1.2 query-string: ^6.13.5 @@ -10176,6 +10176,6 @@ specifiers: stylus: ^0.54.8 sugarss: ^3.0.1 ts-jest: ^26.4.1 - tslib: ^2.0.2 + tslib: ^2.0.3 typedoc: ^0.19.2 typescript: ^4.0.3 diff --git a/src/loaders/postcss/icss/index.ts b/src/loaders/postcss/icss/index.ts index 187cd83a..7c230a9b 100644 --- a/src/loaders/postcss/icss/index.ts +++ b/src/loaders/postcss/icss/index.ts @@ -18,7 +18,7 @@ const plugin: PluginCreator = (options = {}) => { return { postcssPlugin: name, // eslint-disable-next-line @typescript-eslint/naming-convention - async Once(css, { result: res }) { + async OnceExit(css, { result: res }) { if (!css.source?.input.file) return; const opts: Result["opts"] = { ...res.opts }; diff --git a/src/loaders/postcss/noop.ts b/src/loaders/postcss/noop.ts index f8547493..a2270ac9 100644 --- a/src/loaders/postcss/noop.ts +++ b/src/loaders/postcss/noop.ts @@ -1,7 +1,5 @@ -import { TransformCallback } from "postcss"; - -const noop: TransformCallback = () => { - /* noop */ -}; - -export default noop; +import { PluginCreator } from "postcss"; +const name = "styles-noop"; +const plugin: PluginCreator = () => ({ postcssPlugin: name }); +plugin.postcss = true; +export default plugin;