Files
bruno/packages/bruno-filestore
dependabot[bot] 0b61bfd6a0 chore(deps-dev): bump the babel-dependencies group across 1 directory with 9 updates
Bumps the babel-dependencies group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@storybook/addon-webpack5-compiler-babel](https://github.com/storybookjs/addon-webpack5-compiler-babel) | `4.0.0` | `4.0.1` |
| [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.29.0` | `8.0.1` |
| [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.26.0` | `8.0.2` |
| [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) | `7.27.1` | `8.0.1` |
| [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) | `7.28.5` | `8.0.1` |
| [@rsbuild/plugin-babel](https://github.com/web-infra-dev/rsbuild/tree/HEAD/packages/plugin-babel) | `1.0.3` | `2.0.0` |
| [babel-jest](https://github.com/jestjs/jest/tree/HEAD/packages/babel-jest) | `29.7.0` | `30.4.1` |
| [babel-plugin-react-compiler](https://github.com/facebook/react/tree/HEAD/compiler/packages/babel-plugin-react-compiler) | `19.0.0-beta-a7bf2bd-20241110` | `19.0.0-beta-714736e-20250131` |
| [babel-plugin-styled-components](https://github.com/styled-components/babel-plugin-styled-components) | `2.1.4` | `2.3.0` |



Updates `@storybook/addon-webpack5-compiler-babel` from 4.0.0 to 4.0.1
- [Release notes](https://github.com/storybookjs/addon-webpack5-compiler-babel/releases)
- [Changelog](https://github.com/storybookjs/addon-webpack5-compiler-babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/addon-webpack5-compiler-babel/compare/v4.0.0...v4.0.1)

Updates `@babel/core` from 7.29.0 to 8.0.1
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v8.0.1/packages/babel-core)

Updates `@babel/preset-env` from 7.26.0 to 8.0.2
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v8.0.2/packages/babel-preset-env)

Updates `@babel/preset-react` from 7.27.1 to 8.0.1
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v8.0.1/packages/babel-preset-react)

Updates `@babel/preset-typescript` from 7.28.5 to 8.0.1
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v8.0.1/packages/babel-preset-typescript)

Updates `@rsbuild/plugin-babel` from 1.0.3 to 2.0.0
- [Release notes](https://github.com/web-infra-dev/rsbuild/releases)
- [Changelog](https://github.com/web-infra-dev/rsbuild/blob/main/packages/plugin-babel/CHANGELOG.md)
- [Commits](https://github.com/web-infra-dev/rsbuild/commits/v2.0.0/packages/plugin-babel)

Updates `babel-jest` from 29.7.0 to 30.4.1
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.4.1/packages/babel-jest)

Updates `babel-plugin-react-compiler` from 19.0.0-beta-a7bf2bd-20241110 to 19.0.0-beta-714736e-20250131
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/compiler/packages/babel-plugin-react-compiler)

Updates `babel-plugin-styled-components` from 2.1.4 to 2.3.0
- [Release notes](https://github.com/styled-components/babel-plugin-styled-components/releases)
- [Changelog](https://github.com/styled-components/babel-plugin-styled-components/blob/main/CHANGELOG.md)
- [Commits](https://github.com/styled-components/babel-plugin-styled-components/compare/v2.1.4...v2.3.0)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-version: 7.29.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: babel-dependencies
- dependency-name: "@babel/preset-env"
  dependency-version: 7.29.7
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: babel-dependencies
- dependency-name: "@babel/preset-react"
  dependency-version: 7.29.7
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: babel-dependencies
- dependency-name: "@babel/preset-typescript"
  dependency-version: 7.29.7
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: babel-dependencies
- dependency-name: "@rsbuild/plugin-babel"
  dependency-version: 1.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: babel-dependencies
- dependency-name: "@storybook/addon-webpack5-compiler-babel"
  dependency-version: 4.0.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: babel-dependencies
- dependency-name: babel-jest
  dependency-version: 30.4.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: babel-dependencies
- dependency-name: babel-plugin-react-compiler
  dependency-version: 19.0.0-beta-714736e-20250131
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: babel-dependencies
- dependency-name: babel-plugin-styled-components
  dependency-version: 2.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: babel-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-06 16:17:56 +00:00
..

Bruno Filestore

A generic file storage and parsing package for Bruno API client.

Purpose

This package abstracts the file format operations for Bruno, providing a clean interface for parsing and stringifying Bruno requests, collections, folders, and environments.

Features

  • Format-agnostic APIs for file operations
  • Currently supports Bruno's custom .bru format
  • Designed for future extensibility to support YAML and other formats

Usage

const {
  parseRequest,
  stringifyRequest,
  parseCollection,
  stringifyCollection,
  parseEnvironment,
  stringifyEnvironment,
  parseDotEnv
} = require('@usebruno/filestore');

// Parse a .bru request file
const requestData = parseRequest(bruContent);

// Stringify request data to .bru format
const bruContent = stringifyRequest(requestData);

// Example with future format support (not yet implemented)
const requestData = parseRequest(yamlContent, { format: 'yaml' });

API

The package provides the following functions:

  • parseRequest(content, options = { format: 'bru' }): Parse request file content
  • stringifyRequest(requestObj, options = { format: 'bru' }): Convert request object to file content
  • parseCollection(content, options = { format: 'bru' }): Parse collection file content
  • stringifyCollection(collectionObj, options = { format: 'bru' }): Convert collection object to file content
  • parseFolder(content, options = { format: 'bru' }): Parse folder file content
  • stringifyFolder(folderObj, options = { format: 'bru' }): Convert folder object to file content
  • parseEnvironment(content, options = { format: 'bru' }): Parse environment file content
  • stringifyEnvironment(envObj, options = { format: 'bru' }): Convert environment object to file content
  • parseDotEnv(content): Parse .env file content