Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sxzz/test-utils

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sxzz/test-utils - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

8

dist/index.d.ts
import { Options } from 'fast-glob';
import { InputOptions, OutputOptions, RolldownOutput } from 'rolldown';
import { InputPluginOption as InputPluginOption$1, InputOptions as InputOptions$1, OutputOptions as OutputOptions$1, RollupOutput, Plugin } from 'rollup';
import { InputOptions, OutputOptions, RolldownOutput, RolldownOutputChunk, RolldownOutputAsset } from 'rolldown';
import { InputPluginOption as InputPluginOption$1, InputOptions as InputOptions$1, OutputOptions as OutputOptions$1, RollupOutput, Plugin, OutputChunk, OutputAsset } from 'rollup';

@@ -27,4 +27,6 @@ type SkipFn = (testName: string) => boolean | Promise<boolean>;

declare function outputToSnapshot(chunks: (OutputChunk | OutputAsset | RolldownOutputChunk | RolldownOutputAsset)[]): string;
declare function removeSpaces(s: string): string;
export { type FixtureOptions, RollupEscapeNullCharacterPlugin, RollupToStringPlugin, removeSpaces, rolldownBuild, rollupBuild, testFixtures, testFixturesSkip };
export { type FixtureOptions, RollupEscapeNullCharacterPlugin, RollupToStringPlugin, outputToSnapshot, removeSpaces, rolldownBuild, rollupBuild, testFixtures, testFixturesSkip };

@@ -73,4 +73,4 @@ // src/fixture.ts

// src/internal.ts
function genSnapshot(chunks) {
// src/snapshot.ts
function outputToSnapshot(chunks) {
return chunks.map((file) => {

@@ -107,3 +107,3 @@ const filename = file.fileName.replaceAll("\\", "/");

chunks,
snapshot: genSnapshot(chunks)
snapshot: outputToSnapshot(chunks)
};

@@ -134,3 +134,3 @@ }

chunks,
snapshot: genSnapshot(chunks)
snapshot: outputToSnapshot(chunks)
};

@@ -166,2 +166,3 @@ }

RollupToStringPlugin,
outputToSnapshot,
removeSpaces,

@@ -168,0 +169,0 @@ rolldownBuild,

{
"name": "@sxzz/test-utils",
"version": "0.3.2",
"version": "0.3.3",
"description": "Collection of common test utils for Vitest.",

@@ -47,18 +47,18 @@ "type": "module",

"dependencies": {
"@rollup/pluginutils": "^5.1.0",
"@rollup/pluginutils": "^5.1.3",
"fast-glob": "^3.3.2"
},
"devDependencies": {
"@sxzz/eslint-config": "^4.1.6",
"@sxzz/eslint-config": "^4.4.1",
"@sxzz/prettier-config": "^2.0.2",
"@types/node": "^20.16.5",
"bumpp": "^9.5.2",
"eslint": "^9.10.0",
"@types/node": "^22.9.0",
"bumpp": "^9.8.1",
"eslint": "^9.15.0",
"prettier": "^3.3.3",
"rolldown": "^0.13.2",
"rollup": "^4.21.2",
"tsup": "^8.2.4",
"tsx": "^4.19.0",
"typescript": "^5.5.4",
"vitest": "^2.0.5"
"rolldown": "^0.14.0",
"rollup": "^4.27.2",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"vitest": "^2.1.5"
},

@@ -65,0 +65,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc