@deot/docs-playground 1.0.5 → 1.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/dist/index.cjs CHANGED
@@ -1336,7 +1336,7 @@ var appendParseErrors = (result, errors) => errors.length ? {
1336
1336
  var wrapCompiler = (compiler, getFiles) => {
1337
1337
  if (wrappedCompilers.has(compiler)) return compiler;
1338
1338
  const originalParse = compiler.parse.bind(compiler);
1339
- const wrapped = Object.create(compiler);
1339
+ const wrapped = { ...compiler };
1340
1340
  wrapped.parse = ((source, options) => {
1341
1341
  const filename = options?.filename || "anonymous.vue";
1342
1342
  if (!vueSourceNeedsScss(source)) return originalParse(source, options);
package/dist/index.js CHANGED
@@ -1309,7 +1309,7 @@ var appendParseErrors = (result, errors) => errors.length ? {
1309
1309
  var wrapCompiler = (compiler, getFiles) => {
1310
1310
  if (wrappedCompilers.has(compiler)) return compiler;
1311
1311
  const originalParse = compiler.parse.bind(compiler);
1312
- const wrapped = Object.create(compiler);
1312
+ const wrapped = { ...compiler };
1313
1313
  wrapped.parse = ((source, options) => {
1314
1314
  const filename = options?.filename || "anonymous.vue";
1315
1315
  if (!vueSourceNeedsScss(source)) return originalParse(source, options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deot/docs-playground",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -18,7 +18,7 @@
18
18
  "access": "public"
19
19
  },
20
20
  "dependencies": {
21
- "@deot/docs-locale": "^1.0.5",
21
+ "@deot/docs-locale": "^1.0.6",
22
22
  "@deot/docs-theme": "^1.0.5",
23
23
  "@codemirror/lang-css": "^6.3.1",
24
24
  "@codemirror/lang-javascript": "^6.2.4",