@ninetailed/experience.js-utils 2.2.11 → 3.0.0-beta.13
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/index.esm.js +1 -1
- package/index.umd.js +5 -5
- package/package.json +7 -8
package/index.esm.js
CHANGED
package/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@ninetailed/experience.js'), require('zod')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@ninetailed/experience.js', 'zod'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.UtilsJavascript = {}, global.
|
|
5
|
-
})(this, (function (exports,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@ninetailed/experience.js-shared'), require('zod')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@ninetailed/experience.js-shared', 'zod'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.UtilsJavascript = {}, global.experience_jsShared, global.zod));
|
|
5
|
+
})(this, (function (exports, experience_jsShared, zod) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/*! *****************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
var parsedExperience = Experience.safeParse(experience);
|
|
142
142
|
|
|
143
143
|
if (!parsedExperience.success) {
|
|
144
|
-
|
|
144
|
+
experience_jsShared.logger.warn('[Ninetailed ExperienceMapper]', 'Error parsing experience', parsedExperience.error.format());
|
|
145
145
|
throw new Error("[Ninetailed ExperienceMapper] The Experience Input is not valid. Please filter data first with \"ExperienceMapper.isExperienceEntry\".\n".concat(JSON.stringify(parsedExperience.error.format(), null, 2)));
|
|
146
146
|
}
|
|
147
147
|
|
package/package.json
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ninetailed/experience.js-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-beta.13",
|
|
4
4
|
"main": "./index.umd.js",
|
|
5
5
|
"module": "./index.esm.js",
|
|
6
6
|
"typings": "./index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@ninetailed/experience.js": "
|
|
9
|
-
"
|
|
10
|
-
"@ninetailed/experience.js-shared": "2.2.11",
|
|
11
|
-
"uuid": "^8.3.2",
|
|
8
|
+
"@ninetailed/experience.js": "3.0.0-beta.13",
|
|
9
|
+
"@ninetailed/experience.js-shared": "3.0.0-beta.13",
|
|
12
10
|
"ts-toolbelt": "^9.6.0",
|
|
11
|
+
"diary": "^0.3.1",
|
|
12
|
+
"zod": "^3.18.0",
|
|
13
13
|
"locale-enum": "^1.1.1",
|
|
14
14
|
"i18n-iso-countries": "^7.3.0",
|
|
15
|
+
"analytics": "^0.8.0",
|
|
15
16
|
"lodash": "^4.17.21",
|
|
16
|
-
"murmurhash-js": "^1.0.0"
|
|
17
|
-
"diary": "^0.3.1",
|
|
18
|
-
"zod": "^3.18.0"
|
|
17
|
+
"murmurhash-js": "^1.0.0"
|
|
19
18
|
},
|
|
20
19
|
"peerDependencies": {}
|
|
21
20
|
}
|