Skip to content

@stackline/brace 1.0.0

Choose a tag to compare

@alexandroit alexandroit released this 27 Aug 05:47
· 12 commits to main since this release

@stackline/brace 1.0.0

Compatibility-first successor to brace@0.11.1, generated from Ace Editor 1.44.0 and designed for existing Browserify, CommonJS, ESM, and TypeScript applications.

Highlights

  • Preserves the Brace root API and historical side-effect import paths.
  • Includes current Ace modes, themes, extensions, keybindings, snippets, and inline workers.
  • Keeps zero runtime dependencies and supports Node.js 12 through 24.
  • Provides CommonJS, ESM, and TypeScript declarations compatible with TypeScript 3.9 and current TypeScript.
  • Fixes worker asset failures by registering imported workers as browser-local Blob URLs.
  • Preserves consumer worker overrides and maps two historically incomplete legacy modes to functional compatibility implementations.
  • Includes the complete Ace BSD-3-Clause attribution alongside the Stackline MIT package license.

Verification

  • Full Node.js compatibility matrix: 12, 14, 16, 18, 20, 22, and 24.
  • Legacy import inventory and generated asset inventory checks.
  • Browserify and esbuild integration tests.
  • Real Chrome editor, mode, theme, and worker execution tests.
  • TypeScript 3.9 and current TypeScript declaration tests.
  • Packed artifact, direct install, npm alias, publint, and Are the Types Wrong checks.
  • CodeQL analysis and dependency audit.

Installation

npm install @stackline/brace

Existing applications can also keep the original package name:

npm install brace@npm:@stackline/brace

Release Artifacts

The release includes the exact npm tarball, SHA-256 and SHA-512 checksums, and a CycloneDX SBOM.