@pgpm/utils 0.15.1 → 0.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Makefile CHANGED
@@ -1,5 +1,5 @@
1
1
  EXTENSION = pgpm-utils
2
- DATA = sql/pgpm-utils--0.14.0.sql
2
+ DATA = sql/pgpm-utils--0.15.2.sql
3
3
 
4
4
  PG_CONFIG = pg_config
5
5
  PGXS := $(shell $(PG_CONFIG) --pgxs)
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules/pgpm/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules/pgpm/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../pgpm/index.js" "$@"
19
+ else
20
+ exec node "$basedir/../pgpm/index.js" "$@"
21
+ fi
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules/pgpm/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules/pgpm/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../pgpm/index.js" "$@"
19
+ else
20
+ exec node "$basedir/../pgpm/index.js" "$@"
21
+ fi
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules/pgpm/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules/pgpm/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../pgpm/index.js" "$@"
19
+ else
20
+ exec node "$basedir/../pgpm/index.js" "$@"
21
+ fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpm/utils",
3
- "version": "0.15.1",
3
+ "version": "0.15.3",
4
4
  "description": "General utility functions for PostgreSQL extensions",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "contributors": [
@@ -21,7 +21,7 @@
21
21
  "test:watch": "jest --watch"
22
22
  },
23
23
  "dependencies": {
24
- "@pgpm/verify": "0.15.1"
24
+ "@pgpm/verify": "0.15.3"
25
25
  },
26
26
  "devDependencies": {
27
27
  "pgpm": "^1.0.0"
@@ -34,5 +34,5 @@
34
34
  "bugs": {
35
35
  "url": "https://github.com/constructive-io/pgpm-modules/issues"
36
36
  },
37
- "gitHead": "dee7b5e6073a88f1fac6ea4064dd01c2bf2cae44"
37
+ "gitHead": "187ed37f6b731132fe930acf5b5996b1e63ecca0"
38
38
  }
@@ -1,6 +1,6 @@
1
1
  # pgpm-utils extension
2
2
  comment = 'pgpm-utils extension'
3
- default_version = '0.14.0'
3
+ default_version = '0.15.2'
4
4
  module_pathname = '$libdir/pgpm-utils'
5
5
  requires = 'plpgsql,pgpm-verify'
6
6
  relocatable = false
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules/pgpm/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules/pgpm/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../pgpm/index.js" "$@"
19
+ else
20
+ exec node "$basedir/../pgpm/index.js" "$@"
21
+ fi
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules/pgpm/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules/pgpm/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../pgpm/index.js" "$@"
19
+ else
20
+ exec node "$basedir/../pgpm/index.js" "$@"
21
+ fi