diff --git a/package-lock.json b/package-lock.json index b4e4f6f..91040df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -741,22 +741,24 @@ } }, "node_modules/@projectwallace/css-analyzer": { - "version": "9.6.2", - "resolved": "https://registry.npmjs.org/@projectwallace/css-analyzer/-/css-analyzer-9.6.2.tgz", - "integrity": "sha512-JC6QdTXzJsnEycoR6whiwBZplZbOGIkI2UlQOORajgbIOab0D2tPfixjkVuR15gL0Yo/BPUGjwNs2bC8qrlhzQ==", - "license": "MIT", + "version": "9.9.3", + "resolved": "https://registry.npmjs.org/@projectwallace/css-analyzer/-/css-analyzer-9.9.3.tgz", + "integrity": "sha512-qyoW3eRPHgQvJGhLCCaypG/YuCPF+lrCIHtCjRxwG6HNWk+BMvFJ7qzTicBIkehfSJFQXrT+T4mvBpZmUgzlDg==", "dependencies": { - "@projectwallace/css-parser": "^0.14.8" + "@projectwallace/css-parser": "~0.18.1" }, "engines": { - "node": ">=18.0.0" + "node": ">=18.0.0", + "pnpm": ">=11.0.0" } }, "node_modules/@projectwallace/css-parser": { - "version": "0.14.8", - "resolved": "https://registry.npmjs.org/@projectwallace/css-parser/-/css-parser-0.14.8.tgz", - "integrity": "sha512-BXqV0ksSfHR3PPGqX3a5jpd+RXCG74otepaJ8STCF/msv/6n8jEpPMn+P7mnlNTFnmlEXRS+8XIZ7FJi3iGUHA==", - "license": "MIT" + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/@projectwallace/css-parser/-/css-parser-0.18.1.tgz", + "integrity": "sha512-XTeexH92z5NLWfNw031emlEdd7P3yxJPv9ac/ZN3tFxyPyz1l8vEdZ6afQsd+cpfclOMvFfWbDxhfZ7IRePoLg==", + "engines": { + "pnpm": ">=11.0.0" + } }, "node_modules/@publint/pack": { "version": "0.1.6", @@ -4286,17 +4288,17 @@ "optional": true }, "@projectwallace/css-analyzer": { - "version": "9.6.2", - "resolved": "https://registry.npmjs.org/@projectwallace/css-analyzer/-/css-analyzer-9.6.2.tgz", - "integrity": "sha512-JC6QdTXzJsnEycoR6whiwBZplZbOGIkI2UlQOORajgbIOab0D2tPfixjkVuR15gL0Yo/BPUGjwNs2bC8qrlhzQ==", + "version": "9.9.3", + "resolved": "https://registry.npmjs.org/@projectwallace/css-analyzer/-/css-analyzer-9.9.3.tgz", + "integrity": "sha512-qyoW3eRPHgQvJGhLCCaypG/YuCPF+lrCIHtCjRxwG6HNWk+BMvFJ7qzTicBIkehfSJFQXrT+T4mvBpZmUgzlDg==", "requires": { - "@projectwallace/css-parser": "^0.14.8" + "@projectwallace/css-parser": "~0.18.1" } }, "@projectwallace/css-parser": { - "version": "0.14.8", - "resolved": "https://registry.npmjs.org/@projectwallace/css-parser/-/css-parser-0.14.8.tgz", - "integrity": "sha512-BXqV0ksSfHR3PPGqX3a5jpd+RXCG74otepaJ8STCF/msv/6n8jEpPMn+P7mnlNTFnmlEXRS+8XIZ7FJi3iGUHA==" + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/@projectwallace/css-parser/-/css-parser-0.18.1.tgz", + "integrity": "sha512-XTeexH92z5NLWfNw031emlEdd7P3yxJPv9ac/ZN3tFxyPyz1l8vEdZ6afQsd+cpfclOMvFfWbDxhfZ7IRePoLg==" }, "@publint/pack": { "version": "0.1.6", diff --git a/src/program.test.ts b/src/program.test.ts index 9db806c..9cfe1c2 100644 --- a/src/program.test.ts +++ b/src/program.test.ts @@ -98,7 +98,7 @@ describe('Program', () => { stdin: css_fixture, }) - expect(JSON.parse(actual)).toEqual(result) + expect(JSON.parse(actual)).toMatchObject(result) }) it('wallace non-existing.css', async () => { @@ -131,6 +131,6 @@ describe('Program', () => { stdin: '', }) - expect(JSON.parse(actual)).toEqual(result) + expect(JSON.parse(actual)).toMatchObject(result) }) })