@domql/report 2.3.117 → 2.4.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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2016 symbo.ls
3
+ Copyright (c) 2023 symbo.ls
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/cjs/index.js CHANGED
@@ -67,6 +67,10 @@ const ERRORS_REGISTRY = {
67
67
  HTMLInvalidText: {
68
68
  title: "Text string is invalid",
69
69
  description: "Please pass a valid string to apply text to DOM node"
70
+ },
71
+ ElementOnStateIsNotDefined: {
72
+ title: "Element on state is not defined",
73
+ description: "Please check the element object"
70
74
  }
71
75
  }
72
76
  };
package/index.js CHANGED
@@ -45,6 +45,10 @@ export const ERRORS_REGISTRY = {
45
45
  HTMLInvalidText: {
46
46
  title: 'Text string is invalid',
47
47
  description: 'Please pass a valid string to apply text to DOM node'
48
+ },
49
+ ElementOnStateIsNotDefined: {
50
+ title: 'Element on state is not defined',
51
+ description: 'Please check the element object'
48
52
  }
49
53
  }
50
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domql/report",
3
- "version": "2.3.117",
3
+ "version": "2.4.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "dist/esm/index.js",
@@ -14,12 +14,12 @@
14
14
  "dist"
15
15
  ],
16
16
  "scripts": {
17
- "copy:package:cjs": "cp ../../.build/package-cjs.json dist/cjs/package.json",
17
+ "copy:package:cjs": "cp ../../build/package-cjs.json dist/cjs/package.json",
18
18
  "build:esm": "npx esbuild *.js --target=es2019 --format=esm --outdir=dist/esm",
19
19
  "build:cjs": "npx esbuild *.js --target=node16 --format=cjs --outdir=dist/cjs",
20
20
  "build:iife": "npx esbuild *.js --target=node16 --format=iife --outdir=dist/iife",
21
21
  "build": "yarn build:cjs",
22
22
  "prepublish": "rimraf -I dist && yarn build && yarn copy:package:cjs"
23
23
  },
24
- "gitHead": "a6da9bf1846e4a1e26017978cf52112b9d61d484"
24
+ "gitHead": "d01a7237a0065a5a439a03062064076c5fdc91b7"
25
25
  }