@carbon/icon-helpers 10.11.0 → 10.13.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
@@ -203,11 +203,4 @@ function toSVG(descriptor) {
203
203
  return node;
204
204
  }
205
205
 
206
- /**
207
- * Copyright IBM Corp. 2018, 2018
208
- *
209
- * This source code is licensed under the Apache-2.0 license found in the
210
- * LICENSE file in the root directory of this source tree.
211
- */
212
-
213
- export { defaultAttributes, getAttributes, formatAttributes, toString, toSVG };
206
+ export { defaultAttributes, formatAttributes, getAttributes, toSVG, toString };
package/lib/index.js CHANGED
@@ -207,15 +207,8 @@ function toSVG(descriptor) {
207
207
  return node;
208
208
  }
209
209
 
210
- /**
211
- * Copyright IBM Corp. 2018, 2018
212
- *
213
- * This source code is licensed under the Apache-2.0 license found in the
214
- * LICENSE file in the root directory of this source tree.
215
- */
216
-
217
210
  exports.defaultAttributes = defaultAttributes;
218
- exports.getAttributes = getAttributes;
219
211
  exports.formatAttributes = formatAttributes;
220
- exports.toString = toString;
212
+ exports.getAttributes = getAttributes;
221
213
  exports.toSVG = toSVG;
214
+ exports.toString = toString;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/icon-helpers",
3
3
  "description": "Helpers used alongside icons for digital and software products using the Carbon Design System",
4
- "version": "10.11.0",
4
+ "version": "10.13.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -29,13 +29,13 @@
29
29
  "access": "public"
30
30
  },
31
31
  "scripts": {
32
- "build": "yarn clean && bundler bundle src/index.js --name CarbonIconHelpers",
32
+ "build": "yarn clean && carbon-cli bundle src/index.js --name CarbonIconHelpers",
33
33
  "clean": "rimraf es lib umd"
34
34
  },
35
35
  "devDependencies": {
36
- "@carbon/bundler": "^10.11.0",
36
+ "@carbon/cli": "^10.19.0",
37
37
  "rimraf": "^3.0.0"
38
38
  },
39
39
  "sideEffects": false,
40
- "gitHead": "d41f538ce43d6acb8174e262532c5e4c23faf6a6"
40
+ "gitHead": "79db5535fee7f58e0fe21bac154b638cd17f659e"
41
41
  }
package/umd/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3
3
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
4
- (factory((global.CarbonIconHelpers = {})));
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.CarbonIconHelpers = {}));
5
5
  }(this, (function (exports) { 'use strict';
6
6
 
7
7
  function _defineProperty(obj, key, value) {
@@ -209,18 +209,11 @@
209
209
  return node;
210
210
  }
211
211
 
212
- /**
213
- * Copyright IBM Corp. 2018, 2018
214
- *
215
- * This source code is licensed under the Apache-2.0 license found in the
216
- * LICENSE file in the root directory of this source tree.
217
- */
218
-
219
212
  exports.defaultAttributes = defaultAttributes;
220
- exports.getAttributes = getAttributes;
221
213
  exports.formatAttributes = formatAttributes;
222
- exports.toString = toString;
214
+ exports.getAttributes = getAttributes;
223
215
  exports.toSVG = toSVG;
216
+ exports.toString = toString;
224
217
 
225
218
  Object.defineProperty(exports, '__esModule', { value: true });
226
219