@parcel/parcel3 0.0.5 → 0.0.7
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/package.json +11 -10
- package/src/esmodule-helpers.js +37 -0
- package/src/mdx-components.jsx +24 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parcel/parcel3",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Blazing fast, zero configuration web application bundler",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -11,19 +11,20 @@
|
|
|
11
11
|
"parcel3": "bin/parcel3"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
|
-
"bin"
|
|
14
|
+
"bin",
|
|
15
|
+
"src"
|
|
15
16
|
],
|
|
16
17
|
"engines": {
|
|
17
18
|
"node": ">= 18"
|
|
18
19
|
},
|
|
19
20
|
"optionalDependencies": {
|
|
20
|
-
"@parcel/parcel3-darwin-arm64": "0.0.
|
|
21
|
-
"@parcel/parcel3-win32-arm64": "0.0.
|
|
22
|
-
"@parcel/parcel3-linux-arm64": "0.0.
|
|
23
|
-
"@parcel/parcel3-linux-arm64-musl": "0.0.
|
|
24
|
-
"@parcel/parcel3-darwin-x64": "0.0.
|
|
25
|
-
"@parcel/parcel3-win32-x64": "0.0.
|
|
26
|
-
"@parcel/parcel3-linux-x64": "0.0.
|
|
27
|
-
"@parcel/parcel3-linux-x64-musl": "0.0.
|
|
21
|
+
"@parcel/parcel3-darwin-arm64": "0.0.7",
|
|
22
|
+
"@parcel/parcel3-win32-arm64": "0.0.7",
|
|
23
|
+
"@parcel/parcel3-linux-arm64": "0.0.7",
|
|
24
|
+
"@parcel/parcel3-linux-arm64-musl": "0.0.7",
|
|
25
|
+
"@parcel/parcel3-darwin-x64": "0.0.7",
|
|
26
|
+
"@parcel/parcel3-win32-x64": "0.0.7",
|
|
27
|
+
"@parcel/parcel3-linux-x64": "0.0.7",
|
|
28
|
+
"@parcel/parcel3-linux-x64-musl": "0.0.7"
|
|
28
29
|
}
|
|
29
30
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
exports.interopDefault = function (a) {
|
|
2
|
+
return a && a.__esModule ? a : {default: a};
|
|
3
|
+
};
|
|
4
|
+
|
|
5
|
+
exports.defineInteropFlag = function (a) {
|
|
6
|
+
Object.defineProperty(a, '__esModule', {value: true, configurable: true});
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
exports.exportAll = function (source, dest) {
|
|
10
|
+
Object.keys(source).forEach(function (key) {
|
|
11
|
+
if (
|
|
12
|
+
key === 'default' ||
|
|
13
|
+
key === '__esModule' ||
|
|
14
|
+
Object.prototype.hasOwnProperty.call(dest, key)
|
|
15
|
+
) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
Object.defineProperty(dest, key, {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
configurable: true,
|
|
22
|
+
get: function () {
|
|
23
|
+
return source[key];
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
return dest;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
exports.export = function (dest, destName, get) {
|
|
32
|
+
Object.defineProperty(dest, destName, {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
configurable: true,
|
|
35
|
+
get: get,
|
|
36
|
+
});
|
|
37
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* @jsxRuntime automatic */
|
|
2
|
+
/* eslint-disable react/prop-types */
|
|
3
|
+
/* eslint-disable react/react-in-jsx-scope */
|
|
4
|
+
|
|
5
|
+
function CodeBlock({lang, children, render}) {
|
|
6
|
+
return (
|
|
7
|
+
<>
|
|
8
|
+
<pre>
|
|
9
|
+
<code className={lang ? `language-${lang}` : undefined}>
|
|
10
|
+
{children}
|
|
11
|
+
</code>
|
|
12
|
+
</pre>
|
|
13
|
+
{render}
|
|
14
|
+
</>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const components = {
|
|
19
|
+
CodeBlock,
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export function useMDXComponents() {
|
|
23
|
+
return components;
|
|
24
|
+
}
|