Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

V1.0.0: Simplify STDIO and File transports

Compare
Choose a tag to compare
Loading
@evantahlerevantahler released this 03 Feb 06:57
· 1240 commits to master since this release

Breaking Changes!!!

  • Simplified the outputs of both stdio and file to remove the starting/stopping braces and leading comma.
    • The file format is now simply a line-delimited JSON elements.
    • This allows for more versatile handling of dump files with the rest of the unix toolset.
      • For example, it would now be valid to restore a dumpfile from arbitrary lines without appending the starting and stopping brace characters.
  • Created one file transport that combines both file and stdio... as in unix-land, they are more-or-less the same thing.
    • We will now also throw an error if a file to write to already exists, and will no longer overwrite existing files (safety first!)
  • This tool now requires nodejsv1.0.0 (iojs) or higher to function due to changes in how steams are handled.

Converting old dump files.

To convert an old dump file, in a text-editor of your choice, do the following:

  • remove the first line (which should just be[)
  • remove the last ling (which should just be])
  • skip the fist line, and then remove the first character of every remaining line (which should just be,)

#156

Assets2
Loading

[8]ページ先頭

©2009-2025 Movatter.jp