baseui 0.0.0-next-14a94df → 0.0.0-next-e7c93a0

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.
@@ -45,16 +45,21 @@ async function main() {
45
45
  }
46
46
 
47
47
  const file = [];
48
- file.push('/* eslint-disable header/header */');
49
- file.push('// @flow');
50
- file.push('');
48
+ file.push(`/*
49
+ Copyright (c) Uber Technologies, Inc.
50
+
51
+ This source code is licensed under the MIT license found in the
52
+ LICENSE file in the root directory of this source tree.
53
+ */
54
+ // @flow
55
+ `);
51
56
  file.push('export const zones = [');
52
57
 
53
58
  for (const zone of zones) {
54
59
  file.push(` '${zone}',`);
55
60
  }
56
61
 
57
- file.push('];');
62
+ file.push('];\n');
58
63
  const tzdataPath = path.join(__dirname, 'tzdata.js');
59
64
  await fs.promises.writeFile(tzdataPath, file.join('\n')); // $FlowFixMe - flow is not aware of recursive option
60
65
 
@@ -117,9 +117,7 @@ function _main() {
117
117
 
118
118
  case 34:
119
119
  file = [];
120
- file.push('/* eslint-disable header/header */');
121
- file.push('// @flow');
122
- file.push('');
120
+ file.push("/*\nCopyright (c) Uber Technologies, Inc.\n\nThis source code is licensed under the MIT license found in the\nLICENSE file in the root directory of this source tree.\n*/\n// @flow\n");
123
121
  file.push('export const zones = [');
124
122
 
125
123
  for (_i = 0, _zones = zones; _i < _zones.length; _i++) {
@@ -127,32 +125,32 @@ function _main() {
127
125
  file.push(" '".concat(zone, "',"));
128
126
  }
129
127
 
130
- file.push('];');
128
+ file.push('];\n');
131
129
  tzdataPath = path.join(__dirname, 'tzdata.js');
132
- _context.next = 44;
130
+ _context.next = 42;
133
131
  return fs.promises.writeFile(tzdataPath, file.join('\n'));
134
132
 
135
- case 44:
136
- _context.next = 46;
133
+ case 42:
134
+ _context.next = 44;
137
135
  return fs.promises.rmdir(tmpDir, {
138
136
  recursive: true
139
137
  });
140
138
 
141
- case 46:
142
- _context.next = 51;
139
+ case 44:
140
+ _context.next = 49;
143
141
  break;
144
142
 
145
- case 48:
146
- _context.prev = 48;
143
+ case 46:
144
+ _context.prev = 46;
147
145
  _context.t1 = _context["catch"](0);
148
146
  console.error(_context.t1);
149
147
 
150
- case 51:
148
+ case 49:
151
149
  case "end":
152
150
  return _context.stop();
153
151
  }
154
152
  }
155
- }, _callee, null, [[0, 48], [16, 28, 31, 34]]);
153
+ }, _callee, null, [[0, 46], [16, 28, 31, 34]]);
156
154
  }));
157
155
  return _main.apply(this, arguments);
158
156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baseui",
3
- "version": "0.0.0-next-14a94df",
3
+ "version": "0.0.0-next-e7c93a0",
4
4
  "description": "A React Component library implementing the Base design language",
5
5
  "keywords": [
6
6
  "react",
@@ -141,8 +141,10 @@
141
141
  "globby": "^10.0.1",
142
142
  "husky": "^3.0.0",
143
143
  "isomorphic-fetch": "^2.2.1",
144
- "jest": "^26.6.0",
144
+ "jest": "25.5.3",
145
145
  "jest-circus": "^26.6.1",
146
+ "jest-environment-jsdom": "26.6.0",
147
+ "jest-environment-jsdom-global": "1.2.1",
146
148
  "jest-image-snapshot": "^2.11.0",
147
149
  "jest-matcher-utils": "^26.6.1",
148
150
  "jest-puppeteer": "^5.0.4",
@@ -121,9 +121,7 @@ function _main() {
121
121
 
122
122
  case 34:
123
123
  file = [];
124
- file.push('/* eslint-disable header/header */');
125
- file.push('// @flow');
126
- file.push('');
124
+ file.push("/*\nCopyright (c) Uber Technologies, Inc.\n\nThis source code is licensed under the MIT license found in the\nLICENSE file in the root directory of this source tree.\n*/\n// @flow\n");
127
125
  file.push('export const zones = [');
128
126
 
129
127
  for (_i = 0, _zones = zones; _i < _zones.length; _i++) {
@@ -131,32 +129,32 @@ function _main() {
131
129
  file.push(" '".concat(zone, "',"));
132
130
  }
133
131
 
134
- file.push('];');
132
+ file.push('];\n');
135
133
  tzdataPath = path.join(__dirname, 'tzdata.js');
136
- _context.next = 44;
134
+ _context.next = 42;
137
135
  return fs.promises.writeFile(tzdataPath, file.join('\n'));
138
136
 
139
- case 44:
140
- _context.next = 46;
137
+ case 42:
138
+ _context.next = 44;
141
139
  return fs.promises.rmdir(tmpDir, {
142
140
  recursive: true
143
141
  });
144
142
 
145
- case 46:
146
- _context.next = 51;
143
+ case 44:
144
+ _context.next = 49;
147
145
  break;
148
146
 
149
- case 48:
150
- _context.prev = 48;
147
+ case 46:
148
+ _context.prev = 46;
151
149
  _context.t1 = _context["catch"](0);
152
150
  console.error(_context.t1);
153
151
 
154
- case 51:
152
+ case 49:
155
153
  case "end":
156
154
  return _context.stop();
157
155
  }
158
156
  }
159
- }, _callee, null, [[0, 48], [16, 28, 31, 34]]);
157
+ }, _callee, null, [[0, 46], [16, 28, 31, 34]]);
160
158
  }));
161
159
  return _main.apply(this, arguments);
162
160
  }
@@ -44,14 +44,19 @@ async function main() {
44
44
  }
45
45
 
46
46
  const file = [];
47
- file.push('/* eslint-disable header/header */');
48
- file.push('// @flow');
49
- file.push('');
47
+ file.push(`/*
48
+ Copyright (c) Uber Technologies, Inc.
49
+
50
+ This source code is licensed under the MIT license found in the
51
+ LICENSE file in the root directory of this source tree.
52
+ */
53
+ // @flow
54
+ `);
50
55
  file.push('export const zones = [');
51
56
  for (const zone of zones) {
52
57
  file.push(` '${zone}',`);
53
58
  }
54
- file.push('];');
59
+ file.push('];\n');
55
60
 
56
61
  const tzdataPath = path.join(__dirname, 'tzdata.js');
57
62
  await fs.promises.writeFile(tzdataPath, file.join('\n'));