{"_id":"@andyrmitchell/pg-testable","_rev":"22-eb04e6f45d9d7202a1454d79bd73d93c","name":"@andyrmitchell/pg-testable","dist-tags":{"latest":"0.5.2"},"versions":{"0.1.1":{"name":"@andyrmitchell/pg-testable","version":"0.1.1","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.1.1","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"e2c8fc2552b8af79783070bad9d7b07116cad38d","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.1.1.tgz","fileCount":4,"integrity":"sha512-UUu5W8NZ8QbcdLpNXhzcMvvayVQu06HaH+vU+rTsrvquee9b6FDPXeIv2vs2+GNx/CXlF6BoQ3wLKJlGZOcTbQ==","signatures":[{"sig":"MEUCIQDv+aPr3ZIUV8tmy47/1TZ5B/yrojgvfr5uOmOVKmnG7wIgAeFK2mvSPTFOib8LoqPNe3KwRjQfC002qapfAfoD/yI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15923},"main":"./dist/index.js","type":"commonjs","gitHead":"6895c7e25099d03e7d3d90a09376ce5209d13b0d","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg-mem":"^2.8.1","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.1.1_1713784889910_0.6724087079453045","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@andyrmitchell/pg-testable","version":"0.1.2","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.1.2","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"d0785ed145a388e2e5bc2a12abdeccc8738c0b2c","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.1.2.tgz","fileCount":7,"integrity":"sha512-inYEQP1zmqnme3zPaeBNb98rfzXib524R+PMSCRplTi6BNGb33djrTteSHK576wRPmORZWOYYq0y1DlvDaK5wQ==","signatures":[{"sig":"MEQCIGuWL0/5/WXPMjoVQhnjRs1VzZ4F1hj3cNQ6sIpapJ8kAiBQ60CsVal+VQDd7iKAFhryWTxzvN53CdSa4iVIbAjRiw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26832},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"8e9c260736e64aa1a51e6ee56d6fe69e6a2ab0cc","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg-mem":"^2.8.1","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.1.2_1713785218224_0.46711714388809944","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@andyrmitchell/pg-testable","version":"0.1.3","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.1.3","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"d12e71d3f96c455ce1ae526b7d5bbff99310c5ab","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.1.3.tgz","fileCount":7,"integrity":"sha512-TPOKvFNVAoNCx8T7YwO1Vm7doB9qwrmfhBkEASC3Nt1LaRQLfYHTJ5oUjnrK+JzSgnOg5OroyMKpSV2Z6OBWNg==","signatures":[{"sig":"MEYCIQCQwJ1QnZvyLHbOavwMNL3fIQojjmTfKSEH+Ms9jodtEgIhAMhfzwEvojn5+afwzuRrY00nU74fAC5CxLPw5jAc3/qS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27202},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"e682fdb4f07beb449b789ff36ff194e58b857556","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg-mem":"^2.8.1","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.1.3_1713785830633_0.11519671334333004","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@andyrmitchell/pg-testable","version":"0.1.4","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.1.4","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"762a353cad62e5db9d7e4738d48972cfd1e7a24e","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.1.4.tgz","fileCount":7,"integrity":"sha512-SynTZy6pMePW0qra8YzrnJrY2lJjJRzgNG+IpWWex0xe5MjMC9OP3FCflBOUqZSOnO3Vqtsqcl6fQZywE4PlDw==","signatures":[{"sig":"MEUCIG4bl8q2J4WhAp+T2wLvOiyAUzCGzW7bBBpSz3LYeBSsAiEAiYc0v1k5aRDu8yZFz7J7nHfBl7jTOxzTuPyQp+qocgc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27648},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"370a882722f6f8a2116b04053efb69da7ef62003","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg-mem":"^2.8.1","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.1.4_1713799483122_0.6537577981671987","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@andyrmitchell/pg-testable","version":"0.1.5","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.1.5","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"7ac2f89b04495cbad90b86718adb4182bfce2bfc","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.1.5.tgz","fileCount":7,"integrity":"sha512-5p63vTmlM23fXOnf2AGItY8P+JY2YCvjxW7Q93cjtQ24tgIcZp5G/ddmo2sLfGQKUl6KayFawfmGhYp0kKYedg==","signatures":[{"sig":"MEUCIQDPHUwyY7IKjNR4d6DbBd29vHbmYdtUAe6KY9QaxXbSbgIgM29vcfJMipdv6beWhs6BO5hkCl4vPXOz/yTVljexdsM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28361},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"18e891f6e2c2d420f96b4384f2167dddd2bd8c19","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg-mem":"^2.8.1","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.1.5_1713800966005_0.8963380923797803","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"@andyrmitchell/pg-testable","version":"0.1.6","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.1.6","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"ed98a05ad73a3ece7f68bff2c6002e3448a0d9b1","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.1.6.tgz","fileCount":7,"integrity":"sha512-qvzon4pt+Ty2gxTsSXIejEJuuvLFOeAHbKAZyP+ZofFSMFrLfAUOF5MpoDT55SBGt46GzYySeE3MoEtGwXwR1g==","signatures":[{"sig":"MEQCIAGXQAjUYbW/W7GExOaZFB6yANBwXAETDget7vrEJuf4AiAuAfZtgUhsuwQDQHR89RFIv35/mD0pQYLbKNjx0QEkTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29649},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"e04138172a5ad53cde7ff1c9ee55a65d09387cd5","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg-mem":"^2.8.1","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.1.6_1713801920517_0.7519230589801356","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"@andyrmitchell/pg-testable","version":"0.1.7","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.1.7","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"afcdbbeb58627c3809e06db0468bcc770a5f4cdf","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.1.7.tgz","fileCount":7,"integrity":"sha512-4cc5g+koOaTPiWvaB2xuhGiiH66rOPdti88mihmgmJ3vYVrxgjwA/7rionyfQwpdXc3pEJmJxzIkzGbjvQwSKQ==","signatures":[{"sig":"MEQCIGXpWLiIfDJRe+zadfr0H5mXeSCuOjxAa8C1/uPKcT+NAiAVf76fj9zV7BevO3RmgY2pgTvvHPnA+VH1yhjKaNzSxQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30225},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"1f4b33db642595ebe191f96998fe8a0387e66aa7","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg-mem":"^2.8.1","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.1.7_1713803090388_0.4980378896578106","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"@andyrmitchell/pg-testable","version":"0.1.8","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.1.8","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"e9bec649953227970ac4b0cca3b2ab814909e7b4","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.1.8.tgz","fileCount":7,"integrity":"sha512-jGci5VBI8dJNnhmxRC1viyEEocT/J8laIo7gQ9GKHTCk1LzQG+Rw7ocLj7eBUzjNRnr2UEBKf/Qx7kopwgkMrA==","signatures":[{"sig":"MEYCIQD3NLBJHUmKqKZEm8/VaRpFkCNi82RAD1y5XPvXUfhvQwIhAIuD9UJ/D81bTlgbRedVYOBAW1zG35/dbrVedvmwowV8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31107},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"f27fe1eaa628490e25d2cfbb6cb0d78c7f739fab","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg-mem":"^2.8.1","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.1.8_1713803554427_0.23558134252591745","host":"s3://npm-registry-packages"}},"0.1.9":{"name":"@andyrmitchell/pg-testable","version":"0.1.9","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.1.9","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"0f70f8a8dd7f38871abf82a13d8fe52b92a65175","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.1.9.tgz","fileCount":7,"integrity":"sha512-4qgW24H+BvEBvXPWYV3DmJ1eEIA9swxg/G+xwITLPDAVk13iMem/FQ0caBnEBh21Y4xfm5sphmGIVKLDANPfpA==","signatures":[{"sig":"MEQCIEqkgLrKtmtE7cIOMLN69lwjMQ/35zidtez3tsS93y3fAiAHihSgNzgZx9rgGe+CMsyco1voWDX69Vs8Saz3yuW7VQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31419},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"46acfcaed671f2c1a4e3ff3c8f21b6b1fb2229b7","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg-mem":"^2.8.1","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.1.9_1713803924586_0.3120697789138447","host":"s3://npm-registry-packages"}},"0.1.10":{"name":"@andyrmitchell/pg-testable","version":"0.1.10","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.1.10","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"323a9c24aba082d802e726ec1ee5d9db32692bd2","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.1.10.tgz","fileCount":7,"integrity":"sha512-KPSW+0gPFtOzNcW3UNOHVW3LZabML8+WB0PwWzkgbni5VMCCudBfcqXG9bYNwg4saycPU9gHDzGKAwoz8hweSg==","signatures":[{"sig":"MEQCIAuE7xqghaFC8zN+oPiQ9aZUvP7ba/oM05R4Np1uSajZAiB9kkDizG+xAoMz3fxsLBtIuKM9xertsg6/Px5sQzl+Xg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28774},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"c4dde945c0daab62f99f0dc47998fb992f36c3ff","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg-mem":"^2.8.1","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.1.10_1713856867548_0.6984642943768518","host":"s3://npm-registry-packages"}},"0.1.11":{"name":"@andyrmitchell/pg-testable","version":"0.1.11","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.1.11","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"6e43f33af6bbede4424bf05c1494be0e7ce1e6b0","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.1.11.tgz","fileCount":7,"integrity":"sha512-/i29BBUqe5WzjjdN5Zc+o70O0/tQxzH2Eb5Styx99BeOpa9sG6VFRkcdpWbALOkaPcUyOaVqNVyKdeUqR6tcaw==","signatures":[{"sig":"MEYCIQCqgbtUJYZm4RqpLLwBi3WhCEpJoPB6MxHYyFjzC8dXcwIhAI4CJxI1cA5j35pMfBRdeQBmRvnfcikdlfcy6Naz8szz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29767},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"a16349f38c7879d26b86fcfac0e1e61732236a7b","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg-mem":"^2.8.1","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.1.11_1714400181175_0.28602885392981214","host":"s3://npm-registry-packages"}},"0.1.12":{"name":"@andyrmitchell/pg-testable","version":"0.1.12","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.1.12","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"e30867077afc6ac67a3a28a889e834f349930cb9","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.1.12.tgz","fileCount":7,"integrity":"sha512-JRQgJ5nKpcxk21qI6X8IWruP8XDQeyDJQQm8jH57nsG2gnooRJTgIJII5+9Q/uCV1J3wJSqEBzzFgj7xlfsVEQ==","signatures":[{"sig":"MEYCIQDaPCcmTzSaChYVT0XsOs/zuyZZLCj2D9KsYYmOfWN9bQIhAOsNyinNbabmI98ruZ9BmzKs6JaXFQracNUnaVIo8RDH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27815},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"56fb038fcf82cec794ae6b925406a1d4153c96f0","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg-mem":"^2.8.1","@andyrmitchell/utils":"^0.3.1","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.1.12_1714400601956_0.32024862833719814","host":"s3://npm-registry-packages"}},"0.1.13":{"name":"@andyrmitchell/pg-testable","version":"0.1.13","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.1.13","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"17693a83e99a1ca83332d6389c12870d179d1b4b","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.1.13.tgz","fileCount":7,"integrity":"sha512-QmQsPJLfsT++2gFFOoLmi2gg1s6GaLgiPo8/RFfgcKewxwP+JPeBrR9FRBRlceGedTZ5UoeLg5Ub7+F5MKUpmg==","signatures":[{"sig":"MEYCIQCPAz+8OVOC3Gy1jI1xgHK5n++TRwvobG8jt1EEwU4DmAIhAKfi9K7WNRD7qM/61canI2gcPDDX7Du6eMm4XVlZCpnE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27879},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"3ce2ebe002a98ffae6a477413ab8262b2b08ba7a","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg-mem":"^2.8.1","@andyrmitchell/utils":"^0.3.1","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.1.13_1714401360751_0.37343124883730217","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@andyrmitchell/pg-testable","version":"0.2.0","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.2.0","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"38896e255121c4161b95f9fa665c9eafa96e926d","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.2.0.tgz","fileCount":7,"integrity":"sha512-tB8A1K7P5aalXg5sADrPgpCFbXREqFXzCD7EdyOcsJECNRRaFkFoBjmY0yygfqktbJmiKsFp2Xga6/Kqe8latQ==","signatures":[{"sig":"MEUCIDjZ5pXY7E95J5oAwYwAV5g+sJA1eu1tTJrc3PBZL/jLAiEApWWFSPW3XRlHQ/H+lRMSQnxX/pn+h0NUY41xcuU4HjI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3257950},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"c1d2f5d91e07290fd9b79e2c9c82a9257b46392f","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg":"^8.11.5","pg-mem":"^2.8.1","@electric-sql/pglite":"^0.1.5","@andyrmitchell/pgmock":"^1.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.2","@types/pg":"^8.11.6","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/utils":"^0.3.2","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.2.0_1715347994347_0.648672574900526","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@andyrmitchell/pg-testable","version":"0.2.1","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.2.1","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"5659bbb755a85585c9a27284f6fa3f2b4d1b81a0","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.2.1.tgz","fileCount":7,"integrity":"sha512-/iFlQaR8pVc9+KJXNwrecT8mVdtn0OqDega96RTD6+zkAhz1vmMZ2G2d7KPBxzLXXoOP4wpXC47yoTRjQo12SA==","signatures":[{"sig":"MEUCIQDI+HgGOasHIh25fB/PMZZUo0Rz7mm5awYeW7H3KSNvNQIgPLnqFX2r/05VhDK6Q5RkchoQJjztUr7QehNcZL38xe8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3261612},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"d8b44be73b0b03051633d26441f9916a858dd537","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg":"^8.11.5","pg-mem":"^2.8.1","@electric-sql/pglite":"^0.1.5","@andyrmitchell/pgmock":"^1.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.2","@types/pg":"^8.11.6","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/utils":"^0.3.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.2.1_1716563995030_0.48835684829623816","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@andyrmitchell/pg-testable","version":"0.3.0","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.3.0","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"e9ac8f20e74592cc436586a5a45d133613f2f222","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.3.0.tgz","fileCount":7,"integrity":"sha512-DjPn8LBudWUtQL9jEL5bTfPcLNe2oqxef+eUUmqr/3RtnAou+Ga1wGQfIM+5fAeIlE5YAxjxKRsccNsafXmOLw==","signatures":[{"sig":"MEUCIQDBO4JgG5/1z42Gn6H7N/Q2ocusBwyCjhuo+MhAkkDOEwIgQJ9sLp31wdxPaxxdNvYuRenVFZ7xz35EOOdvnhTeMzA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3267776},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"ac6aa36d906831c3c14ab205fe14bd6aa40dace3","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg":"^8.11.5","uuid":"^9.0.1","pg-mem":"^2.8.1","pgmock":"^1.0.3","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.2","@types/pg":"^8.11.6","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/uuid":"^9.0.8","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/utils":"^0.3.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.3.0_1717154153143_0.5591902539814877","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"@andyrmitchell/pg-testable","version":"0.3.1","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.3.1","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"4c421666856b584b0461eefc32c835d233846d8c","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.3.1.tgz","fileCount":7,"integrity":"sha512-tg7Q1HjgSIlhzmm0QBi1cRyvd0ypqhbUWPSzIVuZ2UNnPpaPqdjOOXrr4BRM3UmDAaBFoTgWMwqq+Ya+BLQrNw==","signatures":[{"sig":"MEYCIQDvt50dBYr5HmzSWTzATB6EdA3qwyHwRFfAyFYFXzlJyAIhAIqajlqJ0/0FPuNC/HY4dS5gTPG+LlwZ0DBBfeX5vg9n","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3267820},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"c78196fcab631a58f0ed62411b813c9d866d2229","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg":"^8.11.5","uuid":"^9.0.1","pg-mem":"^2.8.1","pgmock":"^1.0.3","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.2","@types/pg":"^8.11.6","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/uuid":"^9.0.8","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/utils":"^0.3.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.3.1_1717155091640_0.4292319710961039","host":"s3://npm-registry-packages"}},"0.3.2":{"name":"@andyrmitchell/pg-testable","version":"0.3.2","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.3.2","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"5a3239f4645de4966eed59428c60102ccaa782ca","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.3.2.tgz","fileCount":7,"integrity":"sha512-9hW1qS7iLTY5XasXSeny6zLn6bsHtOf/Gw2yIyHws37yMnugflr1p7aO99kK/vLrnj7YQM7sQDHLYRqZs8bUVQ==","signatures":[{"sig":"MEQCIEWzR71fDHFo7ujtYDV5MB7J9Qsh5GS6tPmB9XRIWIA4AiB70S7/kI3BXbt3n6jpJW/8Szxse2eqtRy6AnKWtCMYbA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3269566},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"e61d2a8f8b713593b3a3905e2989bbaa637aa672","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg":"^8.11.5","uuid":"^9.0.1","pg-mem":"^2.8.1","pgmock":"^1.0.3","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.2","@types/pg":"^8.11.6","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/uuid":"^9.0.8","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/utils":"^0.3.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.3.2_1717155372184_0.6572092084276362","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"@andyrmitchell/pg-testable","version":"0.4.0","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.4.0","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"696f7ad049fb9aa526d4d1aea34ea78e2e0cf775","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.4.0.tgz","fileCount":7,"integrity":"sha512-8gCD19VR2ffAT3n9ZEdepFQliSkUOrUAIkm/y0ZbjyfdsWnx537ToMIwqFDQhOGKT3jj81VPcQSDG57JKJ2/hQ==","signatures":[{"sig":"MEUCICTkTNJlx2rKAawHVQq+6ZtIrgPpTAq8EWxazRXIHqVWAiEA1yDKOJEOxlIvVuytQeXPETjs1+w81pmFIYEKxYWiCZI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3267764},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"130cf9b724394b1e7259efc4c48f1fc42ca62031","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg":"^8.11.5","uuid":"^9.0.1","pg-mem":"^2.8.1","pgmock":"^1.0.3","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.2","@types/pg":"^8.11.6","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/uuid":"^9.0.8","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/utils":"^0.3.4","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.4.0_1717157306301_0.8065865733660134","host":"s3://npm-registry-packages"}},"0.4.1":{"name":"@andyrmitchell/pg-testable","version":"0.4.1","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.4.1","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"a8178bd6becbb5cb2efffa4f0bad609cd52b89de","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.4.1.tgz","fileCount":7,"integrity":"sha512-IF9Stb80fkEx0o/09YYeoSEOF8uMu1yMPXFrdPVpbWVrfN/QYg5p1vwbiCGnLE31wYHQZcUHWT8tdzQo3ioCFA==","signatures":[{"sig":"MEUCIQD1OFgBDv5Xvezn0jgXt4HAWHbStZZTTQZ8uSs0+l+4gAIgEqkt022lC2/3LEgQf5eujSs1gFygU5oZXcwvjZuUzSc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3268451},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"module":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}}},"gitHead":"22e8dd39b8ca36976ffa1a6b501773f52ce4ae3f","scripts":{"test":"jest","build":"tsup","pkglint":"./build/publint_pipeable.sh","trowser":"echo 'To run test in browser, call this like so... npm run trowser -- path/to/file.test.ts [--watch] (note the extra --)' && npx trowser --externalise-pg-testable --file","test:watch":"jest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg":"^8.11.5","uuid":"^9.0.1","pg-mem":"^2.8.1","pgmock":"^1.0.3","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.2","ts-jest":"^29.1.2","@types/pg":"^8.11.6","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.24.4","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/uuid":"^9.0.8","@types/lodash-es":"^4.17.12","@babel/preset-env":"^7.24.4","@andyrmitchell/utils":"^0.5.1","@andyrmitchell/trowser":"^0.1.25","@babel/preset-typescript":"^7.24.1","babel-plugin-transform-import-meta":"^2.2.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.4.1_1718198772817_0.5424258234862549","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"@andyrmitchell/pg-testable","version":"0.5.0","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.5.0","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"8179acce045f0f299db37d8a4287eb93b00abe7d","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.5.0.tgz","fileCount":5,"integrity":"sha512-OXiLqiS3F5kd/dtIk266B77mWjmogCuJxXyg6/vzKMdOAy+7GRWlQNaAsa5KSuJ/DU3Gb1LIamuzvu9iVCVImg==","signatures":[{"sig":"MEUCIDTeR4uKDwOg8oyoBd228HEKAMHpQTYK8uUtXXmuD5VTAiEArIP2tWFqcKBTuFPm6XUQU1Ddm0MYZOTTXd85UhppXr4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1636866},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"6c9a09de2be199e2690b4cc186d427b71aeae8f7","scripts":{"test":"vitest","build":"tsup","pkglint":"./build/publint_pipeable.sh","test:watch":"vitest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg":"^8.11.5","uuid":"^9.0.1","pg-mem":"^2.8.1","pgmock":"^1.0.3","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","vitest":"^1.6.0","@types/pg":"^8.11.6","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/uuid":"^9.0.8","@types/lodash-es":"^4.17.12","@andyrmitchell/utils":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.5.0_1718201626372_0.23563658808345056","host":"s3://npm-registry-packages"}},"0.5.1":{"name":"@andyrmitchell/pg-testable","version":"0.5.1","author":"","license":"MIT","_id":"@andyrmitchell/pg-testable@0.5.1","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"homepage":"https://github.com/andymitchell/pg-testable#readme","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"dist":{"shasum":"315f5034e5fd77139c2c104c5943ca9fefdfe287","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.5.1.tgz","fileCount":5,"integrity":"sha512-dxKNuyz8Jc6tFbBHG/JEPyZ+DnHGsXzYlg6TSccvVg592ngzAktTPowIWveE0r0k+Me8kMgb1NWam8Bo24rP5A==","signatures":[{"sig":"MEUCIGJcQ1J71BOqM7yNY7n5Uyx+qNdCQdzs6aG3GTaGoRBjAiEA8JNjsaWxAoSuFoihzZ1eH2j5dQdGNGDY74hYuQuXIMo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1638543},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"851ceeb39099e2381b1469c2ce62ec3386ce641f","scripts":{"test":"vitest","build":"tsup","pkglint":"./build/publint_pipeable.sh","test:watch":"vitest --watch","build_prepare":"npm run build && npm run pkglint","build_release":"npm run build_prepare && np","prepublishOnly":"npm run build_prepare"},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"repository":{"url":"git+https://github.com/andymitchell/pg-testable.git","type":"git"},"_npmVersion":"9.8.1","description":"A common interface for multiple Postgres databases that can be used for local testing.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"pg":"^8.11.5","uuid":"^9.0.1","pg-mem":"^2.8.1","pgmock":"^1.0.3","@electric-sql/pglite":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","vitest":"^1.6.0","@types/pg":"^8.11.6","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.16","@types/uuid":"^9.0.8","@types/lodash-es":"^4.17.12","@andyrmitchell/utils":"^0.5.2"},"_npmOperationalInternal":{"tmp":"tmp/pg-testable_0.5.1_1718205235939_0.8920891356697329","host":"s3://npm-registry-packages"}},"0.5.2":{"name":"@andyrmitchell/pg-testable","version":"0.5.2","description":"A common interface for multiple Postgres databases that can be used for local testing.","type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"module":"./dist/index.js","types":"./dist/index.d.ts","publishConfig":{"access":"public"},"scripts":{"build_release":"npm run build_prepare && np","build":"tsup","pkglint":"./build/publint_pipeable.sh","build_prepare":"npm run build && npm run pkglint","prepublishOnly":"npm run build_prepare","test":"vitest","test:watch":"vitest --watch"},"repository":{"type":"git","url":"git+https://github.com/andymitchell/pg-testable.git"},"author":"","license":"MIT","dependencies":{"@electric-sql/pglite":"^0.1.5","pg":"^8.11.5","pg-mem":"^2.8.1","pgmock":"^1.0.3","uuid":"^9.0.1"},"devDependencies":{"@andyrmitchell/utils":"^0.5.2","@types/jest":"^29.5.12","@types/lodash-es":"^4.17.12","@types/node":"^20.11.16","@types/pg":"^8.11.6","@types/uuid":"^9.0.8","tsup":"^8.0.2","typescript":"^5.3.3","vitest":"^1.6.0"},"_id":"@andyrmitchell/pg-testable@0.5.2","gitHead":"60f2215bdebd5a398fc1211bedec4bbc2464c2dd","bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"homepage":"https://github.com/andymitchell/pg-testable#readme","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-0wzIgYJr1DCZINBOCGja3H97204OTZYWrfoGxYCQy+iKKEX6lQpRhK+p8t2d55fObUGyhL1R7htJ6l5ECy6ARA==","shasum":"7f88357065610560b58b0908551cfb714bf27b74","tarball":"https://registry.npmjs.org/@andyrmitchell/pg-testable/-/pg-testable-0.5.2.tgz","fileCount":5,"unpackedSize":1396395,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE+qI/7RNxpxrQ51HA2MMFCszne2DhxT4idKzDVWs1YlAiEAzm+v2a1nVzcWkIneVV4PUK0cfm1vX9PT5A0yzf6T6gg="}]},"_npmUser":{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"},"directories":{},"maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pg-testable_0.5.2_1721133691963_0.8356644037738443"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-22T11:21:29.703Z","modified":"2024-07-16T12:41:32.353Z","0.1.1":"2024-04-22T11:21:30.049Z","0.1.2":"2024-04-22T11:26:58.386Z","0.1.3":"2024-04-22T11:37:10.796Z","0.1.4":"2024-04-22T15:24:43.263Z","0.1.5":"2024-04-22T15:49:26.159Z","0.1.6":"2024-04-22T16:05:20.666Z","0.1.7":"2024-04-22T16:24:50.524Z","0.1.8":"2024-04-22T16:32:34.619Z","0.1.9":"2024-04-22T16:38:44.845Z","0.1.10":"2024-04-23T07:21:07.691Z","0.1.11":"2024-04-29T14:16:21.391Z","0.1.12":"2024-04-29T14:23:22.111Z","0.1.13":"2024-04-29T14:36:00.890Z","0.2.0":"2024-05-10T13:33:14.617Z","0.2.1":"2024-05-24T15:19:55.236Z","0.3.0":"2024-05-31T11:15:53.307Z","0.3.1":"2024-05-31T11:31:31.826Z","0.3.2":"2024-05-31T11:36:12.370Z","0.4.0":"2024-05-31T12:08:26.527Z","0.4.1":"2024-06-12T13:26:13.002Z","0.5.0":"2024-06-12T14:13:46.602Z","0.5.1":"2024-06-12T15:13:56.252Z","0.5.2":"2024-07-16T12:41:32.180Z"},"bugs":{"url":"https://github.com/andymitchell/pg-testable/issues"},"license":"MIT","homepage":"https://github.com/andymitchell/pg-testable#readme","repository":{"type":"git","url":"git+https://github.com/andymitchell/pg-testable.git"},"description":"A common interface for multiple Postgres databases that can be used for local testing.","maintainers":[{"name":"andyrmitchell","email":"a.r.mitchell@gmail.com"}],"readme":"# Postgres Testable\n\nPg-testable is a thin wrapper with a common interface around various locally testable Postgres implementations.\n- [Pglite](https://www.npmjs.com/package/@electric-sql/pglite) is Postgres implemented as WASM. \n- [Pg-mem](https://www.npmjs.com/package/pg-mem) Lightning fast, but it's an interpretation of Postgres' syntax. Useful only for very basic tests. \n\nIt also attempts to load optimally in different environments. \n\nIt includes DbMultipleTestsRunner to execute many _simple_ tests independentally of one another, in just one DB instance (dramatically speeding it up vs. creating a new DB per test). It does this simply by giving each test its own unique table name (which can be used as a unique table prefix if you need many tables).\n\n# Sample usage\n\nThe wrapped db: useful as a common interface and sensible default environment choices\n\n```javascript\nconst db = Pgtestable.newDb();\nawait db.exec('CREATE TABLE IF NOT EXISTS t1 (pk SERIAL PRIMARY KEY)');\nawait db.exec('INSERT INTO t1 () VALUES()');\nconst result = await db.query<{pk:string}>('SELECT * FROM t1');\nresult.rows[0].pk;\n```\n\nThe test runner: useful as it efficiently reuses the DB across mutiple tests\n\n\n```javascript\nconst runner:DbMultipleTestsRunner;\n\nbeforeAll((done) => {\n    // Let it run one query to initiate any lazy parts of the DB, before the tests start rushing it \n    runner = new DbMultipleTestsRunner();\n    runner.sequentialTest(async (runner, db) => {\n        await db.query(\"select 'Hello world' as message;\");\n        done();\n    });\n})\n\nafterAll(async () => {\n    // Let the DB clean up gracefully\n    await runner.dispose();\n})\n\ntest('simple query', async () => {\n    const message = await runner.sequentialTest(async (runner, db, uniqueTableName) => {\n        const result = await db.query(\"select 'Hello world' as message;\");\n        \n        return result.rows[0].message;\n    })\n\n    expect(message).toBe('Hello world');\n})\n\n```\n\n\n\n# API Reference\n\n## Pgtestable\n\n#### `static .newDb<T>(real: boolean = true, force?: PgTestableDbs): PgTestableInstance<T>`\n\n-   `real:boolean`\n    Use a real database (i.e. not pg-mem)\n-   `force:PgTestableDbs`\n    Override environmental selectors to pick the database\n\n## PgTestableInstance\n\n#### `.exec(query: string): Promise<void>`\n\n#### `.query<T>(query: string, params?: any[], options?: QueryOptions): Promise<Results<T>>`\n\n\n# Roadmap\n\n## Drop the need for dynamic loading Pglite in browser (currently needed for [Trowser](https://www.npmjs.com/package/@andyrmitchell/trowser))\n\nIf it detects it's running in the browser, it dynamically loads the Pglite module. This can probably change in the future, but it was the only way to get it correctly load paths for the WASM files (Pglite's author has stated the WASM file paths will become optional, at which point it would be wise to point to the CDN for them, or update Trowser to have a special hotfix mode that includes the Postgres wasm files into the temp directory).\n\n# FAQ\n\n## In DbMultipleTestsRunner, why not create a separate schema per test, rather than table name/prefix? \n\nBecause pg-mem requires you to nominate the schema in code, rather than SQL, which would add complexity/brittleness to all external test queries. \n\n# Troubleshooting\n\n## Pglite claims a table/relation doesn't exist, but you created it and awaited it to complete\n\nFor some reason, if you try to create/select multiple tables in an interleaved way (e.g. two async functions running together), Pglite fails to recognise the table. \n\nDbMultipleTestsRunner solves this by queuing each test to run sequentially. \n\n## My tests time out waiting for DbMultipleTestsRunner.isComplete\n\nisComplete is waiting for \n- Postgres to set up\n- _all_ your tests to complete \n\nSo make sure your test function has a long timeout. E.g. [Timeout docs for Jest](https://jestjs.io/docs/api#testname-fn-timeout)\n\n# Building \n\n## Testing code that imports ESM modules\n\nIn jest.config.js\n- Add the package to transformIgnorePatterns\n- If the package uses import.meta.url (Jest will throw an error if it does and you've not set this up), make sure you've installed and set up https://github.com/javiertury/babel-plugin-transform-import-meta. FYI this package now has it installed and set up in babel.config.js. \n\n## Releasing \n\n- `npm run build_release` Will run the lint (failing if it gives any warnings), build it, and deploy with np\n","readmeFilename":"README.MD"}