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

snaplet

Package Overview
Dependencies
Maintainers
3
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snaplet - npm Package Compare versions

Comparing version 0.27.0-beta.1 to 0.34.1

scripts/prepublishOnly.cjs

9

dist/index.d.ts

@@ -12,7 +12,8 @@ type SubsetConfig = Partial<{

}>;
declare function subsetConfig(config: SubsetConfig): SubsetConfig;
type TransformConfig = Record<string, any>;
declare function transformConfig<T = TransformConfig>(config: T): T;
type Schema = string;
type Table = string;
type TableConfig = Record<Table, () => any>;
type TransformConfig = Record<Schema, TableConfig>;
export { SubsetConfig, TransformConfig, subsetConfig, transformConfig };
export { SubsetConfig, TransformConfig };

@@ -40,3 +40,3 @@ {

"build": "tsup src/index.ts --clean --dts --format cjs,esm",
"prepublishOnly": "yarn run build",
"prepublishOnly": "yarn run build && node ./scripts/prepublishOnly.cjs",
"postinstall": "node ./scripts/postInstall.cjs"

@@ -46,3 +46,3 @@ },

"types": "./dist/index.d.ts",
"version": "0.27.0-beta.1"
}
"version": "0.34.1"
}
# Snaplet
We're in early development.
Snaplet is a database snapshot tool. It captures snapshots of a PostgreSQL database that can be reduced in size by subsetting ("Give me 10% of Users") and transforms your data ("Remove all private information") via JavaScript functions.
Snaplet can be used in any project that uses a PostgreSQL database.
# Getting started
The fastest way to capture a snapshot is by using [Snaplet Cloud](https://www.snaplet.dev/), and then using the Snaplet CLI to restore the snapshot. You can find more informations in the [documentation](https://docs.snaplet.dev/getting-started/start-here).

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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