arui-scripts 25.0.1 → 25.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  ts-jest[versions] (WARN) Version 6.0.2 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=4.3.0 <6.0.0-0). Please do not report issues in ts-jest if you are using unsupported versions.
2
- PASS src/commands/util/__tests__/build-size-budgets.tests.ts (26.229 s)
3
- PASS src/configs/util/__tests__/register-ts-node.tests.ts (5.46 s)
2
+ PASS src/commands/util/__tests__/build-size-budgets.tests.ts (31.021 s)
3
+ PASS src/configs/util/__tests__/register-ts-node.tests.ts (6.028 s)
4
4
  PASS src/plugins/__tests__/attribute-module-css.tests.ts
5
5
  PASS src/configs/util/__tests__/find-plugin.tests.ts
6
6
  PASS src/configs/__tests__/rspack-client-assets.tests.ts
@@ -16,14 +16,15 @@ PASS src/configs/__tests__/rspack-client-modules.tests.ts
16
16
  PASS src/configs/app-configs/__tests__/update-with-package.tests.ts
17
17
  PASS src/configs/util/__tests__/compress-with-dcb.test.ts
18
18
  PASS src/configs/util/__tests__/get-polyfills.tests.ts
19
+ PASS src/configs/__tests__/mq-custom-media.tests.ts
19
20
  PASS src/plugins/postcss-global-variables/utils/__tests__/parse-variables.tests.ts
20
21
  PASS src/commands/util/__tests__/client-assets-sizes.tests.ts
21
22
  PASS src/configs/app-configs/__tests__/validate-build-size-budgets.tests.ts
22
23
  PASS src/plugins/postcss-global-variables/utils/__tests__/get-media-query-name.tests.ts
23
24
  PASS src/configs/app-configs/__tests__/validate-settings-keys.tests.ts
24
25
 
25
- Test Suites: 22 passed, 22 total
26
- Tests: 103 passed, 103 total
26
+ Test Suites: 23 passed, 23 total
27
+ Tests: 108 passed, 108 total
27
28
  Snapshots: 0 total
28
- Time: 36.454 s
29
+ Time: 42.147 s
29
30
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # arui-scripts
2
2
 
3
+ ## 25.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#628](https://github.com/core-ds/arui-scripts/pull/628) [`f8b1235b`](https://github.com/core-ds/arui-scripts/commit/f8b1235ba28e31fe6cdd87fbe078d3479d7024f4) Thanks [@HappyManWorld](https://github.com/HappyManWorld)! - **Что изменилось**
8
+ Исправлены потерянные двоеточия в переменных `@custom-media` `--large`, `--xlarge` и `--xxlarge` в `configs/mq.css`. Раньше в собранный CSS попадал невалидный media query вида `@media screen and (min-width 64em)`, который не матчится ни в одном браузере, поэтому правила внутри `@media (--large)`, `@media (--xlarge)` и `@media (--xxlarge)` не применялись.
9
+
10
+ **Что делать потребителю**
11
+ Обновите `arui-scripts`. Если для обхода проблемы подменялись значения брейкпоинтов (например, через оверрайд `postcss` с собственным файлом custom media), после обновления подмену можно убрать.
12
+
13
+ **Контекст:** регрессия появилась в 7e6f548 при переносе `configs/mq.ts` в `configs/mq.css`: в `mq.ts` значения были записаны корректно (`screen and (min-width: 64em)`). Ошибка «тихая»: `postcss-custom-media` не валидирует подставляемое значение, поэтому предупреждений при сборке нет. Воспроизводится в 25.0.0 и 25.0.1.
14
+
3
15
  ## 25.0.1
4
16
 
5
17
  ### Patch Changes
@@ -2,11 +2,11 @@
2
2
  @custom-media --small-only screen and (max-width: 47.9375em);
3
3
  @custom-media --medium screen and (min-width: 48em);
4
4
  @custom-media --medium-only screen and (min-width: 48em) and (max-width: 63.9375em);
5
- @custom-media --large screen and (min-width 64em);
5
+ @custom-media --large screen and (min-width: 64em);
6
6
  @custom-media --large-only screen and (min-width: 64em) and (max-width: 89.9375em);
7
- @custom-media --xlarge screen and (min-width 90em);
7
+ @custom-media --xlarge screen and (min-width: 90em);
8
8
  @custom-media --xlarge-only screen and (min-width: 90em) and (max-width: 119.9375em);
9
- @custom-media --xxlarge screen and (min-width 120em);
9
+ @custom-media --xxlarge screen and (min-width: 120em);
10
10
  @custom-media --xxlarge-only screen and (min-width: 120em) and (max-width: 99999999em);
11
11
  @custom-media --mobile-s (min-width: 320px);
12
12
  @custom-media --mobile-m (min-width: 375px);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arui-scripts",
3
- "version": "25.0.1",
3
+ "version": "25.0.2",
4
4
  "main": "./build/index.js",
5
5
  "typings": "./build/index.d.ts",
6
6
  "exports": {