Skip to content

Commit 53fd2a6

Browse files
authored
Bump eval to 0.1.8 (#1167)
1 parent bb12773 commit 53fd2a6

File tree

6 files changed

+57
-26
lines changed

6 files changed

+57
-26
lines changed

.changeset/silver-singers-bathe.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@vanilla-extract/integration': patch
3+
---
4+
5+
Bump `eval` to `0.1.8`

packages/integration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@vanilla-extract/babel-plugin-debug-ids": "^1.0.2",
2020
"@vanilla-extract/css": "^1.10.0",
2121
"esbuild": "0.17.6",
22-
"eval": "0.1.6",
22+
"eval": "0.1.8",
2323
"find-up": "^5.0.0",
2424
"javascript-stringify": "^2.0.1",
2525
"lodash": "^4.17.21",

packages/integration/src/processVanillaFile.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// @ts-expect-error
2-
import evalCode from 'eval';
3-
41
import { serializeVanillaModule } from './processVanillaFile';
52

63
describe('serializeVanillaModule', () => {

packages/integration/src/processVanillaFile.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { FileScope, Adapter } from '@vanilla-extract/css';
22
import { transformCss } from '@vanilla-extract/css/transformCss';
3-
// @ts-expect-error
43
import evalCode from 'eval';
54
import { stringify } from 'javascript-stringify';
65
import isPlainObject from 'lodash/isPlainObject';
@@ -95,7 +94,7 @@ export async function processVanillaFile({
9594
filePath,
9695
{ console, process, __adapter__: cssAdapter },
9796
true,
98-
);
97+
) as Record<string, unknown>;
9998

10099
process.env.NODE_ENV = currentNodeEnv;
101100

pnpm-lock.yaml

Lines changed: 49 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"copy-webpack-plugin": "^8.1.0",
5050
"css-loader": "^5.2.4",
5151
"csstype": "^3.0.7",
52-
"eval": "0.1.6",
52+
"eval": "0.1.8",
5353
"file-loader": "^6.2.0",
5454
"github-slugger": "^1.3.0",
5555
"gray-matter": "^4.0.2",

0 commit comments

Comments
 (0)