pg-migration
Advanced tools
+1
-1
@@ -78,3 +78,3 @@ 'use strict'; | ||
| // Read the file content | ||
| var changesetContent = _fsExtra2.default.readFileSync('{$migrationsDir}/' + changeset, 'UTF-8'); | ||
| var changesetContent = _fsExtra2.default.readFileSync(migrationsDir + '/' + changeset, 'UTF-8'); | ||
| databaseClient.query("BEGIN", function (err) { | ||
@@ -81,0 +81,0 @@ databaseClient.query(changesetContent, function (err) { |
+1
-1
| { | ||
| "name": "pg-migration", | ||
| "version": "1.0.5", | ||
| "version": "1.0.6", | ||
| "description": "Apply changesets of your data structure for Postgresql easily from your node application", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package