@valbuild/core 0.60.20 → 0.60.22

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.
@@ -121,6 +121,9 @@ export type ApiPostValidationErrorResponse = {
121
121
  }>;
122
122
  };
123
123
  declare const Internal: {
124
+ VERSION: {
125
+ core: string | null;
126
+ };
124
127
  convertFileSource: typeof convertFileSource;
125
128
  getSchema: typeof getSchema;
126
129
  getValPath: typeof getValPath;
@@ -1750,6 +1750,16 @@ function _parse() {
1750
1750
 
1751
1751
  var FATAL_ERROR_TYPES = ["no-schema", "no-source", "invalid-id", "no-module", "invalid-patch"];
1752
1752
  var Internal = {
1753
+ VERSION: {
1754
+ core: function () {
1755
+ try {
1756
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
1757
+ return require("../package.json").version;
1758
+ } catch (_unused) {
1759
+ return null;
1760
+ }
1761
+ }()
1762
+ },
1753
1763
  convertFileSource: index.convertFileSource,
1754
1764
  getSchema: index.getSchema,
1755
1765
  getValPath: index.getValPath,
@@ -1750,6 +1750,16 @@ function _parse() {
1750
1750
 
1751
1751
  var FATAL_ERROR_TYPES = ["no-schema", "no-source", "invalid-id", "no-module", "invalid-patch"];
1752
1752
  var Internal = {
1753
+ VERSION: {
1754
+ core: function () {
1755
+ try {
1756
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
1757
+ return require("../package.json").version;
1758
+ } catch (_unused) {
1759
+ return null;
1760
+ }
1761
+ }()
1762
+ },
1753
1763
  convertFileSource: index.convertFileSource,
1754
1764
  getSchema: index.getSchema,
1755
1765
  getValPath: index.getValPath,
@@ -1748,6 +1748,16 @@ function _parse() {
1748
1748
 
1749
1749
  var FATAL_ERROR_TYPES = ["no-schema", "no-source", "invalid-id", "no-module", "invalid-patch"];
1750
1750
  var Internal = {
1751
+ VERSION: {
1752
+ core: function () {
1753
+ try {
1754
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
1755
+ return require("../package.json").version;
1756
+ } catch (_unused) {
1757
+ return null;
1758
+ }
1759
+ }()
1760
+ },
1751
1761
  convertFileSource: convertFileSource,
1752
1762
  getSchema: getSchema,
1753
1763
  getValPath: getValPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/core",
3
- "version": "0.60.20",
3
+ "version": "0.60.22",
4
4
  "private": false,
5
5
  "description": "Val - supercharged hard-coded content",
6
6
  "scripts": {