@quilted/create 0.1.61 → 0.1.62
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/CHANGELOG.md +6 -0
- package/build/cjs/packages/events/source/abort.cjs +2 -4
- package/build/esm/packages/events/source/abort.mjs +2 -4
- package/package.json +1 -1
- package/templates/app-trpc/package.json +1 -1
- package/build/cjs/_virtual/_rollupPluginBabelHelpers.cjs +0 -34
- package/build/esm/_virtual/_rollupPluginBabelHelpers.mjs +0 -30
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @quilted/create
|
|
2
2
|
|
|
3
|
+
## 0.1.62
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2b040069`](https://github.com/lemonmade/quilt/commit/2b040069ae642666001ca94ea84ea95ea9e85122) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix trpc template duplicate name
|
|
8
|
+
|
|
3
9
|
## 0.1.61
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.cjs');
|
|
4
|
-
|
|
5
3
|
// @see https://github.com/nodejs/node/blob/master/lib/internal/errors.js#L822-L834
|
|
6
4
|
class AbortError extends Error {
|
|
7
5
|
static test(error) {
|
|
8
6
|
return error != null && error.code === 'ABORT_ERR';
|
|
9
7
|
}
|
|
8
|
+
code = 'ABORT_ERR';
|
|
9
|
+
name = 'AbortError';
|
|
10
10
|
constructor(message = 'The operation was aborted') {
|
|
11
11
|
super(message);
|
|
12
|
-
_rollupPluginBabelHelpers.defineProperty(this, "code", 'ABORT_ERR');
|
|
13
|
-
_rollupPluginBabelHelpers.defineProperty(this, "name", 'AbortError');
|
|
14
12
|
}
|
|
15
13
|
}
|
|
16
14
|
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { defineProperty as _defineProperty } from '../../../_virtual/_rollupPluginBabelHelpers.mjs';
|
|
2
|
-
|
|
3
1
|
// @see https://github.com/nodejs/node/blob/master/lib/internal/errors.js#L822-L834
|
|
4
2
|
class AbortError extends Error {
|
|
5
3
|
static test(error) {
|
|
6
4
|
return error != null && error.code === 'ABORT_ERR';
|
|
7
5
|
}
|
|
6
|
+
code = 'ABORT_ERR';
|
|
7
|
+
name = 'AbortError';
|
|
8
8
|
constructor(message = 'The operation was aborted') {
|
|
9
9
|
super(message);
|
|
10
|
-
_defineProperty(this, "code", 'ABORT_ERR');
|
|
11
|
-
_defineProperty(this, "name", 'AbortError');
|
|
12
10
|
}
|
|
13
11
|
}
|
|
14
12
|
|
package/package.json
CHANGED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
function _defineProperty(obj, key, value) {
|
|
4
|
-
key = _toPropertyKey(key);
|
|
5
|
-
if (key in obj) {
|
|
6
|
-
Object.defineProperty(obj, key, {
|
|
7
|
-
value: value,
|
|
8
|
-
enumerable: true,
|
|
9
|
-
configurable: true,
|
|
10
|
-
writable: true
|
|
11
|
-
});
|
|
12
|
-
} else {
|
|
13
|
-
obj[key] = value;
|
|
14
|
-
}
|
|
15
|
-
return obj;
|
|
16
|
-
}
|
|
17
|
-
function _toPrimitive(input, hint) {
|
|
18
|
-
if (typeof input !== "object" || input === null) return input;
|
|
19
|
-
var prim = input[Symbol.toPrimitive];
|
|
20
|
-
if (prim !== undefined) {
|
|
21
|
-
var res = prim.call(input, hint || "default");
|
|
22
|
-
if (typeof res !== "object") return res;
|
|
23
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
24
|
-
}
|
|
25
|
-
return (hint === "string" ? String : Number)(input);
|
|
26
|
-
}
|
|
27
|
-
function _toPropertyKey(arg) {
|
|
28
|
-
var key = _toPrimitive(arg, "string");
|
|
29
|
-
return typeof key === "symbol" ? key : String(key);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
exports.defineProperty = _defineProperty;
|
|
33
|
-
exports.toPrimitive = _toPrimitive;
|
|
34
|
-
exports.toPropertyKey = _toPropertyKey;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
function _defineProperty(obj, key, value) {
|
|
2
|
-
key = _toPropertyKey(key);
|
|
3
|
-
if (key in obj) {
|
|
4
|
-
Object.defineProperty(obj, key, {
|
|
5
|
-
value: value,
|
|
6
|
-
enumerable: true,
|
|
7
|
-
configurable: true,
|
|
8
|
-
writable: true
|
|
9
|
-
});
|
|
10
|
-
} else {
|
|
11
|
-
obj[key] = value;
|
|
12
|
-
}
|
|
13
|
-
return obj;
|
|
14
|
-
}
|
|
15
|
-
function _toPrimitive(input, hint) {
|
|
16
|
-
if (typeof input !== "object" || input === null) return input;
|
|
17
|
-
var prim = input[Symbol.toPrimitive];
|
|
18
|
-
if (prim !== undefined) {
|
|
19
|
-
var res = prim.call(input, hint || "default");
|
|
20
|
-
if (typeof res !== "object") return res;
|
|
21
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
22
|
-
}
|
|
23
|
-
return (hint === "string" ? String : Number)(input);
|
|
24
|
-
}
|
|
25
|
-
function _toPropertyKey(arg) {
|
|
26
|
-
var key = _toPrimitive(arg, "string");
|
|
27
|
-
return typeof key === "symbol" ? key : String(key);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { _defineProperty as defineProperty, _toPrimitive as toPrimitive, _toPropertyKey as toPropertyKey };
|