New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typeorm-fixtures-cli

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typeorm-fixtures-cli - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

_config.yml

18

CHANGELOG.md

@@ -1,3 +0,9 @@

# [1.0.0](https://github.com/RobinCK/typeorm-fixtures/compare/0.3.6...1.0.0) (2019-01-14)
# [1.1.0](https://github.com/RobinCK/typeorm-fixtures/compare/1.0.0...1.1.0) (2019-01-20)
### Features
- allow multiple paths in cli arguments ([f672390](https://github.com/RobinCK/typeorm-fixtures/commit/f672390))
# [1.0.0](https://github.com/RobinCK/typeorm-fixtures/compare/0.4.0...1.0.0) (2019-01-14)
### Bug Fixes

@@ -7,2 +13,4 @@

# [0.4.0](https://github.com/RobinCK/typeorm-fixtures/compare/0.3.6...0.4.0) (2019-01-12)
### Features

@@ -27,4 +35,6 @@

## [0.3.3](https://github.com/RobinCK/typeorm-fixtures/compare/0.3.1...0.3.3) (2019-01-10)
## [0.3.3](https://github.com/RobinCK/typeorm-fixtures/compare/0.3.2...0.3.3) (2019-01-10)
## [0.3.2](https://github.com/RobinCK/typeorm-fixtures/compare/0.2.4...0.3.2) (2019-01-10)
### Bug Fixes

@@ -35,6 +45,2 @@

## [0.3.1](https://github.com/RobinCK/typeorm-fixtures/compare/0.3.0...0.3.1) (2019-01-10)
# [0.3.0](https://github.com/RobinCK/typeorm-fixtures/compare/0.2.4...0.3.0) (2019-01-09)
### Features

@@ -41,0 +47,0 @@

@@ -29,5 +29,5 @@ #!/usr/bin/env node

.usage('[options] <path> Fixtures folder/file path')
.arguments('<path>')
.action((fixturesPath, options) => {
options.path = fixturesPath;
.arguments('<path> [otherPaths...]')
.action((fixturesPath, otherPaths, options) => {
options.paths = [fixturesPath, ...otherPaths];
})

@@ -48,3 +48,3 @@ .option('--require <package>', 'A list of additional modules. e.g. ts-node/register')

}
if (!commander.path) {
if (!commander.paths) {
console.error('Path to fixtureConfigs folder is not passed.\n');

@@ -79,3 +79,5 @@ commander.outputHelp();

const loader = new Loader_1.Loader();
loader.load(path.resolve(commander.path));
commander.paths.forEach((fixturePath) => {
loader.load(path.resolve(fixturePath));
});
debug('Resolving fixtureConfigs');

@@ -82,0 +84,0 @@ const resolver = new Resolver_1.Resolver();

{
"name": "typeorm-fixtures-cli",
"version": "1.0.0",
"version": "1.1.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -385,2 +385,3 @@ # TypeORM fixtures cli

-c, --config <path> TypeORM config path (default: "ormconfig.yml")
--require A list of additional modules. e.g. ts-node/register
-cn, --connection [value] TypeORM connection name (default: "default")

@@ -387,0 +388,0 @@ -s --sync Database schema sync

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