@player-ui/common-types-plugin 0.7.0 → 0.7.1-next.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/dist/index.cjs.js CHANGED
@@ -379,13 +379,11 @@ const formatAsEnum = (value, acceptedValues, options) => {
379
379
  if (overlap === 0) {
380
380
  return validCompletions;
381
381
  }
382
- return [
383
- ...validCompletions,
384
- {
385
- count: overlap,
386
- target: validValue
387
- }
388
- ];
382
+ validCompletions.push({
383
+ count: overlap,
384
+ target: validValue
385
+ });
386
+ return validCompletions;
389
387
  }, []).sort((e) => e.count);
390
388
  if (autoCompletionsByOverlapCount.length === 0) {
391
389
  return void 0;
package/dist/index.esm.js CHANGED
@@ -375,13 +375,11 @@ const formatAsEnum = (value, acceptedValues, options) => {
375
375
  if (overlap === 0) {
376
376
  return validCompletions;
377
377
  }
378
- return [
379
- ...validCompletions,
380
- {
381
- count: overlap,
382
- target: validValue
383
- }
384
- ];
378
+ validCompletions.push({
379
+ count: overlap,
380
+ target: validValue
381
+ });
382
+ return validCompletions;
385
383
  }, []).sort((e) => e.count);
386
384
  if (autoCompletionsByOverlapCount.length === 0) {
387
385
  return void 0;
@@ -1,5 +1,5 @@
1
1
  {
2
- "source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2875/execroot/player/plugins/common-types/core/src/data-types/types.ts",
2
+ "source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
3
3
  "name": "BooleanType",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2875/execroot/player/plugins/common-types/core/src/data-types/types.ts",
2
+ "source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
3
3
  "name": "CollectionType",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2875/execroot/player/plugins/common-types/core/src/data-types/types.ts",
2
+ "source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
3
3
  "name": "DateType",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2875/execroot/player/plugins/common-types/core/src/data-types/types.ts",
2
+ "source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
3
3
  "name": "IntegerNNType",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2875/execroot/player/plugins/common-types/core/src/data-types/types.ts",
2
+ "source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
3
3
  "name": "IntegerPosType",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2875/execroot/player/plugins/common-types/core/src/data-types/types.ts",
2
+ "source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
3
3
  "name": "IntegerType",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2875/execroot/player/plugins/common-types/core/src/data-types/types.ts",
2
+ "source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
3
3
  "name": "PhoneType",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2875/execroot/player/plugins/common-types/core/src/data-types/types.ts",
2
+ "source": "/home/ketan/.cache/bazel/_bazel_ketan/335c1bde9f448dee96a46a6803c16636/sandbox/linux-sandbox/123/execroot/player/plugins/common-types/core/src/data-types/types.ts",
3
3
  "name": "StringType",
4
4
  "type": "object",
5
5
  "properties": {
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@player-ui/common-types-plugin",
3
- "version": "0.7.0",
3
+ "version": "0.7.1-next.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org"
7
7
  },
8
8
  "peerDependencies": {
9
- "@player-ui/player": "0.7.0"
9
+ "@player-ui/player": "0.7.1-next.0"
10
10
  },
11
11
  "dependencies": {
12
- "@player-ui/types-provider-plugin": "0.7.0",
12
+ "@player-ui/types-provider-plugin": "0.7.1-next.0",
13
13
  "@babel/runtime": "7.15.4"
14
14
  },
15
15
  "main": "dist/index.cjs.js",
@@ -103,13 +103,12 @@ export const formatAsEnum = (
103
103
  return validCompletions;
104
104
  }
105
105
 
106
- return [
107
- ...validCompletions,
108
- {
109
- count: overlap,
110
- target: validValue,
111
- },
112
- ];
106
+ validCompletions.push({
107
+ count: overlap,
108
+ target: validValue,
109
+ });
110
+
111
+ return validCompletions;
113
112
  }, [])
114
113
  .sort((e) => e.count);
115
114