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

dbsync

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dbsync - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "dbsync",
"version": "1.0.0",
"version": "1.0.1",
"description": "A flexible, easy-to-use, unopinionated schema migration / database change management tool.",

@@ -5,0 +5,0 @@ "author": "RealtMapster, LLC",

@@ -158,3 +158,3 @@ ## dbsync

```
will will use options equivalent to the following options object:
will use options equivalent to the following options object:
```

@@ -206,11 +206,11 @@ {

`migrationSource`:
** if `migrationSource` is `undefined` or `null`, then `migrationId` is treated as a filename; otherwise, it
* if `migrationSource` is `undefined` or `null`, then `migrationId` is treated as a filename; otherwise, it
`migrationId` is a user-defined string id which will identify this migration.
** if `migrationSource` is a string, the string will be used as the content of the migration.
** if `migrationsSource` is an instance of `stream.Readable`, the data from the stream will be used as the content of
* if `migrationSource` is a string, the string will be used as the content of the migration.
* if `migrationsSource` is an instance of `stream.Readable`, the data from the stream will be used as the content of
the migration. Note that the stream must return strings, not buffers. (If you have a stream returning buffers, you
can make it return strings by calling `myStream.setEncoding(encoding)`.)
** if `migrationSource` is a promise (or then-able) which resolves to a string or a readable stream, the resolved value
* if `migrationSource` is a promise (or then-able) which resolves to a string or a readable stream, the resolved value
will be used as described above.
** if `migrationSource` is a function, the function will be called and its return value (which must be a string,
* if `migrationSource` is a function, the function will be called and its return value (which must be a string,
readable stream, or promise to one of those) will be used as described above. Note that the function will

@@ -217,0 +217,0 @@ only be called if `migrator.shouldMigrationRun(migrationId)` resolved to `true` for `migrationId`; this makes it useful

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