slonik-sql-tag-raw
slonik-sql-tag-raw copied to clipboard
Slonik SQL tag for constructing dynamic queries.
Bumps [undici](https://github.com/nodejs/undici) from 5.12.0 to 5.19.1. Release notes Sourced from undici's releases. v5.19.1 ⚠️ Security Release ⚠️ Regular Expression Denial of Service in Headers with CVE-2023-24807 CRLF Injection in Nodejs...
Removes [cacheable-request](https://github.com/jaredwray/cacheable-request). It's no longer used after updating ancestor dependency [ava](https://github.com/avajs/ava). These dependencies need to be updated together. Removes `cacheable-request` Updates `ava` from 3.15.0 to 5.2.0 Release notes Sourced from...
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. Commits 2449650 Update mocha 560b2d8 Don't use regex to trim whitespace b1bdb92 Remove linting package zoo c20dc7e Cache 308 See full diff in compare...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.4.7 to 19.0.3. Release notes Sourced from semantic-release's releases. v19.0.3 19.0.3 (2022-06-09) Bug Fixes log-repo: use the original form of the repo url to remove the need...
Removes [got](https://github.com/sindresorhus/got). It's no longer used after updating ancestor dependency [ava](https://github.com/avajs/ava). These dependencies need to be updated together. Removes `got` Updates `ava` from 3.15.0 to 5.0.1 Release notes Sourced from...
I am attempting to update to `slonik-sql-tag-raq` v1.1.4 (from v1.1.3) & `slonik` v28.1.0 (from v27.1.1), but am facing the following error: ```cmd UnexpectedStateError: Expected token to include "type" property. at...
Repro: ```js let {createPool, sql} = require('slonik') const {raw} = require('slonik-sql-tag-raw') let slonik = createPool('postgresql://postgres:postgres@localhost:5432/postgres') const queryFromFileSystem = ` select $$ this is just a string, it should be able...
```ts raw(`date_part('hour', "match"."start_date") >= date_part('hour', TIMESTAMP '$1')`, [new Date()]) ``` ```"date/time field value out of range: \"$14\""```
`pg-promise` documentation features a concept of [query files](https://github.com/vitaly-t/pg-promise#query-files). This is effectively a helper function that is used to prepare a statement using `pg-promise`, e.g. ```js const path = require('path'); //...