@platformatic/sql-mapper 0.44.0 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/errors.js +0 -2
  2. package/package.json +1 -1
package/lib/errors.js CHANGED
@@ -4,8 +4,6 @@ const createError = require('@fastify/error')
4
4
 
5
5
  const ERROR_PREFIX = 'PLT_SQL_MAPPER'
6
6
 
7
- // We need to ignore this because some of the errors are actually not thrown
8
- // in tests (but coverage is still 100% because in "ignored" code).
9
7
  module.exports = {
10
8
  CannotFindEntityError: createError(`${ERROR_PREFIX}_CANNOT_FIND_ENTITY`, 'Cannot find entity %s'),
11
9
  SpecifyProtocolError: createError(`${ERROR_PREFIX}_SPECIFY_PROTOCOLS`, 'You must specify either postgres, mysql or sqlite as protocols'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/sql-mapper",
3
- "version": "0.44.0",
3
+ "version": "0.45.0",
4
4
  "description": "A data mapper utility for SQL databases",
5
5
  "main": "mapper.js",
6
6
  "types": "mapper.d.ts",