Skip to content

v0.5.1

Choose a tag to compare

@ayuhito ayuhito released this 12 Oct 15:01
· 58 commits to main since this release
cf6182c

Overview

packTar now supports overriding any metadata when using sources 🧷

import { packTar } from 'modern-tar/fs';

const sources = [
  {
    type: "file",
    source: "./package.json",
    target: "project/package.json",
    mtime: new Date("2024-01-01T00:00:00Z"),
    uid: 1001,
    gid: 1002,
    uname: "builder",
    gname: "ci",
    mode: 0o644
  }
];

const tarStream = packTar(sources);
  • feat(pack): allow overriding more metadata on tar sources by @ayuhito in #78

Full Changelog: v0.5.0...v0.5.1