@11ty/eleventy-plugin-webc 0.12.0-beta.4 → 0.12.0-beta.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@11ty/eleventy-plugin-webc",
3
- "version": "0.12.0-beta.4",
3
+ "version": "0.12.0-beta.5",
4
4
  "description": "WebC support for Eleventy adds for Single File Web Components",
5
5
  "main": "eleventyWebcPlugin.js",
6
6
  "scripts": {
@@ -32,6 +32,7 @@
32
32
  "url": "git://github.com/11ty/eleventy-plugin-webc.git"
33
33
  },
34
34
  "bugs": "https://github.com/11ty/eleventy-plugin-webc/issues",
35
+ "homepage": "https://github.com/11ty/eleventy-plugin-webc",
35
36
  "ava": {
36
37
  "failFast": true,
37
38
  "files": [
@@ -1,3 +1,4 @@
1
+ // TODO move this upstream into import-module-string
1
2
  // Code cribbed from WebC’s attributeSerializer.js
2
3
  async function evaluateInlineCode(codeString, options = {}) {
3
4
  let { filePath, context, data } = Object.assign({ data: {} }, options);
@@ -1,4 +1,4 @@
1
- const path = require("path");
1
+ const path = require("node:path");
2
2
  const debug = require("debug")("Eleventy:WebC");
3
3
 
4
4
  const { evaluateInlineCode } = require("./dynamicScript.js");