@carbon/type 11.40.0 → 11.41.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/es/index.js CHANGED
@@ -169,8 +169,8 @@ function _objectWithoutProperties(e, t) {
169
169
  r,
170
170
  i = _objectWithoutPropertiesLoose(e, t);
171
171
  if (Object.getOwnPropertySymbols) {
172
- var s = Object.getOwnPropertySymbols(e);
173
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
172
+ var n = Object.getOwnPropertySymbols(e);
173
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
174
174
  }
175
175
  return i;
176
176
  }
@@ -178,7 +178,7 @@ function _objectWithoutPropertiesLoose(r, e) {
178
178
  if (null == r) return {};
179
179
  var t = {};
180
180
  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
181
- if (e.includes(n)) continue;
181
+ if (-1 !== e.indexOf(n)) continue;
182
182
  t[n] = r[n];
183
183
  }
184
184
  return t;
package/lib/index.js CHANGED
@@ -173,8 +173,8 @@ function _objectWithoutProperties(e, t) {
173
173
  r,
174
174
  i = _objectWithoutPropertiesLoose(e, t);
175
175
  if (Object.getOwnPropertySymbols) {
176
- var s = Object.getOwnPropertySymbols(e);
177
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
176
+ var n = Object.getOwnPropertySymbols(e);
177
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
178
178
  }
179
179
  return i;
180
180
  }
@@ -182,7 +182,7 @@ function _objectWithoutPropertiesLoose(r, e) {
182
182
  if (null == r) return {};
183
183
  var t = {};
184
184
  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
185
- if (e.includes(n)) continue;
185
+ if (-1 !== e.indexOf(n)) continue;
186
186
  t[n] = r[n];
187
187
  }
188
188
  return t;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/type",
3
3
  "description": "Typography for digital and software products using the Carbon Design System",
4
- "version": "11.40.0",
4
+ "version": "11.41.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -41,12 +41,12 @@
41
41
  "postinstall": "ibmtelemetry --config=telemetry.yml"
42
42
  },
43
43
  "dependencies": {
44
- "@carbon/grid": "^11.36.0",
45
- "@carbon/layout": "^11.34.0",
44
+ "@carbon/grid": "^11.37.0",
45
+ "@carbon/layout": "^11.35.0",
46
46
  "@ibm/telemetry-js": "^1.5.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@carbon/cli": "^11.27.0",
49
+ "@carbon/cli": "^11.28.0",
50
50
  "@carbon/test-utils": "^10.36.0",
51
51
  "change-case": "^4.1.1",
52
52
  "css": "^3.0.0",
@@ -58,5 +58,5 @@
58
58
  "sassDir": "scss",
59
59
  "needs": "^1.3.0"
60
60
  },
61
- "gitHead": "ec31b96c91af8208499180eaeae89eb08b7ac8c8"
61
+ "gitHead": "f6debacbfe06fa5c31f70809e15762dc30096d70"
62
62
  }
package/umd/index.js CHANGED
@@ -173,8 +173,8 @@
173
173
  r,
174
174
  i = _objectWithoutPropertiesLoose(e, t);
175
175
  if (Object.getOwnPropertySymbols) {
176
- var s = Object.getOwnPropertySymbols(e);
177
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
176
+ var n = Object.getOwnPropertySymbols(e);
177
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
178
178
  }
179
179
  return i;
180
180
  }
@@ -182,7 +182,7 @@
182
182
  if (null == r) return {};
183
183
  var t = {};
184
184
  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
185
- if (e.includes(n)) continue;
185
+ if (-1 !== e.indexOf(n)) continue;
186
186
  t[n] = r[n];
187
187
  }
188
188
  return t;