Skip to content

Commit 1d69193

Browse files
committed
0.0.42
1 parent 680176f commit 1d69193

File tree

18 files changed

+26
-17
lines changed

18 files changed

+26
-17
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## [0.0.42](https://github.com/NervJS/parse-css-to-stylesheet/compare/v0.0.41...v0.0.42) (2024-03-20)
2+
3+
4+
### Features
5+
6+
* 支持css变量 ([680176f](https://github.com/NervJS/parse-css-to-stylesheet/commit/680176fdbf3dc2342d25b3f69abcd544d2f0185d))
7+
8+
9+
110
## [0.0.41](https://github.com/NervJS/parse-css-to-stylesheet/compare/v0.0.40...v0.0.41) (2024-03-19)
211

312

__test__/index.spec.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ test('test parse Harmony', (t) => {
1414
const css1 = fs.readFileSync(path.resolve(__dirname, 'fixure/Mod.scss'), 'utf8')
1515
const css2 = fs.readFileSync(path.resolve(__dirname, 'fixure/test.scss'), 'utf8')
1616

17-
const code = parse(jsx, [css1, css2], {
17+
const { code } = parse(jsx, [css1, css2], {
1818
platformString: 'Harmony',
1919
isEnableNesting: true
2020
})
@@ -26,7 +26,7 @@ test('test parse ReactNative', (t) => {
2626
const css1 = fs.readFileSync(path.resolve(__dirname, 'fixure/Mod.scss'), 'utf8')
2727
const css2 = fs.readFileSync(path.resolve(__dirname, 'fixure/test.scss'), 'utf8')
2828

29-
const code = parse(jsx, [css1, css2], {
29+
const { code } = parse(jsx, [css1, css2], {
3030
platformString: 'ReactNative',
3131
isEnableNesting: true
3232
})

__test__/index.spec.mjs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Generated by [AVA](https://avajs.dev).
1010
1111
`import React from 'react';␊
1212
import './Mod.scss';␊
13-
import { calcStaticStyle, convertNumber2VP, __combine_nesting_style__ } from "@tarojs/runtime";␊
13+
import { calcStaticStyle, convertNumber2VP, __combine_nesting_style__, __var_fn, globalCss } from "@tarojs/runtime";␊
1414
let __inner_style_data__;␊
1515
function __inner_style__() {␊
1616
if (__inner_style_data__) return __inner_style_data__;␊

__test__/index.spec.mjs.snap

16 Bytes
Binary file not shown.

npm/android-arm-eabi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-android-arm-eabi",
3-
"version": "0.0.41",
3+
"version": "0.0.42",
44
"os": [
55
"android"
66
],

npm/android-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-android-arm64",
3-
"version": "0.0.41",
3+
"version": "0.0.42",
44
"os": [
55
"android"
66
],

npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-darwin-arm64",
3-
"version": "0.0.41",
3+
"version": "0.0.42",
44
"os": [
55
"darwin"
66
],

npm/darwin-universal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-darwin-universal",
3-
"version": "0.0.41",
3+
"version": "0.0.42",
44
"os": [
55
"darwin"
66
],

npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-darwin-x64",
3-
"version": "0.0.41",
3+
"version": "0.0.42",
44
"os": [
55
"darwin"
66
],

npm/linux-arm-gnueabihf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf",
3-
"version": "0.0.41",
3+
"version": "0.0.42",
44
"os": [
55
"linux"
66
],

0 commit comments

Comments
 (0)