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

node-pg-migrate

Package Overview
Dependencies
Maintainers
3
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-pg-migrate - npm Package Compare versions

Comparing version 2.16.0 to 2.16.1

10

CHANGELOG.md
# Change Log
## [2.16.1] (2018-01-25)
### Changed
- Updated dependencies [#158](https://github.com/salsita/node-pg-migrate/pull/158)
### Fixed
- Typescript definition fixes [#162](https://github.com/salsita/node-pg-migrate/pull/162)
## [2.16.0] (2018-01-23)

@@ -4,0 +14,0 @@

4

dist/operations/domains.js

@@ -50,3 +50,5 @@ 'use strict';

};
_create.reverse = drop;
_create.reverse = function (domain_name, type, options) {
return drop(domain_name, options);
};
return _create;

@@ -53,0 +55,0 @@ };

@@ -175,6 +175,6 @@ // Type definitions for node-pg-migrate 2.3

export interface FunctionParamType {
mode: 'IN' | 'OUT' | 'INOUT' | 'VARIADIC'
name: string
mode?: 'IN' | 'OUT' | 'INOUT' | 'VARIADIC'
name?: string
type: string
default: Value
default?: Value
}

@@ -195,10 +195,10 @@

interface TriggerOptionsEn {
when: 'BEFORE' | 'AFTER' | 'INSTEAD OF'
when?: 'BEFORE' | 'AFTER' | 'INSTEAD OF'
operation: string | string[]
constraint: boolean
function: Name
level: 'STATEMENT' | 'ROW'
condition: string
deferrable: boolean
deferred: boolean
constraint?: boolean
function?: Name
level?: 'STATEMENT' | 'ROW'
condition?: string
deferrable?: boolean
deferred?: boolean
}

@@ -228,3 +228,3 @@

interface SequenceOptions {
type?: string
type?: Type
increment?: number

@@ -277,5 +277,5 @@ minvalue?: number | null | false

export interface OperatorListDefinition {
type?: string
number?: number
name?: Name
type: 'function' | 'operator'
number: number
name: Name
params?: FunctionParam[]

@@ -349,3 +349,3 @@ }

// Domains
createDomain(domain_name: Name, domain_options: DomainOptionsCreate): void
createDomain(domain_name: Name, type: Type, domain_options: DomainOptionsCreate): void
dropDomain(domain_name: Name, drop_options: DropOptions): void

@@ -364,3 +364,3 @@ alterDomain(domain_name: Name, domain_options: DomainOptionsAlter): void

dropOperator(operator_name: Name, drop_options: DropOperatorOptions): void
createOperatorClass(operator_class_name: Name, type: Name, index_method: Name, operator_list: OperatorListDefinition, options: CreateOperatorClassOptions): void
createOperatorClass(operator_class_name: Name, type: Type, index_method: Name, operator_list: OperatorListDefinition, options: CreateOperatorClassOptions): void
dropOperatorClass(operator_class_name: Name, index_method: Name, drop_options: DropOptions): void

@@ -367,0 +367,0 @@ renameOperatorClass(old_operator_class_name: Name, index_method: Name, new_operator_class_name: Name): void

@@ -33,3 +33,3 @@ {

],
"version": "2.16.0",
"version": "2.16.1",
"engines": {

@@ -49,3 +49,3 @@ "node": ">=4.0.0"

"mkdirp": "~0.5.1",
"yargs": "~9.0.1"
"yargs": "~11.0.0"
},

@@ -64,5 +64,5 @@ "devDependencies": {

"eslint": "^4.8.0",
"eslint-config-airbnb-base": "12.0.2",
"eslint-config-airbnb-base": "12.1.0",
"eslint-plugin-import": "^2.7.0",
"mocha": "^4.0.0",
"mocha": "^5.0.0",
"pg": "^7.3.0",

@@ -69,0 +69,0 @@ "sinon": "^4.0.0",

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