@carbon/feature-flags 0.6.0 → 0.8.0-rc.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/README.md CHANGED
@@ -78,7 +78,7 @@ the module or by using `enable`, `disable`, and `merge`.
78
78
  $feature-flags: (
79
79
  'feature-flag-a': false,
80
80
  'feature-flag-b': true,
81
- ),
81
+ )
82
82
  );
83
83
 
84
84
  // Enable `feature-flag-a`
package/es/index.js CHANGED
@@ -91,6 +91,9 @@ function _defineProperties(target, props) {
91
91
  function _createClass(Constructor, protoProps, staticProps) {
92
92
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
93
93
  if (staticProps) _defineProperties(Constructor, staticProps);
94
+ Object.defineProperty(Constructor, "prototype", {
95
+ writable: false
96
+ });
94
97
  return Constructor;
95
98
  }
96
99
 
package/lib/index.js CHANGED
@@ -95,6 +95,9 @@ function _defineProperties(target, props) {
95
95
  function _createClass(Constructor, protoProps, staticProps) {
96
96
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
97
97
  if (staticProps) _defineProperties(Constructor, staticProps);
98
+ Object.defineProperty(Constructor, "prototype", {
99
+ writable: false
100
+ });
98
101
  return Constructor;
99
102
  }
100
103
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/feature-flags",
3
3
  "description": "Build with feature flags in Carbon",
4
- "version": "0.6.0",
4
+ "version": "0.8.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -33,16 +33,16 @@
33
33
  "watch": "yarn clean && node tasks/build.js && rollup -c -w"
34
34
  },
35
35
  "devDependencies": {
36
- "@babel/core": "^7.14.6",
37
- "@babel/generator": "^7.14.5",
38
- "@babel/preset-env": "^7.14.7",
39
- "@babel/template": "^7.14.5",
40
- "@babel/types": "^7.14.5",
41
- "@carbon/scss-generator": "^10.13.0",
36
+ "@babel/core": "^7.18.2",
37
+ "@babel/generator": "^7.18.2",
38
+ "@babel/preset-env": "^7.18.2",
39
+ "@babel/template": "^7.16.7",
40
+ "@babel/types": "^7.18.4",
41
+ "@carbon/scss-generator": "^10.14.0-rc.0",
42
42
  "@rollup/plugin-babel": "^5.3.0",
43
43
  "@rollup/plugin-node-resolve": "^13.0.0",
44
44
  "change-case": "^4.1.2",
45
- "fs-extra": "^9.0.1",
45
+ "fs-extra": "^10.0.0",
46
46
  "js-yaml": "^3.14.0",
47
47
  "rimraf": "^3.0.2",
48
48
  "rollup": "^2.46.0",
@@ -54,5 +54,5 @@
54
54
  "@babel/env"
55
55
  ]
56
56
  },
57
- "gitHead": "9c2eb1cfa0e5b2c4dc0142b98cd8828e84640af8"
57
+ "gitHead": "a44075aa04612c5ddaf73953ca7ce14d1882a02c"
58
58
  }