{"_id":"@ucast/sql","_rev":"17-9c8b199df82af08631fbb208e3624a48","name":"@ucast/sql","dist-tags":{"alpha":"1.0.0-alpha.12","latest":"0.3.0"},"versions":{"1.0.0-alpha.1":{"name":"@ucast/sql","version":"1.0.0-alpha.1","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@1.0.0-alpha.1","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"575bf0e74252b05e87ec3c988e66533e6b7e245e","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-1.0.0-alpha.1.tgz","fileCount":38,"integrity":"sha512-0XqQ5hskjO0FjCc259MxelpdAdKbx7rg3ZbS4NAudG6HB/ddnle1RtSlO/I+z/Y4viOmJgGDCC9NVIKm+5BG5g==","signatures":[{"sig":"MEYCIQDPDzTDCOmcjk9nuh41ZEa+J0rhy/AJ+Hca8bwhMnI+XQIhAJNZenG1Qek7MvldzQymSeYPdTFN8M0ufc5Ee5lUBMcm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":110791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfO/XeCRA9TVsSAnZWagAAcYQP/RzXnA4lxtktC5hFsD80\npv49/rkv1tOGIZQ5hNaM7JPyCnZFc6AlsD9HdwFXzBrqroherU0F4WCkE0PS\ntV0l9o1gXu8Rog6N8NGUl2/ZrVxDxAMgSsMvSfuyGJe8Opll3cvw0VH8B2j2\n28cJYzG9qyU9CSGrqIT6KIEUCEDZke0arrZ5qVgBOarNhADjeThO+2cGKpdi\nKLvUaK+LXNuFbTwUT+YpVsAMOk+aWUrXz3ELH7A0zfPn38qqLvYpCgWV7qvf\nSW9GhZYbgqaBIIq35WcgBN3Gy21ccYsqqPp0foLKYAJpw1g26X8YAw3F+bC4\nA83FupksGyGyxHc/tJtfXHXbUzhyXIl5FOuirtqK3mMitqo17wLh+fJM4Uk4\ntVGmSRBKCVkI/RI/PBs6oHoFw2IKNn5S6qAjbzmUDLJIKvbL+lnWxzN9Iv9s\nh/tpabOW+l4OeRSr8ItwUt2rK3iaYQ11GW3m5pvxoV916QpndNcbj8v7fZPu\n2+9evLBTjEvlF9nWg3Jt5sgMorLvbDSP4rieloxFG+v24QAPxSurFYHXxJC+\nbMEjVz8Uv6SyunhUDa42ZN5eEMVCNr339w5BgglepMQBbqRtLXRKnOBJbjdo\n6AguS26xqEus7holILA9EleoF7scQeXmofJJI8vLYhjT9TD8pP8koiVcF+u7\nS3fT\r\n=zHq4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es6c/index.js","es2015":"dist/es6m/index.js","scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register spec/*","build":"npm run build.sql && npm run build.objection && npm run build.sequelize && npm run build.mikro-orm && npm run build.typeorm","release":"semantic-release -e ../../semantic-release.js","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","prebuild":"rm -rf dist/* && npm run build.types","build.sql":"BUILD_TYPES=es6m,es6c rollup -c ../../rollup.config.js -e @ucast/core","prerelease":"npm run lint && npm test && npm run build","build.types":"tsc","build.typeorm":"npm run build.sql -- -i src/lib/typeorm.ts -e typeorm -e ../index","build.mikro-orm":"npm run build.sql -- -i src/lib/mikro-orm.ts -e mikro-orm -e ../index","build.objection":"npm run build.sql -- -i src/lib/objection.ts -e objection -e ../index","build.sequelize":"npm run build.sql -- -i src/lib/sequelize.ts -e sequelize -e ../index"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"},"repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"6.14.4","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"12.17.0","dependencies":{"@ucast/core":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","knex":"^0.21.2","mocha":"^8.0.1","eslint":"^7.4.0","rollup":"^2.15.0","sqlite3":"^5.0.0","ts-node":"^8.10.2","typeorm":"^0.2.25","mikro-orm":"^3.6.15","objection":"^2.2.1","sequelize":"6.3.4","chai-spies":"^1.0.0","typescript":"^3.9.5","@babel/core":"^7.10.2","@types/chai":"^4.2.11","@types/mocha":"^7.0.2","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","semantic-release":"^17.1.1","@babel/preset-env":"^7.10.2","@types/chai-spies":"^1.0.1","@rollup/plugin-babel":"^5.0.3","eslint-plugin-import":"^2.22.0","rollup-plugin-terser":"^6.1.0","@semantic-release/git":"^9.0.0","@semantic-release/npm":"^7.0.5","@semantic-release/github":"^7.0.7","eslint-config-airbnb-base":"^14.2.0","@rollup/plugin-node-resolve":"^8.0.1","@semantic-release/changelog":"^5.0.1","eslint-config-airbnb-typescript":"^8.0.2","@typescript-eslint/eslint-plugin":"^3.6.0","@babel/plugin-transform-typescript":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.4"},"peerDependencies":{"typeorm":"^0.2.0","mikro-orm":"^3.0.0","objection":"^2.0.0","sequelize":"^5.0.0 || ^6.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"mikro-orm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_1.0.0-alpha.1_1597765085946_0.46216891546665906","host":"s3://npm-registry-packages"}},"1.0.0-alpha.2":{"name":"@ucast/sql","version":"1.0.0-alpha.2","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@1.0.0-alpha.2","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"92094e330b2bf26f825acbf56fd27d04c0e50f14","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-1.0.0-alpha.2.tgz","fileCount":38,"integrity":"sha512-Le1UYyfOmByoFGu+G43llLGMShrDQxUeEPY8mSTgHJy4ykv57Z3VN7hEWMvgsBLwJp6TCldeJqBc7VovzE9duA==","signatures":[{"sig":"MEQCIDuWbKKAbcrM0Jh0tpimfqmKBFo7NamSLwQHkLm5sDOWAiA/EyXTXs0zlHCzFENs8FfzJehDHZFLyfgLCGWrlBZ+wA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":111119,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPNiDCRA9TVsSAnZWagAAxOwQAISd8P6hNIhN6ynDjM/s\n6ih0b+NEw8sF9WAmTO6LJZG7iKWGSg2M3qvhPoKF+4W4riKcSpJrR9p8gaZe\n+xu9vEOl2xg/FZRAT3Jbwlg8OTta8gSu43X0l3Uw/hhE7gj2uJINmrs3OZuD\n94WM9F49sL82at8SqgF7Htd7uxHUCWp6384z4dISt+OeMm6tJ6sjFA27DMjq\n5JjkqzTq367T7pA+Fdte13WbgxIVptlsG70SGm2aRHKNxUk1IFs0tWqH5u1r\nIKOAVEIKustmZgQ281FmE6fRBRX+YtAxSgUeux3RQYBecUV/k/NKIllsIFvN\nXgKXNCMTNE4j8XqlOwDzaqJftZYTmEpVjUCib7ZJKaVsVgPuaOAguXpArW2n\niRghu2YPr9+nWHdM1jRU36nz+vzRYyy4MbUykmHodSSE3X1rob8GpAAFuY/3\nZ3I6c8RUpqq3wyXOuqeh8bsJEHE1AdxcMOwBTX57GnB9lRO48pThrYUDuxOR\nq2hC2cn/aLIt/9cHzy3YcmUDGLPMrDRRo037bmesYlFp/QL51TmZNU1scBEU\nwppqu/p6ZYxe0IknSQM0aXS9GkgprcdjTBEMjb7yNztjy2zUBUIaooNxLulh\nxOfXVd2CPR1llA+P1PVOSnDIJxmetOR1/h+R+2gJYQqBZCI/tHDL/Z++SS13\n1yyw\r\n=ET0W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es6c/index.js","es2015":"dist/es6m/index.js","scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register spec/*","build":"npm run build.sql && npm run build.objection && npm run build.sequelize && npm run build.mikro-orm && npm run build.typeorm","release":"semantic-release -e ../../semantic-release.js","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","prebuild":"rm -rf dist/* && npm run build.types","build.sql":"BUILD_TYPES=es6m,es6c rollup -c ../../rollup.config.js -e @ucast/core","prerelease":"npm run lint && npm test && npm run build","build.types":"tsc","build.typeorm":"npm run build.sql -- -i src/lib/typeorm.ts -e typeorm -e ../index","build.mikro-orm":"npm run build.sql -- -i src/lib/mikro-orm.ts -e mikro-orm -e ../index","build.objection":"npm run build.sql -- -i src/lib/objection.ts -e objection -e ../index","build.sequelize":"npm run build.sql -- -i src/lib/sequelize.ts -e sequelize -e ../index"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"},"repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"6.14.4","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"12.17.0","dependencies":{"@ucast/core":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","knex":"^0.21.2","mocha":"^8.0.1","eslint":"^7.4.0","rollup":"^2.15.0","sqlite3":"^5.0.0","ts-node":"^8.10.2","typeorm":"^0.2.25","mikro-orm":"^3.6.15","objection":"^2.2.1","sequelize":"6.3.4","chai-spies":"^1.0.0","typescript":"^3.9.5","@babel/core":"^7.10.2","@types/chai":"^4.2.11","@types/mocha":"^7.0.2","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","semantic-release":"^17.1.1","@babel/preset-env":"^7.10.2","@types/chai-spies":"^1.0.1","@rollup/plugin-babel":"^5.0.3","eslint-plugin-import":"^2.22.0","rollup-plugin-terser":"^6.1.0","@semantic-release/git":"^9.0.0","@semantic-release/npm":"^7.0.5","@semantic-release/github":"^7.0.7","eslint-config-airbnb-base":"^14.2.0","@rollup/plugin-node-resolve":"^8.0.1","@semantic-release/changelog":"^5.0.1","eslint-config-airbnb-typescript":"^8.0.2","@typescript-eslint/eslint-plugin":"^3.6.0","@babel/plugin-transform-typescript":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.4"},"peerDependencies":{"typeorm":"^0.2.0","mikro-orm":"^3.0.0","objection":"^2.0.0","sequelize":"^5.0.0 || ^6.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"mikro-orm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_1.0.0-alpha.2_1597823106641_0.481074853949943","host":"s3://npm-registry-packages"}},"1.0.0-alpha.3":{"name":"@ucast/sql","version":"1.0.0-alpha.3","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@1.0.0-alpha.3","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"52158b8671ea8f6f7a8440125618e340f5e743b9","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-1.0.0-alpha.3.tgz","fileCount":38,"integrity":"sha512-RtVjjba0YrGxXQORv7Pgnf6kxJWdwxEKrkiYURPuQWTW+Atq7xC6+E17rhcHtOz28HhJmTdQ2+7NEiWKOt0GDw==","signatures":[{"sig":"MEUCIH/rMNJVZ3yWjoRFvBfhErwcOun1QN1FY1tdWc7abP10AiEA9bh4E1gxWMzzEU+nJQW1tHrB8RJ+zN9ondVfgWMju2A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":113129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfitaGCRA9TVsSAnZWagAAV8gP/R18ZttBu1lTMCqq0XvO\nFpOErI68tKVu7SaUwI++p67m/wAguxQKiYSKpo+rdur87ahCHIU/Q9fXv4YQ\ndSBdwnmtR0W1BDQYFIN07Qp9vImvKJHHGiiL+XRbvgOwvf54wrdqUksORnIt\nnwXh4oJ8JFxYE+DMEFj+JE87v77MV7LgA4F0RUI3Om6mLa8GZuZVnIUOaTqF\nrXUBZXVHM0MTAFcMGDFTdexEA24aI18Xq0/pmqoZKskTvuqy8xjtA6PmOQV0\n5IFTE5/Oi+AnGiFBU5IRIrY4BYRWXjKMCeAjm0z2nIZyL8JXZMtMfE7B5UVE\n0U9mw/Jcjk9ehZg/rTm9EkYInDlWMIwtgJAeVKzbWmEFr3XVRWHtHMxYmgFP\ndaAksBu3VtpMkUkrLQ3px+AVSAqTfv9kPTj7mFFNpcmgS0XUfLNI9T8ufccd\nv60ock9DWzbrUDSnVok3XLWJa6Y+yngav4bMlzXHhbEl1WaiqvCnLFXBlOh+\nf+e1jLDzCjnISfYjg0qqBYMeE4zKeLRWOGj1PKJB5jCIvC02fv9PwThi3c3K\nz6wC3+tR3XyGMm0QQ/CRHlDRNUMwccMIjcoyvjIKl4je+PFecFWaBiIzSMI7\nGJ/XGn+sTuWPn60QR+IAN1i+dqgavcwfEb01gdu2s+R3d0TiqjAwbmXXHCx0\n9UxS\r\n=CreY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es6c/index.js","es2015":"dist/es6m/index.mjs","exports":{".":{"import":"./dist/es6m/index.mjs","require":"./dist/es6c/index.js"},"./typeorm":{"import":"./dist/es6m/lib/typeorm.mjs","require":"./dist/es6c/lib/typeorm.js"},"./mikro-orm":{"import":"./dist/es6m/lib/mikro-orm.mjs","require":"./dist/es6c/lib/mikro-orm.js"},"./objection":{"import":"./dist/es6m/lib/objection.mjs","require":"./dist/es6c/lib/objection.js"},"./sequelize":{"import":"./dist/es6m/lib/sequelize.mjs","require":"./dist/es6c/lib/sequelize.js"}},"scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register spec/*","build":"npm run build.sql && npm run build.objection && npm run build.sequelize && npm run build.mikro-orm && npm run build.typeorm","release":"semantic-release -e ../../semantic-release.js","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","prebuild":"rm -rf dist/* && npm run build.types","build.sql":"BUILD_TYPES=es6m,es6c rollup -c ../../rollup.config.js -e @ucast/core","prerelease":"npm run lint && npm test && npm run build","build.types":"tsc","build.typeorm":"npm run build.sql -- -i src/lib/typeorm.ts -e typeorm -e ../index","build.mikro-orm":"npm run build.sql -- -i src/lib/mikro-orm.ts -e mikro-orm -e ../index","build.objection":"npm run build.sql -- -i src/lib/objection.ts -e objection -e ../index","build.sequelize":"npm run build.sql -- -i src/lib/sequelize.ts -e sequelize -e ../index"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"},"repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"6.14.8","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"14.9.0","dependencies":{"@ucast/core":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","knex":"^0.21.2","mocha":"^8.0.1","eslint":"^7.4.0","rollup":"^2.15.0","sqlite3":"^5.0.0","ts-node":"^8.10.2","typeorm":"^0.2.25","mikro-orm":"^3.6.15","objection":"^2.2.1","sequelize":"6.3.4","chai-spies":"^1.0.0","typescript":"^3.9.5","@babel/core":"^7.10.2","@types/chai":"^4.2.11","@types/mocha":"^7.0.2","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","semantic-release":"^17.1.1","@babel/preset-env":"^7.10.2","@types/chai-spies":"^1.0.1","@rollup/plugin-babel":"^5.0.3","eslint-plugin-import":"^2.22.0","rollup-plugin-terser":"^6.1.0","@semantic-release/git":"^9.0.0","@semantic-release/npm":"^7.0.5","@semantic-release/github":"^7.0.7","eslint-config-airbnb-base":"^14.2.0","@rollup/plugin-node-resolve":"^8.0.1","@semantic-release/changelog":"^5.0.1","eslint-config-airbnb-typescript":"^8.0.2","@typescript-eslint/eslint-plugin":"^3.6.0","@babel/plugin-transform-typescript":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.4"},"peerDependencies":{"typeorm":"^0.2.0","mikro-orm":"^3.0.0","objection":"^2.0.0","sequelize":"^5.0.0 || ^6.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"mikro-orm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_1.0.0-alpha.3_1602934405847_0.5436783360436392","host":"s3://npm-registry-packages"}},"1.0.0-alpha.4":{"name":"@ucast/sql","version":"1.0.0-alpha.4","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@1.0.0-alpha.4","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"b2d9b9602645ad7991c7afec84b090dfc632c975","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-1.0.0-alpha.4.tgz","fileCount":38,"integrity":"sha512-7fJcZhHfjPEZlrXEg3GO/kuJOZ7WY3DxzglODIZS1GSo7HzZqLni/4eH4Cit54Gd05Qq8ftYNz+zlaer5KgYuA==","signatures":[{"sig":"MEYCIQCmXoHRe5AMsOZBpXvyof7bBJ/BoM+ZAnCRtwMGVdxAPQIhAMqbTGzR33odIa2WZXBJu+LPtd4YRCPD6xn6DSFEjpDQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":116238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmT0pCRA9TVsSAnZWagAApw0P/A2DP4JC9TYNp9eimF9Y\nfDH4BQMG2PN+1gnCbcpS8Z6qE3wQIDeAGdUq/0vb2exrad9WyWtiH90AHRav\ngVR6SNJbwUkgC5wXSai8v22VdPPpcF5JLp5Y1cP9NbHwouPSJb4hQssCgsq6\nlopyFpJXUFdDH8BpiWORg9bNZC8D2ItMRRU0e8ARl6YQy+hYLyNMrAoMhHj8\nCWMYZ2QqAKr4UP7wOqtai/Q8u0qAX1CFfyS+krje/2mHNB7uU+YRtA1OjKUz\n+csCXJl1BZ8PW0UT6PIiDA2JD9F5Z9+zz92LcnfUnHF+G+6FxGB5JTuaoaA7\nY+btQZdQcSxZPrIaQJnW7+lTNhUZFrYVMsmCpg4ekcbBNtYsZ6rnfvdGi1PB\nNzu95bFnbFbpIWPma272R11nheyx09N7AsmNL6VZHpdbhNa1H+lgS+ApTMuy\n+jYeLV9z32SrhiuFqmK4gQrvGbavRfKxChvvpn4rK2zD3NkYvmYkEnTsSHAi\nquujylK01yLCNVG44TUW6GypHOjxTGp80i0YDZpYq8l+JrP6B/BJGKKt669Z\njMVrvP2FEZ8CgAMjP6YMSMSbTKnmQtRb2l9D3anCqpxTr+7VEkuyuqgUjxsv\nLq4sNdZp3LXh6GIsiFyIvPMaG23HD8tNph6o05QiuR1uWcY9nSsTNohZuotz\nMREA\r\n=XXsh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es6c/index.js","es2015":"dist/es6m/index.mjs","exports":{".":{"import":"./dist/es6m/index.mjs","require":"./dist/es6c/index.js"},"./typeorm":{"import":"./dist/es6m/lib/typeorm.mjs","require":"./dist/es6c/lib/typeorm.js"},"./mikro-orm":{"import":"./dist/es6m/lib/mikro-orm.mjs","require":"./dist/es6c/lib/mikro-orm.js"},"./objection":{"import":"./dist/es6m/lib/objection.mjs","require":"./dist/es6c/lib/objection.js"},"./sequelize":{"import":"./dist/es6m/lib/sequelize.mjs","require":"./dist/es6c/lib/sequelize.js"}},"scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register spec/*","build":"npm run build.sql && npm run build.objection && npm run build.sequelize && npm run build.mikro-orm && npm run build.typeorm","release":"semantic-release -e ../../semantic-release.js","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","prebuild":"rm -rf dist/* && npm run build.types","build.sql":"BUILD_TYPES=es6m,es6c rollup -c ../../rollup.config.js -e @ucast/core","prerelease":"npm run lint && npm test && npm run build","build.types":"tsc","build.typeorm":"npm run build.sql -- -i src/lib/typeorm.ts -e typeorm -e ../index","build.mikro-orm":"npm run build.sql -- -i src/lib/mikro-orm.ts -e mikro-orm -e ../index","build.objection":"npm run build.sql -- -i src/lib/objection.ts -e objection -e ../index","build.sequelize":"npm run build.sql -- -i src/lib/sequelize.ts -e sequelize -e ../index"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"},"repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"6.14.8","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"14.9.0","dependencies":{"@ucast/core":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","knex":"^0.21.2","mocha":"^8.0.1","eslint":"^7.4.0","rollup":"^2.15.0","sqlite3":"^5.0.0","ts-node":"^8.10.2","typeorm":"^0.2.25","mikro-orm":"^3.6.15","objection":"^2.2.1","sequelize":"6.3.4","chai-spies":"^1.0.0","typescript":"^3.9.5","@babel/core":"^7.10.2","@types/chai":"^4.2.11","@types/mocha":"^7.0.2","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","semantic-release":"^17.1.1","@babel/preset-env":"^7.10.2","@types/chai-spies":"^1.0.1","@rollup/plugin-babel":"^5.0.3","eslint-plugin-import":"^2.22.0","rollup-plugin-terser":"^6.1.0","@semantic-release/git":"^9.0.0","@semantic-release/npm":"^7.0.5","@semantic-release/github":"^7.0.7","eslint-config-airbnb-base":"^14.2.0","@rollup/plugin-node-resolve":"^8.0.1","@semantic-release/changelog":"^5.0.1","eslint-config-airbnb-typescript":"^8.0.2","@typescript-eslint/eslint-plugin":"^3.6.0","@babel/plugin-transform-typescript":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.4"},"peerDependencies":{"typeorm":"^0.2.0","mikro-orm":"^3.0.0","objection":"^2.0.0","sequelize":"^5.0.0 || ^6.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"mikro-orm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_1.0.0-alpha.4_1603878185271_0.6226593523258521","host":"s3://npm-registry-packages"}},"1.0.0-alpha.5":{"name":"@ucast/sql","version":"1.0.0-alpha.5","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@1.0.0-alpha.5","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"44e4345f363809dfc137302b030200a04f57748b","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-1.0.0-alpha.5.tgz","fileCount":38,"integrity":"sha512-Cn5va5TaemLrDVe2pYxn9cp2vXjL8XZmEvF4f5IwEK4nLjsBvKXOVJU5WkfVbjxbjF5BigfqjSunnvg57+WlaQ==","signatures":[{"sig":"MEQCIHFhgNLkPOf7BBboHkUN+hHKbVDT1fbp6XRIJu0kXafEAiAZ34jzHyFq7VxXvYLnrUbwMmF+M5oX1clD8FvvH0MCjw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":116854,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoTGGCRA9TVsSAnZWagAAoIsP/jpYAKG+451jMoX3r0Xz\noP/Ydu9+K7aUnKJT2UM8sTyuTqTkELyaBpPUvFCxh8eFQwWEzeyBMM5064hR\nqEYJTyj2ilgNlkfzjI6gKEv/iv3iOpKlDgJzokHkr2PO7cVE1UuJYKiYw2Jg\n0OSJIcP5nEmWtcNrrpmN3O/6gASeqG27nS3hZ1HIFZbx0veMPNwm6lcp6sDx\nkdlCJJjMTEhPWU8zrma8UMtHQkFRJ3tIsHf/1cVLNopwMOc6GHxeqmgbsWLx\nvacgJhg6wReXsRqeirFFieCT5cVUpdwMI06jZeElqf/osPGfOlMs7wzou2GP\nqwfKjByv64Auwx2O3aA6ffMiLtuSFJuPMM9vS+PRsaDOIRRXJ7Ug9EW2seQx\nLLYgeu+yWr28OtTD/qr6xNMHaTYdOMstiGzEkCHWWnONQ9usrItCQpFda1pd\nmMrteT+/0JdwHFAw4Mlo/J2zGzW6vFz0/BDtlLtoTThg/F043/PG7Qm1BzDf\nA+K4USTx9xlNCLsH91DN4FFcGvAbmvzPowVdExaUwqBCsHQK0WOQGqCmwBQk\nbhv/LXRSUEryjHch84obrgkpqkL/iNmonWqoesE/x3wRkUUFq1OBMHSktTEO\nBLDUkLTsQRIpwRqYumqj+x+pWD1E38Hx2NHzxPDl2RmMMqXa+8ofjzpCWd/c\n1Au+\r\n=Tsf/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es6c/index.js","es2015":"dist/es6m/index.mjs","exports":{".":{"import":"./dist/es6m/index.mjs","require":"./dist/es6c/index.js"},"./typeorm":{"import":"./dist/es6m/lib/typeorm.mjs","require":"./dist/es6c/lib/typeorm.js"},"./mikro-orm":{"import":"./dist/es6m/lib/mikro-orm.mjs","require":"./dist/es6c/lib/mikro-orm.js"},"./objection":{"import":"./dist/es6m/lib/objection.mjs","require":"./dist/es6c/lib/objection.js"},"./sequelize":{"import":"./dist/es6m/lib/sequelize.mjs","require":"./dist/es6c/lib/sequelize.js"}},"scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register spec/*","build":"npm run build.sql && npm run build.objection && npm run build.sequelize && npm run build.mikro-orm && npm run build.typeorm","release":"semantic-release -e ../../semantic-release.js","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","prebuild":"rm -rf dist/* && npm run build.types","build.sql":"BUILD_TYPES=es6m,es6c rollup -c ../../rollup.config.js -e @ucast/core","prerelease":"npm run lint && npm test && npm run build","build.types":"tsc","build.typeorm":"npm run build.sql -- -i src/lib/typeorm.ts -e typeorm -e ../index","build.mikro-orm":"npm run build.sql -- -i src/lib/mikro-orm.ts -e mikro-orm -e ../index","build.objection":"npm run build.sql -- -i src/lib/objection.ts -e objection -e ../index","build.sequelize":"npm run build.sql -- -i src/lib/sequelize.ts -e sequelize -e ../index"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"},"repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"6.14.8","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"14.15.0","dependencies":{"@ucast/core":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","knex":"^0.21.2","mocha":"^8.0.1","eslint":"^7.4.0","rollup":"^2.15.0","sqlite3":"^5.0.0","ts-node":"^8.10.2","typeorm":"^0.2.25","mikro-orm":"^3.6.15","objection":"^2.2.1","sequelize":"6.3.4","chai-spies":"^1.0.0","typescript":"^3.9.5","@babel/core":"^7.10.2","@types/chai":"^4.2.11","@types/mocha":"^7.0.2","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","semantic-release":"^17.1.1","@babel/preset-env":"^7.10.2","@types/chai-spies":"^1.0.1","@rollup/plugin-babel":"^5.0.3","eslint-plugin-import":"^2.22.0","rollup-plugin-terser":"^6.1.0","@semantic-release/git":"^9.0.0","@semantic-release/npm":"^7.0.5","@semantic-release/github":"^7.0.7","eslint-config-airbnb-base":"^14.2.0","@rollup/plugin-node-resolve":"^8.0.1","@semantic-release/changelog":"^5.0.1","eslint-config-airbnb-typescript":"^8.0.2","@typescript-eslint/eslint-plugin":"^3.6.0","@babel/plugin-transform-typescript":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.4"},"peerDependencies":{"typeorm":"^0.2.0","mikro-orm":"^3.0.0","objection":"^2.0.0","sequelize":"^5.0.0 || ^6.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"mikro-orm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_1.0.0-alpha.5_1604399494113_0.7341707634949937","host":"s3://npm-registry-packages"}},"1.0.0-alpha.6":{"name":"@ucast/sql","version":"1.0.0-alpha.6","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@1.0.0-alpha.6","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"10737ac984ad7c250cadc2f900d88350680d63ae","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-1.0.0-alpha.6.tgz","fileCount":38,"integrity":"sha512-ZpceWhSnurtqLkt9A10fPtgSa/hW7vPtl+qiRmEqPM0s+TvA/tRSwvO3JcHozWJX1n2MDxsqedt13qGC0ARspQ==","signatures":[{"sig":"MEQCIDN5m28CCNcSzo7aLWg/5mD5ecqmkbY/SFgny+fuYKo8AiA5rm+Fe/uLV0jiltcyY1G12hVXZQQP3p/wxOJwEz29+g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":118561,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoYr3CRA9TVsSAnZWagAAJogQAJX2t5OJ4/MzuVeof++9\nKr/XbHChMz1tWZpeXBfviZgMk+o5RCfGpJmV9l3O/VoEyJCL+XlFpZEdnq4G\n5gMukbUiNNLHZ5ytTqXcOYptmhqhPCDD1skRLv3iRSZGGL39ig+RMYNRL5+c\nHlPdjLnKRY3Qe9QhyQ01Z/m10IMGIl4FneXQusWEUsru9DQH/85pI/4/B+eU\notpqyQbs9XiXM+arvy2mAj8Ss1R920i8yM277g0WrdbfWMR9pLh5WhpN/wKE\ngY1TkhJS2BSekYQvqkiQ6Kfq385G3UYez4jNUaYQ4cBudQPUqK0WEQ1AWtXx\ndtDUNzhSFSjCY+EHwFPws7qDXNFYhcH31wEgZ2nMR/E0s/iwug/QxfmMuIaH\n7HLxdL28X/m26uvXJk8EgNqD2R94MBsBssYSo5HtY7Xtj9h28amTAuYIg/Bm\nyDJkoZoVIZVD/9CuvCYtODYyJ5YI20Z58MAV6sxLdNcHRn5P/ydHtutN00S7\niPlGsWWSh3pD/kOd62GlwgyTTHtO2zbYb+NAvXnfD2mUypfQe+mvBi9W/63R\nagrSpsBYK8E+7ldIWkO6LGBg91NfUj6iIM6c5OXDtC1GeZwxcdFUjP2qspSz\nl1sOO0kD4Vk8Q4YvavNBcJUTQ7eTVqzDnlDyZH4DujEGf9GMkqwB/6gxEJD5\noQRV\r\n=OdAR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es6c/index.js","es2015":"dist/es6m/index.mjs","exports":{".":{"import":"./dist/es6m/index.mjs","require":"./dist/es6c/index.js"},"./typeorm":{"import":"./dist/es6m/lib/typeorm.mjs","require":"./dist/es6c/lib/typeorm.js"},"./mikro-orm":{"import":"./dist/es6m/lib/mikro-orm.mjs","require":"./dist/es6c/lib/mikro-orm.js"},"./objection":{"import":"./dist/es6m/lib/objection.mjs","require":"./dist/es6c/lib/objection.js"},"./sequelize":{"import":"./dist/es6m/lib/sequelize.mjs","require":"./dist/es6c/lib/sequelize.js"}},"scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register spec/*","build":"npm run build.sql && npm run build.objection && npm run build.sequelize && npm run build.mikro-orm && npm run build.typeorm","release":"semantic-release -e ../../semantic-release.js","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","prebuild":"rm -rf dist/* && npm run build.types","build.sql":"BUILD_TYPES=es6m,es6c rollup -c ../../rollup.config.js -e @ucast/core","prerelease":"npm run lint && npm test && npm run build","build.types":"tsc","build.typeorm":"npm run build.sql -- -i src/lib/typeorm.ts -e typeorm -e ../index","build.mikro-orm":"npm run build.sql -- -i src/lib/mikro-orm.ts -e mikro-orm -e ../index","build.objection":"npm run build.sql -- -i src/lib/objection.ts -e objection -e ../index","build.sequelize":"npm run build.sql -- -i src/lib/sequelize.ts -e sequelize -e ../index"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"},"repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"6.14.8","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"14.15.0","dependencies":{"@ucast/core":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","knex":"^0.21.2","mocha":"^8.0.1","eslint":"^7.4.0","rollup":"^2.15.0","sqlite3":"^5.0.0","ts-node":"^8.10.2","typeorm":"^0.2.25","mikro-orm":"^3.6.15","objection":"^2.2.1","sequelize":"6.3.4","chai-spies":"^1.0.0","typescript":"^3.9.5","@babel/core":"^7.10.2","@types/chai":"^4.2.11","@types/mocha":"^7.0.2","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","semantic-release":"^17.1.1","@babel/preset-env":"^7.10.2","@types/chai-spies":"^1.0.1","@rollup/plugin-babel":"^5.0.3","eslint-plugin-import":"^2.22.0","rollup-plugin-terser":"^6.1.0","@semantic-release/git":"^9.0.0","@semantic-release/npm":"^7.0.5","@semantic-release/github":"^7.0.7","eslint-config-airbnb-base":"^14.2.0","@rollup/plugin-node-resolve":"^8.0.1","@semantic-release/changelog":"^5.0.1","eslint-config-airbnb-typescript":"^8.0.2","@typescript-eslint/eslint-plugin":"^3.6.0","@babel/plugin-transform-typescript":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.4"},"peerDependencies":{"typeorm":"^0.2.0","mikro-orm":"^3.0.0","objection":"^2.0.0","sequelize":"^5.0.0 || ^6.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"mikro-orm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_1.0.0-alpha.6_1604422391159_0.675762052421325","host":"s3://npm-registry-packages"}},"1.0.0-alpha.7":{"name":"@ucast/sql","version":"1.0.0-alpha.7","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@1.0.0-alpha.7","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"99070834f9a1055fbea23059ba697ab0128b772a","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-1.0.0-alpha.7.tgz","fileCount":38,"integrity":"sha512-QvYwfOfMNyPbrPL63yPJk4ROh4JsIR+HkObLEEmEGch4sihdX7wnr7wqzn3EcCHnCmkLDk5iL+D2+kRCijC0zA==","signatures":[{"sig":"MEYCIQCyL/D4oiugFMJlBBFj4+2fkJmZpXQsfqbPfniXn+2mFQIhALqdhkGdVDn3yYMLKU9Kp91QFOn65a75zI9TTUQ5FarY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":121584,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfv+BTCRA9TVsSAnZWagAAq8sQAIJdKSoYsp66CJIyVtyw\n2uM0MPntf7IU/QlzlY8Up8p+2LF/BzDwcKF/UIIhTsCN5bWoq8Yy9NgAbw57\n2keVA546qB3H8naARo5iLTKC7Iv9gOHzk+NKA7TOykBU/a2CgQWqQiJ1Y5uS\n7vgHrNnkKp4+McBmmKgn0Ft2uR4o6AnnoRVn7hkCl0LJqFpXzshub6tSs2Fh\noFq7zfOchcgNjgwic68LjOchvVD9wypYO4V+VniUPmtRL1B0fbc9PrLAPs5v\nb66p1yzfE0WsfZnIs0oCtJr73fVRgNIE+EWuYWn7c0arKTFNS/RAx58D9ipp\nU7II3GwjMSWsRtOhsGh+ORMdo6aVPazC5OU86dVIU4bE8fyRwJwPbjDDo9Oz\nFle93cyGuGeK1G3AxyCEUexnofc6ECj+ZwHIe31NfZGGrVG4MJnJlK2azNhq\niGrpCOpXZqeNe3orANrUBMr5n535QuHsD01PKNxKtLXKVE6U9fJqPsRcLOa6\nMBSngq4ISAyd460nxWG5kZsbWEXRvxTX5vHJ1YbMlWYuBWgqV9ogCQfMCIPj\nSRl/cVY1L24ohcX/P1skQvjFdXj687U+dEJAR+TcMpX8upOBeFBWYmOl2aVZ\n7m+smNx+1sZ1cBS+7Fkt0A/EQhsS5JwhTGM/ILSLF4F/dG7dAOYr80/bbA0h\ndWLD\r\n=QfKQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es6c/index.js","es2015":"dist/es6m/index.mjs","exports":{".":{"import":"./dist/es6m/index.mjs","require":"./dist/es6c/index.js"},"./typeorm":{"import":"./dist/es6m/lib/typeorm.mjs","require":"./dist/es6c/lib/typeorm.js"},"./mikro-orm":{"import":"./dist/es6m/lib/mikro-orm.mjs","require":"./dist/es6c/lib/mikro-orm.js"},"./objection":{"import":"./dist/es6m/lib/objection.mjs","require":"./dist/es6c/lib/objection.js"},"./sequelize":{"import":"./dist/es6m/lib/sequelize.mjs","require":"./dist/es6c/lib/sequelize.js"}},"scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register spec/*","build":"npm run build.sql && npm run build.objection && npm run build.sequelize && npm run build.mikro-orm && npm run build.typeorm","release":"semantic-release -e ../../semantic-release.js","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","prebuild":"rm -rf dist/* && npm run build.types","build.sql":"BUILD_TYPES=es6m,es6c rollup -c ../../rollup.config.js -e @ucast/core","prerelease":"npm run lint && npm test && npm run build","build.types":"tsc","build.typeorm":"npm run build.sql -- -i src/lib/typeorm.ts -e typeorm -e ../index","build.mikro-orm":"npm run build.sql -- -i src/lib/mikro-orm.ts -e mikro-orm -e ../index","build.objection":"npm run build.sql -- -i src/lib/objection.ts -e objection -e ../index","build.sequelize":"npm run build.sql -- -i src/lib/sequelize.ts -e sequelize -e ../index"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"},"repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"6.14.8","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"14.15.0","dependencies":{"@ucast/core":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","knex":"^0.21.2","mocha":"^8.0.1","eslint":"^7.4.0","rollup":"^2.15.0","sqlite3":"^5.0.0","ts-node":"^8.10.2","typeorm":"^0.2.25","mikro-orm":"^3.6.15","objection":"^2.2.1","sequelize":"6.3.4","chai-spies":"^1.0.0","typescript":"^3.9.5","@babel/core":"^7.10.2","@types/chai":"^4.2.11","@types/mocha":"^7.0.2","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","semantic-release":"^17.1.1","@babel/preset-env":"^7.10.2","@types/chai-spies":"^1.0.1","@rollup/plugin-babel":"^5.0.3","eslint-plugin-import":"^2.22.0","rollup-plugin-terser":"^6.1.0","@semantic-release/git":"^9.0.0","@semantic-release/npm":"^7.0.5","@semantic-release/github":"^7.0.7","eslint-config-airbnb-base":"^14.2.0","@rollup/plugin-node-resolve":"^8.0.1","@semantic-release/changelog":"^5.0.1","eslint-config-airbnb-typescript":"^8.0.2","@typescript-eslint/eslint-plugin":"^3.6.0","@babel/plugin-transform-typescript":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.4"},"peerDependencies":{"typeorm":"^0.2.0","mikro-orm":"^3.0.0","objection":"^2.0.0","sequelize":"^5.0.0 || ^6.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"mikro-orm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_1.0.0-alpha.7_1606410322724_0.0835624336317271","host":"s3://npm-registry-packages"}},"1.0.0-alpha.8":{"name":"@ucast/sql","version":"1.0.0-alpha.8","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@1.0.0-alpha.8","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"af5ff44c5a2b22da316567f3004d451f5b0a9a01","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-1.0.0-alpha.8.tgz","fileCount":38,"integrity":"sha512-0OOsWkQrwm2mdl6cJtVbsPmeJ1rfjwmWOHnMPIrKqlvkPVTRy/oe2Nl/EiELymqpwipLwx2mSqm/SX9mP9WCDw==","signatures":[{"sig":"MEYCIQDtpsGqv55sb+HmHQBo7aUdqSFEqXBKoQfvSnMyBrnqewIhAKSJC//Nl82LwsIA5EY4ooOAYFxWJY9Jm405LCGxCvnc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":122631,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfv+hBCRA9TVsSAnZWagAAzcYQAIO9KxEdNQLNvsN1xpbv\n8Umgsw9PIg9ZquoTS/3GRdC02LxRaYqIXpFb0ty0c+vqXAfF4n/chbf3MTki\nplfkajH4P0aZE3q2fmN0oZrzwd8VF97UgqB7rlplJEnyGouYG/FxI0ZLrb8T\nGb9AtB2U+Ysu7+bGQGpFBlR3nLhUpt5WbOYVun6AbQVsdxp9ZQXdG4TdI09R\nC+QEjKOgPimY+M9Q4FY7kGx5Hmq8uGPSdHTeYADVl9B+q1GVXf7Msxz+wPdB\nHuIh0yXbp9uRgrnCLL3QuZJ854MoRIpBZ7CpWVoXy9fLWuILTkyxxeV9zTnD\nnAO6MInsuO4CvjCL64Nj9pMTuDNOY65b2xRxHu43PNBXkhWH/yUqk0M0cnPn\nTKk5O+d1nD7ILNbzcPmzthscKmdVzwLgq7+k57n7VwylF2+brg3fXGN6be5n\nEIfO5md9A+sXV8jXT54XDbE6ROrF/YX8w/RbVHOwbpIOwBjawcCw8rhD6TfC\nuZ3wNo1S018CmINmCAX8nY7cBvbK14l0xrxf/QUhyTN0gR2sooAppRUo50Dt\nSOyFdA1e/V96nQUkbMxDc2kVQeGyAU/v59xz48uXyr5VxANm8svo7bvclYCF\nW4CA6XzInlzEm9U6/lVHdKHqdsp+8YCsZCId5pdEc2Ya/B/avmK4hJsWEi9S\nBLfm\r\n=ygiQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es6c/index.js","es2015":"dist/es6m/index.mjs","exports":{".":{"import":"./dist/es6m/index.mjs","require":"./dist/es6c/index.js"},"./typeorm":{"import":"./dist/es6m/lib/typeorm.mjs","require":"./dist/es6c/lib/typeorm.js"},"./mikro-orm":{"import":"./dist/es6m/lib/mikro-orm.mjs","require":"./dist/es6c/lib/mikro-orm.js"},"./objection":{"import":"./dist/es6m/lib/objection.mjs","require":"./dist/es6c/lib/objection.js"},"./sequelize":{"import":"./dist/es6m/lib/sequelize.mjs","require":"./dist/es6c/lib/sequelize.js"}},"scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register spec/*","build":"npm run build.sql && npm run build.objection && npm run build.sequelize && npm run build.mikro-orm && npm run build.typeorm","release":"semantic-release -e ../../semantic-release.js","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","prebuild":"rm -rf dist/* && npm run build.types","build.sql":"BUILD_TYPES=es6m,es6c rollup -c ../../rollup.config.js -e @ucast/core","prerelease":"npm run lint && npm test && npm run build","build.types":"tsc","build.typeorm":"npm run build.sql -- -i src/lib/typeorm.ts -e typeorm -e ../index","build.mikro-orm":"npm run build.sql -- -i src/lib/mikro-orm.ts -e mikro-orm -e ../index","build.objection":"npm run build.sql -- -i src/lib/objection.ts -e objection -e ../index","build.sequelize":"npm run build.sql -- -i src/lib/sequelize.ts -e sequelize -e ../index"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"},"repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"6.14.8","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"14.15.0","dependencies":{"@ucast/core":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","knex":"^0.21.2","mocha":"^8.0.1","eslint":"^7.4.0","rollup":"^2.15.0","sqlite3":"^5.0.0","ts-node":"^8.10.2","typeorm":"^0.2.25","mikro-orm":"^3.6.15","objection":"^2.2.1","sequelize":"6.3.4","chai-spies":"^1.0.0","typescript":"^3.9.5","@babel/core":"^7.10.2","@types/chai":"^4.2.11","@types/mocha":"^7.0.2","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","semantic-release":"^17.1.1","@babel/preset-env":"^7.10.2","@types/chai-spies":"^1.0.1","@rollup/plugin-babel":"^5.0.3","eslint-plugin-import":"^2.22.0","rollup-plugin-terser":"^6.1.0","@semantic-release/git":"^9.0.0","@semantic-release/npm":"^7.0.5","@semantic-release/github":"^7.0.7","eslint-config-airbnb-base":"^14.2.0","@rollup/plugin-node-resolve":"^8.0.1","@semantic-release/changelog":"^5.0.1","eslint-config-airbnb-typescript":"^8.0.2","@typescript-eslint/eslint-plugin":"^3.6.0","@babel/plugin-transform-typescript":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.4"},"peerDependencies":{"typeorm":"^0.2.0","mikro-orm":"^3.0.0","objection":"^2.0.0","sequelize":"^5.0.0 || ^6.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"mikro-orm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_1.0.0-alpha.8_1606412353494_0.2756505133561544","host":"s3://npm-registry-packages"}},"1.0.0-alpha.9":{"name":"@ucast/sql","version":"1.0.0-alpha.9","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@1.0.0-alpha.9","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"93c4418011ad00ba4dec8670abd128fd390b784a","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-1.0.0-alpha.9.tgz","fileCount":38,"integrity":"sha512-i/jI+3SXIxCgYqFJRVqOLCORtaMde8T3b3xvXJailiZKxu5SZ/e+XuwZtWHrn5GcLWUvkfszzLZpvB5fb4YyLw==","signatures":[{"sig":"MEYCIQCb/jtoG9TWXYwVQR3qKITVtza6rrZY0ZXBnEHzhx2xnQIhAP31z//kERHQ6nSLn9/h1JCFngRTR1I99Hx1LPAQbmBW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":123735,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfx7YiCRA9TVsSAnZWagAA20QP/0QgH/mmDA+G3dpKZU1H\nBT1G1F1HvuxQREAlOcexM/XIetBe/Y/yhaARaUjy0N+Q/8JjqWyllfr7huXf\neOekyQrlRUK6p0IfF9evOTi3cXgv+ZkB2cniCOmJBBoME8D8qmHHs+D9zZp7\npJkx31dxqQP+IcBOCdhTsZ/0znQjUa7uXrXXNzDaPOZEPSslFLKNUhQ+5ec8\n1j1kXrjOHqIPpHn+CCjrwBdHI6T9COLMrPWs7ogDuCFX/0nUwHkFOZVlC48E\n1nwmNPqT2uK0PNzI2JxJYwNj4EB1PEIvtz03YyeVCuJa0ojWKNjgQq4ASCzf\nEfd4Re17WYCgAzHCRMYhY9shHJ1ZHiHkuZcZJPeoK3AELx4J4f5s0ErRYMdh\nArvMaO+Mstp3zd71meRXXY1cM9lPhKB0z2eBZNkFvkli8uK/M6y8vQYVAUDd\n5ONGl7ddaQOwqvwF46smlxXOanRL1fyheu7tO8E7SR2n68NysXRsFE+s5AY/\nvrUGacOuWrSYXy9LlCmuOGPup976ZxmsbUsS+uN215iwQT4mjR+2nmWZORCl\n8MlzU2Iv91phmTaV/rMcuTX+31VCnE4SDUxLiJJ9DCu8HtsKgGImEQH8u8Ga\nDEg/9357cwfDxFfg/9m6YI+OsXJy14Udd1Uf23UBWDLtS/QnFaR/bW5vuxtB\n7POt\r\n=wkAK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es6c/index.js","es2015":"dist/es6m/index.mjs","exports":{".":{"import":"./dist/es6m/index.mjs","require":"./dist/es6c/index.js"},"./typeorm":{"import":"./dist/es6m/lib/typeorm.mjs","require":"./dist/es6c/lib/typeorm.js"},"./mikro-orm":{"import":"./dist/es6m/lib/mikro-orm.mjs","require":"./dist/es6c/lib/mikro-orm.js"},"./objection":{"import":"./dist/es6m/lib/objection.mjs","require":"./dist/es6c/lib/objection.js"},"./sequelize":{"import":"./dist/es6m/lib/sequelize.mjs","require":"./dist/es6c/lib/sequelize.js"}},"scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register spec/*","build":"npm run build.sql && npm run build.objection && npm run build.sequelize && npm run build.mikro-orm && npm run build.typeorm","release":"semantic-release -e ../../semantic-release.js","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","prebuild":"rm -rf dist/* && npm run build.types","build.sql":"BUILD_TYPES=es6m,es6c rollup -c ../../rollup.config.js -e @ucast/core","prerelease":"npm run lint && npm test && npm run build","build.types":"tsc","build.typeorm":"npm run build.sql -- -i src/lib/typeorm.ts -e typeorm -e ../index","build.mikro-orm":"npm run build.sql -- -i src/lib/mikro-orm.ts -e mikro-orm -e ../index","build.objection":"npm run build.sql -- -i src/lib/objection.ts -e objection -e ../index","build.sequelize":"npm run build.sql -- -i src/lib/sequelize.ts -e sequelize -e ../index"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"},"repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"6.14.8","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"14.15.0","dependencies":{"@ucast/core":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","knex":"^0.21.2","mocha":"^8.0.1","eslint":"^7.4.0","rollup":"^2.15.0","sqlite3":"^5.0.0","ts-node":"^8.10.2","typeorm":"^0.2.25","mikro-orm":"^3.6.15","objection":"^2.2.1","sequelize":"6.3.4","chai-spies":"^1.0.0","typescript":"^3.9.5","@babel/core":"^7.10.2","@types/chai":"^4.2.11","@types/mocha":"^7.0.2","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","semantic-release":"^17.1.1","@babel/preset-env":"^7.10.2","@types/chai-spies":"^1.0.1","@rollup/plugin-babel":"^5.0.3","eslint-plugin-import":"^2.22.0","rollup-plugin-terser":"^6.1.0","@semantic-release/git":"^9.0.0","@semantic-release/npm":"^7.0.5","@semantic-release/github":"^7.0.7","eslint-config-airbnb-base":"^14.2.0","@rollup/plugin-node-resolve":"^8.0.1","@semantic-release/changelog":"^5.0.1","eslint-config-airbnb-typescript":"^8.0.2","@typescript-eslint/eslint-plugin":"^3.6.0","@babel/plugin-transform-typescript":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.4"},"peerDependencies":{"typeorm":"^0.2.0","mikro-orm":"^3.0.0","objection":"^2.0.0","sequelize":"^5.0.0 || ^6.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"mikro-orm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_1.0.0-alpha.9_1606923810287_0.5245823537880312","host":"s3://npm-registry-packages"}},"1.0.0-alpha.10":{"name":"@ucast/sql","version":"1.0.0-alpha.10","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@1.0.0-alpha.10","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"2d460796ef1fe97710a02f9737f760689bacc00e","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-1.0.0-alpha.10.tgz","fileCount":38,"integrity":"sha512-w8Ah3ODhYbhS2duRKGWx7IcAoUyfAvdDEaLv4+Qxc/BYG37oP/Zgfs0SVNz1zr7KuSLMNr6gUj4M+cznNbbwug==","signatures":[{"sig":"MEUCIDawzKvPrU+CZG3luVMb+CE1pvTJVp9vLIM3nywgnpD9AiEAxHFO4Iif4rduwRkMgcd4cYurX9sM/oHdhOcBFfcQGuk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":123640,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgDp7YCRA9TVsSAnZWagAAuo8P/A9R1uqMaBjURZHd1GvJ\nN5BV/MvX4PYPcNn477uiTUyYCqdAbTwoS3Whoj8+x37S9I49S/J2BsK6gG4B\nvhCYr9EsZovmw3++tnAQ+cPqFzFiDvbI847jY8PV0PXQuQlxlIgVnVKB3pfx\nNRFzuR5yNdmS+tFebk+1hw9uGQ4wcgz6C6SgNmoygl89duxkw+J5gnkFTotR\n9k4G71lA/a0S6orqZMxaPJ5ILA6BQVlyyofc4TJko4CqFi89Q5R5zKEahAf0\nlhoVE/anCSadNHewdE+jhhvt1xadJ/0vQQpDxBGXJVmFSZSxUCn8+8SPunLM\nMrKK3tPe+Gfc6TZq1vKkmn7oO2BUvb4OWGaz/kXbU2P0VczSs4umWLLbIqex\nY8o3FeMU4QmIQSZz5oguP2H5JCUf0NyCKk0nCMSk8mxAN1n6KXu9o+VMZ9Ax\nXAKioMCilnY3XB3zkDE1SC2juNZjIe4ZQjz+cTzTADBit+XAWey9/OnFpdWt\nubpEXmLGYRFLOLdPJtSutftIrrbET9tzKtOHUzrcHB8XV2Hs/HHlrvX7W2Gv\nG2evEODO0lacEJusUQCNj7L2nflq0K0qiwDzt8Uz2kmKFxYnpi9TBAMcheXK\nCHFLHwhQJvjVX0zL6G0YN1CZDaU+a67b4ywectr56UFlZLPNjlhWl7+fOcLa\ntpJX\r\n=hB7G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es6c/index.js","es2015":"dist/es6m/index.mjs","exports":{".":{"import":"./dist/es6m/index.mjs","require":"./dist/es6c/index.js"},"./typeorm":{"import":"./dist/es6m/lib/typeorm.mjs","require":"./dist/es6c/lib/typeorm.js"},"./mikro-orm":{"import":"./dist/es6m/lib/mikro-orm.mjs","require":"./dist/es6c/lib/mikro-orm.js"},"./objection":{"import":"./dist/es6m/lib/objection.mjs","require":"./dist/es6c/lib/objection.js"},"./sequelize":{"import":"./dist/es6m/lib/sequelize.mjs","require":"./dist/es6c/lib/sequelize.js"}},"scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register spec/*","build":"npm run build.sql && npm run build.objection && npm run build.sequelize && npm run build.mikro-orm && npm run build.typeorm","release":"semantic-release -e ../../semantic-release.js","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","prebuild":"rm -rf dist/* && npm run build.types","build.sql":"BUILD_TYPES=es6m,es6c rollup -c ../../rollup.config.js -e @ucast/core","prerelease":"npm run lint && npm test && npm run build","build.types":"tsc","build.typeorm":"npm run build.sql -- -i src/lib/typeorm.ts -e typeorm -e ../index","build.mikro-orm":"npm run build.sql -- -i src/lib/mikro-orm.ts -e mikro-orm -e ../index","build.objection":"npm run build.sql -- -i src/lib/objection.ts -e objection -e ../index","build.sequelize":"npm run build.sql -- -i src/lib/sequelize.ts -e sequelize -e ../index"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"},"repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"6.14.8","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"14.15.1","dependencies":{"@ucast/core":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","knex":"^0.21.2","mocha":"^8.0.1","eslint":"^7.4.0","rollup":"^2.15.0","sqlite3":"^5.0.0","ts-node":"^8.10.2","typeorm":"^0.2.25","mikro-orm":"^3.6.15","objection":"^2.2.1","sequelize":"6.3.4","chai-spies":"^1.0.0","typescript":"^3.9.5","@babel/core":"^7.10.2","@types/chai":"^4.2.11","@types/mocha":"^7.0.2","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","semantic-release":"^17.1.1","@babel/preset-env":"^7.10.2","@types/chai-spies":"^1.0.1","@rollup/plugin-babel":"^5.0.3","eslint-plugin-import":"^2.22.0","rollup-plugin-terser":"^6.1.0","@semantic-release/git":"^9.0.0","@semantic-release/npm":"^7.0.5","@semantic-release/github":"^7.0.7","eslint-config-airbnb-base":"^14.2.0","@rollup/plugin-node-resolve":"^8.0.1","@semantic-release/changelog":"^5.0.1","eslint-config-airbnb-typescript":"^8.0.2","@typescript-eslint/eslint-plugin":"^3.6.0","@babel/plugin-transform-typescript":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.4"},"peerDependencies":{"typeorm":"^0.2.0","mikro-orm":"^3.0.0","objection":"^2.0.0","sequelize":"^5.0.0 || ^6.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"mikro-orm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_1.0.0-alpha.10_1611570904172_0.5828717698068182","host":"s3://npm-registry-packages"}},"1.0.0-alpha.11":{"name":"@ucast/sql","version":"1.0.0-alpha.11","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@1.0.0-alpha.11","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"a6ddcc08fd62c719aa09472b4a8e5690941c22af","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-1.0.0-alpha.11.tgz","fileCount":38,"integrity":"sha512-EWtdD5DF9nJEy60gVjikKV+zwfKO4a8qLwWBSU4OBcc+ImNSsqZ07ko2ShxcRbxJA0Q0rWKBYovqixTk1Pj+jA==","signatures":[{"sig":"MEYCIQCkG3M2lXch2vGcaKSA2JnZv1+BtqZqpjmiK/BwVBGe1AIhAMuny3lymr5phY/kavoVuacTa5Y5srW3BXsqc2PsAMSW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":123941,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7/jPCRA9TVsSAnZWagAAkA8P/3knW6auB2zFdUubtvNT\nqUHUN5fnLtHGljGIAS6f2D0Sv8Bm1j72p3MdfiC8xQl64y0KwzGCv3fqXunZ\n/3V9CL3tsmdRJUXMf5YNawkGNASw9si9W1bTAtGv+wMo5xmerIZoayHT+MAN\nuwTn+B4LcnyaOhngAAWl4PRq9zJpamicXNUxCO8kr3OYqboTyGNDBvCBWhmR\nb38ooUd1aHDqA0i3kVvUBUbUJWz6tuPM6ybTZPDIqaEuGqc3hl0hStiPx3RP\nwaebVJJo7n6MfOP+1psI4osmvp+YfBUavvZQ1QHNyaEfQpjkKKCT1BCvUFHE\n12aqg4jsgC4sUScTN2YM3KYK95ilYqrNJA9TRdqF7AU+wAQfhA1E6VpD534G\nV/EjlRGBTgPcQxRzftKzkUlJV2bSu5fPO56OL0MEg3xzGeKL4jZQFpIqPMcJ\nXb9MDR5E8R0eoWdv3G2UAmD++Iy0Hk4r1GAJgBZ8qP90o6G8lKHOgsXVXkdD\nq1JA6EZqsCK8jORjuz42XR8vQd6b+IdJIGIq8+2O6q/8Ij0avbZyzWl9vd0k\n39Vf2F4s4R+9kFWoHOeYNslgIH87hZLRrFEcMidlGKC5p+3WjcZZmr0to1+w\nEmenTMmUU/AdQYXefQcEoApJGu/XUcTwkpCMGT3wuNtDqkdCHZSkOpdPiewb\npPR9\r\n=rSlo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es6c/index.js","es2015":"dist/es6m/index.mjs","exports":{".":{"import":"./dist/es6m/index.mjs","require":"./dist/es6c/index.js"},"./typeorm":{"import":"./dist/es6m/lib/typeorm.mjs","require":"./dist/es6c/lib/typeorm.js"},"./mikro-orm":{"import":"./dist/es6m/lib/mikro-orm.mjs","require":"./dist/es6c/lib/mikro-orm.js"},"./objection":{"import":"./dist/es6m/lib/objection.mjs","require":"./dist/es6c/lib/objection.js"},"./sequelize":{"import":"./dist/es6m/lib/sequelize.mjs","require":"./dist/es6c/lib/sequelize.js"}},"scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register spec/*","build":"npm run build.sql && npm run build.objection && npm run build.sequelize && npm run build.mikro-orm && npm run build.typeorm","release":"semantic-release -e ../../semantic-release.js","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","prebuild":"rm -rf dist/* && npm run build.types","build.sql":"BUILD_TYPES=es6m,es6c rollup -c ../../rollup.config.js -e @ucast/core","prerelease":"npm run lint && npm test && npm run build","build.types":"tsc","build.typeorm":"npm run build.sql -- -i src/lib/typeorm.ts -e typeorm -e ../index","build.mikro-orm":"npm run build.sql -- -i src/lib/mikro-orm.ts -e mikro-orm -e ../index","build.objection":"npm run build.sql -- -i src/lib/objection.ts -e objection -e ../index","build.sequelize":"npm run build.sql -- -i src/lib/sequelize.ts -e sequelize -e ../index"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"},"repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"7.8.0","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"16.3.0","dependencies":{"@ucast/core":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","knex":"^0.21.2","mocha":"^8.0.1","eslint":"^7.4.0","rollup":"^2.15.0","sqlite3":"^5.0.0","ts-node":"^8.10.2","typeorm":"^0.2.25","mikro-orm":"^3.6.15","objection":"^2.2.1","sequelize":"6.3.4","chai-spies":"^1.0.0","typescript":"^3.9.5","@babel/core":"^7.10.2","@types/chai":"^4.2.11","@types/mocha":"^7.0.2","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","semantic-release":"^17.1.1","@babel/preset-env":"^7.10.2","@types/chai-spies":"^1.0.1","@rollup/plugin-babel":"^5.0.3","eslint-plugin-import":"^2.22.0","rollup-plugin-terser":"^6.1.0","@semantic-release/git":"^9.0.0","@semantic-release/npm":"^7.0.5","@semantic-release/github":"^7.0.7","eslint-config-airbnb-base":"^14.2.0","@rollup/plugin-node-resolve":"^8.0.1","@semantic-release/changelog":"^5.0.1","eslint-config-airbnb-typescript":"^8.0.2","@typescript-eslint/eslint-plugin":"^3.6.0","@babel/plugin-transform-typescript":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.4"},"peerDependencies":{"typeorm":"^0.2.0","mikro-orm":"^3.0.0","objection":"^2.0.0","sequelize":"^5.0.0 || ^6.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"mikro-orm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_1.0.0-alpha.11_1626339535023_0.17391688650326054","host":"s3://npm-registry-packages"}},"1.0.0-alpha.12":{"name":"@ucast/sql","version":"1.0.0-alpha.12","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@1.0.0-alpha.12","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"f4f68393b39e6ee4c26eaf700608314c2751cc6b","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-1.0.0-alpha.12.tgz","fileCount":38,"integrity":"sha512-3rKzT6XxSTlnD10P9N0iaOY7xBo/VzGBSGreQUmHngzgnkl/VqVaKxafBgYrFjVERZCvp6H6kuPjhBczmgvqtQ==","signatures":[{"sig":"MEUCIDp5qaqDFH027V5Ntucm5S0r+egxvjj5GxsykvQ5nBG3AiEAi0swCbFNmdz4AnKST2FiaHD9pIOD7lFnWChAj3PZ6TU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":125402,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7/6ACRA9TVsSAnZWagAAG04P/2x+yDFO+t7ugnIOkBx2\nylx+/CY88dH5rVUnPKZUivYzxw8dOwIrbn5CYzNILNM2692UbVNqhE6aCocd\n+tYe+jlXUXGUhd15gg+z9QmWSDQUeTFdD2bEQBMxE0hJAs2we20F2VdaRfcN\nDOH9TljxTyx1Z4RYdw+1lS8zaxZbTSM4urzlAhl/+GRo6N7NChjrk14IL5kj\np7oVNxdNBlwyMTWgxlq9yyntlVDNQMsvyLdkL+TbeYhgOeePT4HaMt9nrSPo\nQ0LIt1KPOI6uo9+r4xyZOeZDhJsDbeXuBJd62n4Y9SZC1opyNUz2His9/LIG\ncWIMKlQYPi7QYx/CkrusLKFwrFPcrurehVRN28tjrVQpNXQ6JaioyjOeoy55\nSa+0JgaFygIMqsH3G6xtymyrPQu0iUaydR8Tu4DTqA2F66HhgV4/2LtgqB0y\nb0Zy4/q8abdN1MagMQKcUbAmyskLgxLcPMiSib5AVPhUFB+7CTKuqbD9m0qD\neonoOL+ZWY9hmlmk+s0kBbogOzZar+blSSnlkz64wGMkipcWbPrdQWCYNo2g\n5nEnqfEVDiSKihJrWzRvenqEqQetypobrrLlrW2FCMjb+iibmJzC29yGOJmT\nyETi9XSgd28WaJQ0jt+G0R4UioIyhUm8qL3jT4K5zBQsxWFEW6DF5a9rFlDU\nlYIq\r\n=gIWs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/es6c/index.js","es2015":"dist/es6m/index.mjs","exports":{".":{"import":"./dist/es6m/index.mjs","require":"./dist/es6c/index.js"},"./typeorm":{"import":"./dist/es6m/lib/typeorm.mjs","require":"./dist/es6c/lib/typeorm.js"},"./mikro-orm":{"import":"./dist/es6m/lib/mikro-orm.mjs","require":"./dist/es6c/lib/mikro-orm.js"},"./objection":{"import":"./dist/es6m/lib/objection.mjs","require":"./dist/es6c/lib/objection.js"},"./sequelize":{"import":"./dist/es6m/lib/sequelize.mjs","require":"./dist/es6c/lib/sequelize.js"}},"scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register spec/*","build":"npm run build.sql && npm run build.objection && npm run build.sequelize && npm run build.mikro-orm && npm run build.typeorm","release":"semantic-release -e ../../semantic-release.js","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","prebuild":"rm -rf dist/* && npm run build.types","build.sql":"BUILD_TYPES=es6m,es6c rollup -c ../../rollup.config.js -e @ucast/core","prerelease":"npm run lint && npm test && npm run build","build.types":"tsc","build.typeorm":"npm run build.sql -- -i src/lib/typeorm.ts -e typeorm -e ../index","build.mikro-orm":"npm run build.sql -- -i src/lib/mikro-orm.ts -e mikro-orm -e ../index","build.objection":"npm run build.sql -- -i src/lib/objection.ts -e objection -e ../index","build.sequelize":"npm run build.sql -- -i src/lib/sequelize.ts -e sequelize -e ../index"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"},"repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"7.8.0","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"16.3.0","dependencies":{"@ucast/core":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","knex":"^0.21.2","mocha":"^8.0.1","eslint":"^7.4.0","rollup":"^2.15.0","sqlite3":"^5.0.0","ts-node":"^8.10.2","typeorm":"^0.2.25","mikro-orm":"^3.6.15","objection":"^2.2.1","sequelize":"6.3.4","chai-spies":"^1.0.0","typescript":"^3.9.5","@babel/core":"^7.10.2","@types/chai":"^4.2.11","@types/mocha":"^7.0.2","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","semantic-release":"^17.1.1","@babel/preset-env":"^7.10.2","@types/chai-spies":"^1.0.1","@rollup/plugin-babel":"^5.0.3","eslint-plugin-import":"^2.22.0","rollup-plugin-terser":"^6.1.0","@semantic-release/git":"^9.0.0","@semantic-release/npm":"^7.0.5","@semantic-release/github":"^7.0.7","eslint-config-airbnb-base":"^14.2.0","@rollup/plugin-node-resolve":"^8.0.1","@semantic-release/changelog":"^5.0.1","eslint-config-airbnb-typescript":"^8.0.2","@typescript-eslint/eslint-plugin":"^3.6.0","@babel/plugin-transform-typescript":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.4"},"peerDependencies":{"typeorm":"^0.2.0","mikro-orm":"^3.0.0","objection":"^2.0.0","sequelize":"^5.0.0 || ^6.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"mikro-orm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_1.0.0-alpha.12_1626340992360_0.6131277010001648","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@ucast/sql","version":"0.1.0","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@0.1.0","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"910d36fdb9fe4331d43a9136d0df09116a35a775","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-0.1.0.tgz","fileCount":36,"integrity":"sha512-gWLwYU/INylq2mW5cn9l1UdHSx36NO0au0EvFmcKJyMFB7cIe4RD2UBK3upGwZJsE71+RJACEzwqtJL56wIoVw==","signatures":[{"sig":"MEYCIQC1F73HhSgzWdGuER2ksiQ3BIv8iIBZA3B/ArO53B1/VAIhAMwX5SBXzkwUDLqpjrFXs9MnLXsSSBPFSvI8NjuML9oA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94758},"main":"dist/es6c/index.js","_from":"file:ucast-sql-0.1.0.tgz","es2015":"dist/es6m/index.mjs","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/es6m/index.mjs","require":"./dist/es6c/index.js"},"./typeorm":{"types":"./dist/types/lib/typeorm.d.ts","import":"./dist/es6m/lib/typeorm.mjs","require":"./dist/es6c/lib/typeorm.js"},"./mikro-orm":{"types":"./dist/types/lib/mikro-orm.d.ts","import":"./dist/es6m/lib/mikro-orm.mjs","require":"./dist/es6c/lib/mikro-orm.js"},"./objection":{"types":"./dist/types/lib/objection.d.ts","import":"./dist/es6m/lib/objection.mjs","require":"./dist/es6c/lib/objection.js"},"./sequelize":{"types":"./dist/types/lib/sequelize.d.ts","import":"./dist/es6m/lib/sequelize.mjs","require":"./dist/es6c/lib/sequelize.js"}},"scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register --exclude spec/mikro-orm.spec.ts spec/*","build":"npm run build.sql && npm run build.objection && npm run build.sequelize && npm run build.mikro-orm && npm run build.typeorm","release":"npm run release.prepare && pnpm publish","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","prebuild":"rm -rf dist/* && npm run build.types","build.sql":"BUILD_TYPES=es6m,es6c rollup -c ../../rollup.config.js -e @ucast/core","build.types":"tsc","build.typeorm":"npm run build.sql -- -i src/lib/typeorm.ts -e typeorm -e ../index","build.mikro-orm":"npm run build.sql -- -i src/lib/mikro-orm.ts -e mikro-orm -e ../index","build.objection":"npm run build.sql -- -i src/lib/objection.ts -e objection -e ../index","build.sequelize":"npm run build.sql -- -i src/lib/sequelize.ts -e sequelize -e ../index","release.prepare":"npm run lint && npm test && NODE_ENV=production npm run build"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"},"_resolved":"/private/var/folders/k8/80lpbsp125zb0qlx6x6lrv_80000gn/T/63a58b364cac1a915b9ec858abdeb5ce/ucast-sql-0.1.0.tgz","_integrity":"sha512-gWLwYU/INylq2mW5cn9l1UdHSx36NO0au0EvFmcKJyMFB7cIe4RD2UBK3upGwZJsE71+RJACEzwqtJL56wIoVw==","repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"11.6.2","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@ucast/core":"1.10.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","knex":"^3.1.0","mocha":"^8.0.1","rollup":"^2.15.0","sqlite3":"^5.1.7","ts-node":"^10.9.2","typeorm":"^0.3.26","mikro-orm":"^3.6.15","objection":"^3.1.5","sequelize":"6.37.7","chai-spies":"^1.0.0","typescript":"^5.9.2","@babel/core":"^7.10.2","@types/chai":"^4.2.11","@types/node":"^24.3.1","@types/mocha":"^7.0.2","@mikro-orm/core":"^6.5.2","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","reflect-metadata":"^0.2.2","@babel/preset-env":"^7.10.2","@types/chai-spies":"^1.0.1","@rollup/plugin-babel":"^5.0.3","rollup-plugin-terser":"^6.1.0","@rollup/plugin-node-resolve":"^8.0.1","@babel/plugin-transform-typescript":"^7.10.1","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-object-rest-spread":"^7.10.4"},"peerDependencies":{"typeorm":"^0.2.0","mikro-orm":"^3.0.0","objection":"^2.0.0","sequelize":"^5.0.0 || ^6.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"mikro-orm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_0.1.0_1770184459231_0.2915199454361035","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@ucast/sql","version":"0.2.0","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@0.2.0","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"ca7f223e82d6526cf0cd4287aa1f6b5b3cab13a8","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-0.2.0.tgz","fileCount":39,"integrity":"sha512-uz13cUb1yhPz82noAixucuPSfj+zSaI3QTeUSPkSMLhRljK9HDWuJZ6bhNP8J7y7ZO7c8pjYy3oxDD+KiSoCjA==","signatures":[{"sig":"MEUCIQCd/7l0fG/J3jrbQJeb+Fdd9m8+9NKDuItWXxHdeDGRJgIgZCSNehPRwlqIVrFUFHVM9gVs3BbrM5/tSfsSCThahLI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94007},"main":"dist/cjs/index.js","_from":"file:ucast-sql-0.2.0.tgz","es2015":"dist/esm/index.mjs","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.mjs","require":"./dist/cjs/index.js"},"./typeorm":{"types":"./dist/types/lib/typeorm.d.ts","import":"./dist/esm/lib/typeorm.mjs","require":"./dist/cjs/lib/typeorm.js"},"./mikro-orm":{"types":"./dist/types/lib/mikro-orm.d.ts","import":"./dist/esm/lib/mikro-orm.mjs","require":"./dist/cjs/lib/mikro-orm.js"},"./objection":{"types":"./dist/types/lib/objection.d.ts","import":"./dist/esm/lib/objection.mjs","require":"./dist/cjs/lib/objection.js"},"./sequelize":{"types":"./dist/types/lib/sequelize.d.ts","import":"./dist/esm/lib/sequelize.mjs","require":"./dist/cjs/lib/sequelize.js"}},"scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register/transpile-only spec/*","build":"rm -rf dist/* && tsc && tsdown -c tsdown.config.mjs","release":"npm run release.prepare && pnpm publish","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","release.prepare":"npm run lint && npm test && NODE_ENV=production npm run build"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"},"_resolved":"/private/var/folders/k8/80lpbsp125zb0qlx6x6lrv_80000gn/T/47a534de802f4828a39b443267521b55/ucast-sql-0.2.0.tgz","_integrity":"sha512-uz13cUb1yhPz82noAixucuPSfj+zSaI3QTeUSPkSMLhRljK9HDWuJZ6bhNP8J7y7ZO7c8pjYy3oxDD+KiSoCjA==","repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"11.6.2","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@ucast/core":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^18.0.0","chai":"^4.2.0","knex":"^3.1.0","mocha":"^8.0.1","sqlite3":"^5.1.7","typeorm":"^0.3.28","objection":"^3.1.5","sequelize":"^6.37.7","chai-spies":"^1.0.0","typescript":"^5.9.2","@types/chai":"^4.2.11","@types/node":"^24.3.1","@types/mocha":"^7.0.2","@mikro-orm/core":"^6.6.7","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","reflect-metadata":"^0.2.2","@mikro-orm/sqlite":"^6.6.7","@types/chai-spies":"^1.0.1"},"peerDependencies":{"typeorm":"^0.2.0 || ^0.3.0","objection":"^2.0.0 || ^3.0.0","sequelize":"^5.0.0 || ^6.0.0","@mikro-orm/core":"^6.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true},"@mikro-orm/core":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_0.2.0_1777038824247_0.34362213987784385","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@ucast/sql","version":"0.2.1","keywords":["sql","conditions","query","builder","ast"],"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","_id":"@ucast/sql@0.2.1","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"homepage":"https://github.com/stalniy/ucast#readme","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"fc5dabac454aea18cc30692052a391bbd3f7b57d","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-0.2.1.tgz","fileCount":43,"integrity":"sha512-RorCOrZ7iJam0ouCH3wsVNSFNjbYUwfNfq1wR5T1u8b8hQtW+dm2aOpljWrXLPhxNFRun86srYRaeMLkxCpXoQ==","signatures":[{"sig":"MEUCIEO/pqkFDgj/bt14ntfkrFEO21Kj4zaSlIOR2a+U81iMAiEAxbMysZAyYM/hM+qlL0WaEFMSnGIVGYxHJ9hb7M2+Jik=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCOZOLIv/8a5zsSOoVS4mj9acZZr1DA3G4+vQ6oJtXiBAIhALkvi6AZzmSgo4eae0Mf6ld/WY8kMkdJWi2Mz0NmTEUP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ucast%2fsql@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":163348},"main":"dist/cjs/index.js","_from":"file:ucast-sql-0.2.1.tgz","es2015":"dist/esm/index.mjs","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.mjs","require":"./dist/cjs/index.js"},"./typeorm":{"types":"./dist/types/lib/typeorm.d.ts","import":"./dist/esm/lib/typeorm.mjs","require":"./dist/cjs/lib/typeorm.js"},"./mikro-orm":{"types":"./dist/types/lib/mikro-orm.d.ts","import":"./dist/esm/lib/mikro-orm.mjs","require":"./dist/cjs/lib/mikro-orm.js"},"./objection":{"types":"./dist/types/lib/objection.d.ts","import":"./dist/esm/lib/objection.mjs","require":"./dist/cjs/lib/objection.js"},"./sequelize":{"types":"./dist/types/lib/sequelize.d.ts","import":"./dist/esm/lib/sequelize.mjs","require":"./dist/cjs/lib/sequelize.js"}},"scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ts-node/register/transpile-only spec/*","build":"rm -rf dist/* && tsc && tsdown -c tsdown.config.mjs","release":"npm run release.prepare && pnpm publish","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","release.prepare":"npm run lint && npm test && NODE_ENV=production npm run build"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"e513e440-8f3c-4e65-b8a4-d386297773b9"}},"_resolved":"/tmp/cd3cc909a4179d32689be08f0767687f/ucast-sql-0.2.1.tgz","_integrity":"sha512-RorCOrZ7iJam0ouCH3wsVNSFNjbYUwfNfq1wR5T1u8b8hQtW+dm2aOpljWrXLPhxNFRun86srYRaeMLkxCpXoQ==","repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"11.19.0","description":"git@github.com:stalniy/ucast.git","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@ucast/core":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^18.0.0","chai":"^4.2.0","knex":"^3.1.0","mocha":"^8.0.1","sqlite3":"^6.0.1","typeorm":"^1.0.0","objection":"^3.1.5","sequelize":"^6.37.7","chai-spies":"^1.0.0","typescript":"^5.9.2","@types/chai":"^4.2.11","@types/node":"^24.3.1","@types/mocha":"^7.0.2","better-sqlite3":"^12.11.1","@mikro-orm/core":"^7.0.0","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","reflect-metadata":"^0.2.2","@mikro-orm/sqlite":"^7.0.0","@types/chai-spies":"^1.0.1"},"peerDependencies":{"typeorm":"^0.2.0 || ^0.3.0 || ^1.0.0","objection":"^2.0.0 || ^3.0.0","sequelize":"^5.0.0 || ^6.0.0","@mikro-orm/core":"^6.0.0 || ^7.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true},"@mikro-orm/core":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sql_0.2.1_1791886980250_0.6549615986843216","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"_id":"@ucast/sql@0.3.0","bugs":{"url":"https://github.com/stalniy/ucast/issues"},"dist":{"shasum":"5779600ccbb54590a6c20ffb64307b7b263fd0d9","tarball":"https://registry.npmjs.org/@ucast/sql/-/sql-0.3.0.tgz","fileCount":56,"integrity":"sha512-wSwtVKW/ix04UqpJuJG4WKIfNe/IDuUz1hD0JDwZL3dQvpFa0XJCvtHJH/WFaSkGr+5jEpZ6KyQNmJIRyOW4iw==","signatures":[{"sig":"MEYCIQCyPsJV8FDvychruByOHWcMXhoSN4bTr+GxdOJAZUJ9zAIhAIYVm3p80QSsqOX+Wx92W89888i3eJ+/Zp3QeMzA032J","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCRlAqGfINVaYscx41/BmlbJWzG1BK6sV5YacYGBkt1PwIgWcr37lDPofydDXTsBjeYlyzkBA/IpI//ejFrtJQxk/I="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ucast%2fsql@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":253157},"main":"dist/cjs/index.js","name":"@ucast/sql","_from":"file:ucast-sql-0.3.0.tgz","author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"es2015":"dist/esm/index.mjs","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.mjs","require":"./dist/cjs/index.js"},"./typeorm":{"types":"./dist/types/lib/typeorm.d.ts","import":"./dist/esm/lib/typeorm.mjs","require":"./dist/cjs/lib/typeorm.js"},"./mikro-orm":{"types":"./dist/types/lib/mikro-orm.d.ts","import":"./dist/esm/lib/mikro-orm.mjs","require":"./dist/cjs/lib/mikro-orm.js"},"./objection":{"types":"./dist/types/lib/objection.d.ts","import":"./dist/esm/lib/objection.mjs","require":"./dist/cjs/lib/objection.js"},"./sequelize":{"types":"./dist/types/lib/sequelize.d.ts","import":"./dist/esm/lib/sequelize.mjs","require":"./dist/cjs/lib/sequelize.js"},"./drizzle-orm/v0.x":{"import":{"types":"./dist/types/lib/drizzle-orm/v0.x.d.mts","default":"./dist/esm/lib/drizzle-orm/v0.x.mjs"},"require":{"types":"./dist/types/lib/drizzle-orm/v0.x.d.cts","default":"./dist/cjs/lib/drizzle-orm/v0.x.js"}},"./drizzle-orm/v1.x":{"import":{"types":"./dist/types/lib/drizzle-orm/v1.x.d.mts","default":"./dist/esm/lib/drizzle-orm/v1.x.mjs"},"require":{"types":"./dist/types/lib/drizzle-orm/v1.x.d.cts","default":"./dist/cjs/lib/drizzle-orm/v1.x.js"}}},"license":"Apache-2.0","scripts":{"lint":"eslint --ext .js,.ts src/ spec/","test":"mocha -r ./node_modules/ts-node/register \"spec/**/*.spec.ts\"","build":"rm -rf dist/* && tsc -p tsconfig.build.json && tsdown -c tsdown.config.mjs","release":"npm run release.prepare && pnpm publish","coverage":"nyc -n src npm run test && nyc report --reporter=lcov","release.prepare":"npm run lint && npm test && NODE_ENV=production npm run build"},"typings":"dist/types/index.d.ts","version":"0.3.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"e513e440-8f3c-4e65-b8a4-d386297773b9"}},"homepage":"https://github.com/stalniy/ucast#readme","keywords":["sql","conditions","query","builder","ast"],"_resolved":"/tmp/77e496d88b7086384ba1eb9a8b64f833/ucast-sql-0.3.0.tgz","_integrity":"sha512-wSwtVKW/ix04UqpJuJG4WKIfNe/IDuUz1hD0JDwZL3dQvpFa0XJCvtHJH/WFaSkGr+5jEpZ6KyQNmJIRyOW4iw==","repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"_npmVersion":"11.19.0","description":"git@github.com:stalniy/ucast.git","directories":{},"maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"_nodeVersion":"24.21.0","dependencies":{"@ucast/core":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^18.0.0","chai":"^4.2.0","knex":"^3.1.0","mocha":"^8.0.1","sqlite3":"^6.0.1","ts-node":"^10.9.2","typeorm":"^1.0.0","objection":"^3.1.5","sequelize":"^6.37.7","chai-spies":"^1.0.0","typescript":"^5.9.2","@types/chai":"^4.2.11","@types/node":"^24.3.1","@types/mocha":"^7.0.2","better-sqlite3":"^12.11.1","drizzle-orm-v0":"npm:drizzle-orm@0.45.4","drizzle-orm-v1":"npm:drizzle-orm@1.0.0-rc.4","@mikro-orm/core":"^7.0.0","@types/bluebird":"^3.5.32","@types/validator":"^13.1.0","reflect-metadata":"^0.2.2","@mikro-orm/sqlite":"^7.0.0","@types/chai-spies":"^1.0.1"},"peerDependencies":{"typeorm":"^0.2.0 || ^0.3.0 || ^1.0.0","objection":"^2.0.0 || ^3.0.0","sequelize":"^5.0.0 || ^6.0.0","drizzle-orm":">=0.36.2 <1.0.0 || ^1.0.0-rc.1","@mikro-orm/core":"^6.0.0 || ^7.0.0"},"peerDependenciesMeta":{"typeorm":{"optional":true},"objection":{"optional":true},"sequelize":{"optional":true},"drizzle-orm":{"optional":true},"@mikro-orm/core":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sql_0.3.0_1792760108529_0.6986990200467182"}}},"time":{"created":"2020-08-18T15:38:05.663Z","modified":"2026-10-23T12:55:09.111Z","1.0.0-alpha.1":"2020-08-18T15:38:06.085Z","1.0.0-alpha.2":"2020-08-19T07:45:06.822Z","1.0.0-alpha.3":"2020-10-17T11:33:26.093Z","1.0.0-alpha.4":"2020-10-28T09:43:05.553Z","1.0.0-alpha.5":"2020-11-03T10:31:34.309Z","1.0.0-alpha.6":"2020-11-03T16:53:11.330Z","1.0.0-alpha.7":"2020-11-26T17:05:22.885Z","1.0.0-alpha.8":"2020-11-26T17:39:13.609Z","1.0.0-alpha.9":"2020-12-02T15:43:30.497Z","1.0.0-alpha.10":"2021-01-25T10:35:04.338Z","1.0.0-alpha.11":"2021-07-15T08:58:55.152Z","1.0.0-alpha.12":"2021-07-15T09:23:12.491Z","0.1.0":"2026-02-04T05:54:19.364Z","0.2.0":"2026-04-24T13:53:44.375Z","0.2.1":"2026-10-13T10:23:00.351Z","0.3.0":"2026-10-23T12:55:08.617Z"},"bugs":{"url":"https://github.com/stalniy/ucast/issues"},"author":{"name":"Sergii Stotskyi","email":"sergiy.stotskiy@gmail.com"},"license":"Apache-2.0","homepage":"https://github.com/stalniy/ucast#readme","keywords":["sql","conditions","query","builder","ast"],"repository":{"url":"git+https://github.com/stalniy/ucast.git","type":"git"},"description":"git@github.com:stalniy/ucast.git","maintainers":[{"name":"stalniy","email":"sergiy.stotskiy@gmail.com"}],"readme":"# UCAST SQL\n\n[![@ucast/sql NPM version](https://badge.fury.io/js/%40ucast%2Fsql.svg)](https://badge.fury.io/js/%40ucast%2Fsql)\n[![](https://img.shields.io/npm/dm/%40ucast%2Fsql.svg)](https://www.npmjs.com/package/%40ucast%2Fsql)\n\nThis package is a part of [ucast] ecosystem. It provides an interpreter that can translate ucast conditions into [SQL query](https://en.wikipedia.org/wiki/SQL).\n\n[ucast]: https://github.com/stalniy/ucast\n\n## Installation\n\n```sh\nnpm i @ucast/sql\n# or\nyarn add @ucast/sql\n# or\npnpm add @ucast/sql\n```\n\n## Getting Started\n\n### Interpret conditions AST\n\nIn order to interpret something, we need 2 things: interpreter and AST. It's really easy to create interpreter just pick operators you want to use or pass all of them:\n\n```js\nimport {\n  createSqlInterpreter,\n  eq,\n  lt,\n  lte,\n  allInterpreters\n} from '@ucast/sql';\n\nconst interpret = createSqlInterpreter({ eq, lt, lte });\n// or\nconst interpret = createSqlInterpreter(allInterpreters);\n```\n\n`interpret` is a function that takes 2 parameters:\n\n1. `condition`, the UCAST condition to interpret.\n2. `options`, SQL dialect options with optional `alias` and entity `metadata`.\n\nBy default, it returns `[sql, params]`: a SQL predicate and its bound values.\nThe caller adds the predicate to a query and passes the parameters to the database\nclient. Each call starts with fresh parameters and relation aliases.\n\nFor the sake of an example, we will create AST manually using `Condition` from `@ucast/core`:\n\n```js\nimport { CompoundCondition, FieldCondition } from '@ucast/core';\n\n// x > 5 && y < 10\nconst condition = new CompoundCondition('and', [\n  new FieldCondition('gt', 'x', 5),\n  new FieldCondition('lt', 'y', 10),\n]);\n```\n\nNow, we can combine these 2 together to get SQL condition:\n\n```js\nimport { CompoundCondition, FieldCondition } from '@ucast/core';\nimport { createSqlInterpreter, allInterpreters, pg } from '@ucast/sql';\n\n// x > 5 && y < 10\nconst condition = new CompoundCondition('and', [\n  new FieldCondition('gt', 'x', 5),\n  new FieldCondition('lt', 'y', 10),\n]);\nconst interpret = createSqlInterpreter(allInterpreters);\n\nconst [sql, replacements] = interpret(condition, {\n  ...pg\n})\n\nconsole.log(sql) // (\"x\" > $1 and \"y\" < $2)\nconsole.log(replacements) // [5, 10]\n```\n\n### Supported operators\n\n`allInterpreters` registers these condition operators:\n\n| Operator | SQL behavior |\n| --- | --- |\n| `eq`, `ne` | `=`, `<>`; `null` becomes `is null`, `is not null` |\n| `lt`, `lte`, `gt`, `gte` | `<`, `<=`, `>`, `>=` |\n| `exists` | `is not null` for a truthy value, `is null` otherwise |\n| `in` (also `within`), `nin` | `in(...)`, `not in(...)`, with one parameter per value |\n| `mod` | `mod(field, divisor) = remainder`, with both values bound |\n| `regex` | Dialect-specific regular expression comparison with the pattern bound |\n| `and`, `or` | Parenthesized conditions joined by `and` or `or` |\n| `not`, `nor` | Negated groups joined by `and` or `or`, respectively |\n| `some`, `none`, `every` | Correlated relation subqueries |\n\nThe exported function for `in` is named `within`. The relation functions are\nexported as `someRelation`, `noneRelation`, and `everyRelation`; `allInterpreters`\nregisters them under `some`, `none`, and `every`.\n\n### Map model properties to database columns\n\nUse `metadata.toColumnName` to translate a model property into a column name.\nReturn an unescaped name; the composer escapes it and applies the query `alias`.\nWithout this callback, field names are used as column names directly.\n\n```ts\nconst columns: Record<string, string> = { displayName: 'display_name' };\nconst condition = new FieldCondition('eq', 'displayName', 'Alice');\n\nconst [sql, params] = interpret(condition, {\n  ...pg,\n  alias: 'users',\n  metadata: {\n    toColumnName: name => columns[name] ?? name,\n  },\n});\n\n// sql: '\"users\".\"display_name\" = $1'\n// params: ['Alice']\n```\n\nEach relation has its own metadata. Conditions use the related entity's mapping;\njoin fields already identify physical database columns.\n\n### Conditions on related tables\n\nUse `some`, `none`, and `every` to express conditions against related records:\n\n* `some` checks that at least one related record matches the condition.\n* `none` checks that no related records match the condition.\n* `every` checks that no related record makes the negated condition true.\n\n`every` uses SQL negation, including SQL's usual NULL behavior. Both `none` and\n`every` match when there are no related records.\n\nWhen using the default composer, provide `metadata.resolveRelation` to describe\nhow the current table connects to the related table. Use an `alias` that matches\nthe outer query so the subquery can refer to its columns unambiguously.\n\n```js\nimport { FieldCondition } from '@ucast/core';\nimport { allInterpreters, createSqlInterpreter, pg } from '@ucast/sql';\n\nconst interpret = createSqlInterpreter(allInterpreters);\nconst condition = new FieldCondition(\n  'some',\n  'projects',\n  new FieldCondition('eq', 'active', true),\n);\n\nconst [sql, params] = interpret(condition, {\n  ...pg,\n  alias: 'users',\n  metadata: {\n    resolveRelation(name) {\n      if (name !== 'projects') {\n        return undefined;\n      }\n\n      return {\n        ownField: 'id',\n        relatedField: 'user_id',\n        relatedTable: 'projects',\n        metadata: {},\n      };\n    },\n  },\n});\n\nconsole.log(sql);\n// EXISTS (SELECT 1 FROM \"projects\" as \"projects_ucast0\" WHERE \"users\".\"id\" = \"projects_ucast0\".\"user_id\" AND \"projects_ucast0\".\"active\" = $1)\nconsole.log(params); // [true]\n```\n\nRelation metadata contains:\n\n* `ownField`: the join field on the current entity.\n* `relatedField`: the join field on the related entity.\n* `relatedTable`: the related table name.\n* `metadata`: the related entity's column mapping and relation resolver. Use `{}`\n  when neither is needed.\n\nNested relations use the related entity's `metadata.resolveRelation`. All scopes\nshare the root parameter sequence, and generated relation aliases use a counter\nshared across the interpretation. An unresolved relation throws an error.\n\nJoin fields are physical database column names and bypass property mapping.\nFor composite keys, provide matching arrays in `ownField` and `relatedField`.\nMany-to-many metadata also supplies `through: { table, ownRelationField,\nrelatedRelationField }`, whose fields can likewise be matching arrays.\n\nRelation metadata describes joins and column mappings. For domain-specific SQL,\nprovide a custom composer and implement its `relation` handler.\n\n### SQL composers\n\n`createSqlInterpreter` creates a composer for each interpretation call. The default\nstring composer returns `[sql, params]`. To use another fragment representation or\nresult shape, pass `createSqlComposer` in the interpreter options:\n\n```ts\nconst interpret = createSqlInterpreter<SQL, SQL>(allInterpreters, {\n  createSqlComposer: options => new DrizzleComposer(options),\n});\nconst result = interpret(condition, pg);\n```\n\n`SQL`, and `DrizzleComposer` above represent your own types and\nimplementation. The factory receives the SQL query options and returns a\n`SqlComposer<Fragment>`, which provides:\n\n| Helper | Purpose |\n| --- | --- |\n| `field(name)` | Map, escape, and qualify a field |\n| `param(conditionOrValue)` | Bind a condition's value or a raw value |\n| `manyParams(conditionOrValues)` | Bind an array of values |\n| `sql` | Compose fragments with a tagged template |\n| `raw(sql)` | Create a fragment from trusted SQL syntax |\n| `join(fragments, separator)` | Join fragments using a fragment separator |\n| `regexp(ignoreCase)` | Return the dialect's regex operator and comparator |\n| `relation(name)` | Return a related `composer` and `subquery(predicate)` |\n\nTo return a different result shape, implement the optional\n`result(fragment)` method on the composer and specify its return type as the\nsecond generic argument. Without `result`, the interpreter returns the fragment\ndirectly.\n\n`createDefaultSqlComposer(options)` is exported for extending\nthe built-in string composer. A custom `relation` handler can create a child with\n`createDefaultSqlComposer(childOptions, parentComposer)` to share parameter binding.\nThe interpreter compiles the related predicate before calling `subquery(predicate)`.\nPlace that predicate before additional bound filters in the generated SQL so\npositional placeholders follow parameter order.\n\n### Custom interpreter\n\nTo restrict supported operators, pass only the desired functions:\n\n```js\nimport { FieldCondition } from '@ucast/core';\nimport { createSqlInterpreter, eq, lt, gt, pg } from '@ucast/sql';\n\nconst interpret = createSqlInterpreter({ eq, lt, gt });\nconst condition = new FieldCondition('eq', 'x', true);\n\ninterpret(condition, pg);\n```\n\nTo add a custom operator, create a function that receives a condition and a\ncomposer and returns a SQL fragment. A third argument provides\n`interpret(condition, composer)` for recursively interpreting child conditions.\nLet's create an operator that adds a condition on `publishedAt`:\n\n```ts\nimport { DocumentCondition } from '@ucast/core';\nimport {\n  type SqlOperator,\n  createSqlInterpreter,\n  allInterpreters,\n  pg,\n} from '@ucast/sql';\n\nconst isActive: SqlOperator<DocumentCondition<boolean>> = (node, { sql, field, raw, param }) => {\n  const operator = node.value ? ' >= ' : ' < ';\n  return sql`${field('publishedAt')}${raw(operator)}${param(new Date())}`;\n};\nconst interpret = createSqlInterpreter({\n  ...allInterpreters,\n  isActive,\n});\nconst condition = new DocumentCondition('isActive', true);\nconst [sql, params] = interpret(condition, pg);\n\nconsole.log(sql); // \"publishedAt\" >= $1\nconsole.log(params); // [new Date()]\n```\n\nUse `param` for values and `field` for identifiers; reserve `raw` for trusted SQL\nsyntax. If condition names differ from registered operator names, pass\n`getInterpreterName(condition, options)` in the `createSqlInterpreter` options.\n\n## Integrations\n\nThis library provides sub-modules that allows quickly integrate SQL interpreter with popular ORMs:\n\n### Drizzle ORM\n\nInstall `drizzle-orm` alongside `@ucast/sql`:\n\n```sh\nnpm i @ucast/sql 'drizzle-orm'\n```\n\nSupported versions are **>=0.36.2 <1.0.0** and **^1.0.0-rc.1**. Drizzle\nis an optional peer dependency: importing the SQL root or another adapter does not load it.\n\nUse:\n- `@ucast/sql/drizzle-orm/v0.x` for supported 0.x versions\n- `@ucast/sql/drizzle-orm/v1.x` for supported 1.0.0\n\nEach entry supports ESM, CommonJS and TypeScript. **There is no automatic version selection.**\n\nSupported dialects:\n- PostgreSQL\n- MySQL\n- SQLite\n\nCreate an interpreter during application bootstrap, then pass a condition and a table's schema key to interpret it:\n\n```ts\nimport { createDrizzleInterpreter } from '@ucast/sql/drizzle-orm/v0.x';\nimport { FieldCondition } from '@ucast/core';\nimport { and, eq } from 'drizzle-orm';\nimport { integer, sqliteTable, text } from 'drizzle-orm/sqlite-core';\n\nconst authors = sqliteTable('authors', {\n  id: integer('id').primaryKey(),\n  displayName: text('display_name').notNull(),\n});\nconst interpret = createDrizzleInterpreter({ schema: { authors } });\nconst predicate = interpret(\n  new FieldCondition('eq', 'displayName', 'Ada'),\n  'authors'\n);\n\n// Use your configured Drizzle instance to construct and execute the query.\ndb.select().from(authors).where(and(eq(authors.id, 1), predicate));\n```\n\n`interpret(condition, tableKey, options?)` synchronously returns a Drizzle `SQL` predicate. Use it in `SELECT`, `UPDATE`, or `DELETE` queries, or combine it with native Drizzle conditions using `and()` and `or()`. You own query construction and execution; Drizzle renders the predicate and binds its parameters.\n\nTable keys are inferred from the schema. Unknown table keys and unsupported table dialects throw when interpreting a condition.\n\n#### Aliases and column names\n\nRegister original tables in the schema. Supply query aliases through the third argument, using the same alias in your Drizzle query:\n\n```ts\nimport { alias } from 'drizzle-orm/sqlite-core';\n\nconst u = alias(authors, 'u');\nconst predicateForAlias = interpret(\n  new FieldCondition('eq', 'displayName', 'Ada'),\n  'authors',\n  { alias: 'u' },\n);\ndb.select().from(u).where(predicateForAlias);\n```\n\nConditions use table property names: `displayName` above resolves to\n`display_name`. Native column references preserve Drizzle's naming, schema\nqualification, casing, and input encoders, including custom encoders. Unknown properties remain escaped literal identifiers; dots in field names do not introduce a relation path.\n\n#### Relations\n\nRelation operators (`some`/`is`, `none`/`isNot`, and `every`) resolve native Drizzle relation declarations and produce correlated `EXISTS`/`NOT EXISTS` subqueries. Include the tables and their declarations in the factory's schema:\n\n```ts\nimport { relations } from 'drizzle-orm';\n\nconst posts = sqliteTable('posts', {\n  id: integer('id').primaryKey(),\n  authorId: integer('author_id').notNull(),\n  title: text('title').notNull(),\n});\nconst authorRelations = relations(authors, ({ many }) => ({\n  posts: many(posts),\n}));\nconst postRelations = relations(posts, ({ one }) => ({\n  author: one(authors, {\n    fields: [posts.authorId],\n    references: [authors.id],\n  }),\n}));\nconst schema = { authors, posts, authorRelations, postRelations };\nconst interpret = createDrizzleInterpreter({ schema });\n\nconst condition = new FieldCondition('some', 'posts',\n  new FieldCondition('eq', 'title', 'Getting started'));\ndb.select().from(authors).where(interpret(condition, 'authors'));\n```\n\nHere, Drizzle infers the `authors.posts` join from `posts.author`. Direct joins, inferred inverse joins, composite keys, named self relations, and nestedrelations are supported. Each nested condition uses the related table's columns and encoders.\n\n| Operator | Meaning |\n| --- | --- |\n| `some` | At least one related row matches the nested condition |\n| `none` | No related row matches the nested condition |\n| `every` | No related row satisfies the SQL negation of the nested condition |\n\n`none` and `every` match parents without related rows. `every` preserves SQL's usual NULL behavior.\n\nRelations are normalized and validated once at interpreter creation. Register all tables referenced by your relation declarations, including declarations you do not use in a condition. Missing target tables, ambiguous or incomplete joins, and cross-dialect relations fail at startup. Unknown relation names in conditions fail during interpretation.\n\nExpress nested relations with nested condition nodes. For example, this follows `authors.posts.author`:\n\n```ts\nconst hasPostByAda = new FieldCondition('some', 'posts',\n  new FieldCondition('some', 'author',\n    new FieldCondition('eq', 'displayName', 'Ada')));\ndb.select().from(authors).where(interpret(hasPostByAda, 'authors'));\n```\n\nDrizzle 0.x models many-to-many relations through a junction table. Register the junction table and its relation declarations, then traverse both declared steps with nested conditions in the same way. The interpreter does not invent a direct many-to-many relation.\n\n#### Operators and values\n\nThe factory uses all [supported operators](#supported-operators) by default.\nPass an optional second argument to select or extend the interpreter set. These\noperators come from `@ucast/sql`:\n\n```ts\nimport { eq , lt } from '@ucast/sql';\n\nconst interpretSelected = createDrizzleInterpreter(\n  { schema: { authors } },\n  { eq, lt },\n);\n```\n\nValues are bound parameters. Comparisons and membership conditions use the\nresolved column's encoder; regular-expression patterns and modulo operands do not. Direct Drizzle `SQL` objects as condition values are rejected because Drizzle would otherwise render them as executable syntax. Use native Drizzle predicates or custom interpreters to compose SQL expressions.\n\n#### Drizzle 1.x relation declarations\n\nUse the matching entry and the release candidate's native `defineRelations()` declarations:\n\n```ts\nimport { createDrizzleInterpreter } from '@ucast/sql/drizzle-orm/v1.x';\nimport { defineRelations } from 'drizzle-orm';\n\nconst relations = defineRelations({ authors, posts }, r => ({\n  authors: {\n    posts: r.many.posts({ from: r.authors.id, to: r.posts.authorId }),\n    publishedPosts: r.many.posts({\n      from: r.authors.id,\n      to: r.posts.authorId,\n      where: { title: { ne: 'Draft' } },\n    }),\n  },\n  posts: {\n    author: r.one.authors({ from: r.posts.authorId, to: r.authors.id })\n  },\n}));\nconst interpret = createDrizzleInterpreter({ schema: { authors, posts, relations } });\n```\n\nNative 1.x `through` relations are also supported. For example, with a declared `authorRoles` junction, use `r.authors.id.through(r.authorRoles.authorId)` as `from` and `r.roles.id.through(r.authorRoles.roleId)` as `to`.\nPredefined relation filters restrict the row set for all relation operators:\n`every` negates only the child condition. Rows outside the declared filter do not become counterexamples. The interpreter delegates join/filter construction to Drizzle's native `relationToSQL`.\n\nDrizzle 0.x applies casing when rendering a predicate; the same predicate can be rendered with different dialect casing settings. In 1.0.0 release candidates use native table\nconstruction casing, such as `sqliteTableCreator(name => name, 'snake_case')`.\nThe interpreter accepts neither a casing nor a dialect option.\n\n### [Sequelize](https://sequelize.org/)\n\nFor custom relation SQL, pass `{ createSqlComposer }` as the second argument to\n`createSequelizeInterpreter` and implement the composer's `relation` handler.\n\n```js\nimport { interpret } from '@ucast/sql/sequelize';\nimport { CompoundCondition, FieldCondition } from '@ucast/core';\nimport { Model, Sequelize, DataTypes } from 'sequelize';\n\nconst sequelize = new Sequelize('sqlite::memory:');\n\nclass User extends Model {}\n\nUser.init({\n  name: { type: DataTypes.STRING },\n  blocked: { type: DataTypes.BOOLEAN },\n  lastLoggedIn: { type: DataTypes.DATE },\n}, { sequelize });\n\nconst condition = new CompoundCondition('and', [\n  new FieldCondition('eq', 'blocked', false),\n  new FieldCondition('lt', 'lastLoggedIn', new Date(Date.now() - 24 * 3600 * 1000)),\n]);\n\nconst queryOptions = interpret(condition, User, { alias: User.name });\n// Pass both the SQL literal and its bound replacements to Sequelize.\nconst users = await User.findAll(queryOptions);\n```\n\n`interpret(condition, Model, options?)` returns `{ where, replacements }`.\nThe optional third argument accepts `alias` and `replacementMode` (`'numeric'`,\nthe default positional `?` placeholders, or `'named'`). Named placeholders use\nan interpreter-local call counter; consumers combining predicates own replacement\nordering and name collisions across interpreter instances.\nThe default alias is `Model.tableName`; pass the query's model alias explicitly\nwhen it differs, as with `User.findAll()` above.\n\n### [Objection.js](https://vincit.github.io/objection.js/)\n\nThe adapter translates model properties and relations with\n`objectionToSqlMetadata(Model)`. To customize that mapping, pass\n`{ createSqlComposer }` as the second argument to `createObjectionInterpreter`.\nThe factory receives query options including the model's `SqlEntityMetadata`;\npass customized metadata to `createDefaultSqlComposer`. For custom relation SQL,\nimplement the composer's `relation` handler.\n\n```js\nimport { interpret } from '@ucast/sql/objection';\nimport { CompoundCondition, FieldCondition } from '@ucast/core';\nimport { Model } from 'objection';\nimport Knex from 'knex';\n\nModel.knex(Knex({ client: 'pg' }));\n\nclass User extends Model {\n  static tableName = 'users';\n}\n\nconst condition = new CompoundCondition('and', [\n  new FieldCondition('eq', 'blocked', false),\n  new FieldCondition('lt', 'lastLoggedIn', Date.now() - 24 * 3600 * 1000),\n]);\n\n// the next code produces:\n// User.query()\n//   .where('blocked', false)\n//   .where('lastLoggedIn', '<', Date.now() - 24 * 3600 * 1000)\nconst query = User.query().where(interpret(condition, User));\n```\n\n`interpret(condition, Model, options?)` returns an Objection `RawBuilder` with\nbound values. Pass it to `.where()` or `.andWhere()` to compose it with other\nconditions. The model supplies the dialect and property/relation metadata.\nFor aliased queries, pass the same alias explicitly:\n\n```js\nconst query = User.query().alias('u').where(interpret(condition, User, { alias: 'u' }));\n```\n\n### [MikroORM](https://mikro-orm.io/)\n\nThis example uses the SQLite driver package, `@mikro-orm/sqlite`.\n\n```ts\nimport { createMikroORMInterpreter } from '@ucast/sql/mikro-orm';\nimport { CompoundCondition, FieldCondition } from '@ucast/core';\nimport { EntitySchema, MikroORM } from '@mikro-orm/sqlite';\n\nclass User {\n  id!: number;\n  blocked!: boolean;\n  name!: string;\n  lastLoggedIn = new Date();\n}\n\nconst userSchema = new EntitySchema({\n  class: User,\n  properties: {\n    id: { type: 'number', primary: true },\n    blocked: { type: 'boolean' },\n    name: { type: 'string' },\n    lastLoggedIn: { type: 'Date' },\n  },\n});\n\nconst condition = new CompoundCondition('and', [\n  new FieldCondition('eq', 'blocked', false),\n  new FieldCondition('lt', 'lastLoggedIn', new Date(Date.now() - 24 * 3600 * 1000)),\n]);\n\nasync function main() {\n  const orm = await MikroORM.init({\n    entities: [userSchema],\n    dbName: ':memory:',\n  });\n\n  const interpret = createMikroORMInterpreter({\n    metadata: orm.getMetadata(),\n    platform: orm.em.getPlatform(),\n  });\n  const em = orm.em.fork();\n\n  // Compose the raw condition with a native filter and a query alias.\n  const qb = em.createQueryBuilder(User, 'u').select('*')\n    .where({ name: 'Alice' })\n    .andWhere(interpret(condition, User));\n  console.log(qb.getQuery(), qb.getParams());\n  await orm.close();\n}\n\nmain().catch(console.error);\n```\n\n`createMikroORMInterpreter({ metadata, platform }, operators?)` configures entity\nlookup and the SQL dialect once. Operators default to `allInterpreters`; pass\n`createSqlComposer` in the configuration to customize SQL composition.\n\n`interpret(condition, Entity)` accepts a MikroORM entity class or entity schema\nand returns a raw filter object containing the predicate and its bound values.\nUse it with `em.find(User, interpret(condition, User))`, compose it with native\nfilters using `$and`/`$or`, or pass it to a query\nbuilder's `.where()`/`.andWhere()`. MikroORM supplies the root alias automatically,\nincluding for correlated relation subqueries. Create a fresh condition for each\nquery because MikroORM consumes raw condition keys.\n\nThis replaces the previous query-builder argument and return value. The standalone\n`interpret` export is removed; create an interpreter with your ORM's metadata and\nplatform instead.\n\n### [TypeORM](https://typeorm.io/)\n\n`interpret(condition)` returns a native TypeORM `Brackets` predicate. Pass it to\nquery-builder `where`, `andWhere`, or `orWhere` methods. This replaces the previous\n`interpret(condition, queryBuilder)` interface, which modified the builder.\n\nTranslation happens when the predicate is added to a query. The query builder\nprovides its alias, entity metadata, and database dialect; no metadata storage\nneeds to be configured on `createTypeOrmInterpreter`. Each application generates\nfresh parameter names of the form `:ucast_<call>_<index>`, including across\ninterpreter instances. Predicates can be reused with different query aliases and\ncombined without overwriting each other's parameters. Reserve the `ucast_`\nparameter prefix for the adapter.\n\nThis integration supports query builders, not repository `find` options.\n\nThe adapter translates entity metadata with `typeormToSqlMetadata(metadata)`.\nPass `createSqlComposer` to `createTypeOrmInterpreter` and provide custom\n`SqlEntityMetadata` to `createDefaultSqlComposer` to extend that mapping. Composite relation joins\nand owning or inverse many-to-many joins use their physical database columns.\n\nThis example uses the `better-sqlite3` driver package.\n\n```ts\nimport { interpret } from '@ucast/sql/typeorm';\nimport { CompoundCondition, FieldCondition } from '@ucast/core';\nimport { DataSource, EntitySchema } from 'typeorm';\n\nclass User {\n  id!: number;\n  blocked!: boolean;\n  name!: string;\n  lastLoggedIn = new Date();\n}\n\nconst userSchema = new EntitySchema({\n  name: 'User',\n  target: User,\n  columns: {\n    id: { type: Number, primary: true, generated: true },\n    blocked: { type: Boolean },\n    name: { type: String },\n    lastLoggedIn: { type: Date },\n  },\n});\n\nconst condition = new CompoundCondition('and', [\n  new FieldCondition('eq', 'blocked', false),\n  new FieldCondition('lt', 'lastLoggedIn', new Date(Date.now() - 24 * 3600 * 1000)),\n]);\n\nasync function main() {\n  const conn = await new DataSource({\n    type: 'better-sqlite3',\n    database: ':memory:',\n    entities: [userSchema]\n  }).initialize();\n\n  const qb = conn.createQueryBuilder(User, 'u')\n    .where('u.name = :name', { name: 'Alice' })\n    .andWhere(interpret(condition));\n  console.log(qb.getQuery(), qb.getParameters());\n  await conn.destroy();\n}\n\nmain().catch(console.error);\n```\n\n## TypeScript Support\n\nWritten in TypeScript and supports type inference for supported ORMs.\n\n## Want to help?\n\nWant to file a bug, contribute some code, or improve documentation? Excellent! Read up on guidelines for [contributing]\n\n## License\n\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\n[contributing]: https://github.com/stalniy/ucast/blob/main/CONTRIBUTING.md\n","readmeFilename":"README.md"}