Changes
4 changed files (+19/-115)
-
-
@@ -9,8 +9,8 @@ "name": "@pocka/rollup-plugin-gleam","version": "0.1.1", "license": "Apache-2.0", "dependencies": { "js-toml": "^1.0.0", "readdirp": "^4.0.2" "readdirp": "^4.0.2", "smol-toml": "^1.0.0" }, "devDependencies": { "@rollup/plugin-typescript": "^12.1.1",
-
@@ -28,58 +28,6 @@ "rollup": {"optional": true } } }, "node_modules/@babel/runtime-corejs3": { "version": "7.26.0", "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.26.0.tgz", "integrity": "sha512-YXHu5lN8kJCb1LOb9PgV6pvak43X2h4HvRApcN5SdWeaItQOzfn1hgP6jasD6KWQyJDBxrVmA9o9OivlnNJK/w==", "license": "MIT", "dependencies": { "core-js-pure": "^3.30.2", "regenerator-runtime": "^0.14.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@chevrotain/cst-dts-gen": { "version": "11.0.3", "resolved": "https://registry.npmjs.org/@chevrotain/cst-dts-gen/-/cst-dts-gen-11.0.3.tgz", "integrity": "sha512-BvIKpRLeS/8UbfxXxgC33xOumsacaeCKAjAeLyOn7Pcp95HiRbrpl14S+9vaZLolnbssPIUuiUd8IvgkRyt6NQ==", "license": "Apache-2.0", "dependencies": { "@chevrotain/gast": "11.0.3", "@chevrotain/types": "11.0.3", "lodash-es": "4.17.21" } }, "node_modules/@chevrotain/gast": { "version": "11.0.3", "resolved": "https://registry.npmjs.org/@chevrotain/gast/-/gast-11.0.3.tgz", "integrity": "sha512-+qNfcoNk70PyS/uxmj3li5NiECO+2YKZZQMbmjTqRI3Qchu8Hig/Q9vgkHpI3alNjr7M+a2St5pw5w5F6NL5/Q==", "license": "Apache-2.0", "dependencies": { "@chevrotain/types": "11.0.3", "lodash-es": "4.17.21" } }, "node_modules/@chevrotain/regexp-to-ast": { "version": "11.0.3", "resolved": "https://registry.npmjs.org/@chevrotain/regexp-to-ast/-/regexp-to-ast-11.0.3.tgz", "integrity": "sha512-1fMHaBZxLFvWI067AVbGJav1eRY7N8DDvYCTwGBiE/ytKBgP8azTdgyrKyWZ9Mfh09eHWb5PgTSO8wi7U824RA==", "license": "Apache-2.0" }, "node_modules/@chevrotain/types": { "version": "11.0.3", "resolved": "https://registry.npmjs.org/@chevrotain/types/-/types-11.0.3.tgz", "integrity": "sha512-gsiM3G8b58kZC2HaWR50gu6Y1440cHiJ+i3JUvcp/35JchYejb2+5MVeJK0iKThYpAa/P2PYFV4hoi44HD+aHQ==", "license": "Apache-2.0" }, "node_modules/@chevrotain/utils": { "version": "11.0.3", "resolved": "https://registry.npmjs.org/@chevrotain/utils/-/utils-11.0.3.tgz", "integrity": "sha512-YslZMgtJUyuMbZ+aKvfF3x1f5liK4mWNxghFRv7jqRR9C3R3fAOGTTKvxXDa2Y1s9zSbcpuO0cAxDYsc9SrXoQ==", "license": "Apache-2.0" }, "node_modules/@esbuild/aix-ppc64": { "version": "0.21.5",
-
@@ -801,31 +749,6 @@ "engines": {"node": ">= 16" } }, "node_modules/chevrotain": { "version": "11.0.3", "resolved": "https://registry.npmjs.org/chevrotain/-/chevrotain-11.0.3.tgz", "integrity": "sha512-ci2iJH6LeIkvP9eJW6gpueU8cnZhv85ELY8w8WiFtNjMHA5ad6pQLaJo9mEly/9qUyCpvqX8/POVUTf18/HFdw==", "license": "Apache-2.0", "dependencies": { "@chevrotain/cst-dts-gen": "11.0.3", "@chevrotain/gast": "11.0.3", "@chevrotain/regexp-to-ast": "11.0.3", "@chevrotain/types": "11.0.3", "@chevrotain/utils": "11.0.3", "lodash-es": "4.17.21" } }, "node_modules/core-js-pure": { "version": "3.39.0", "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.39.0.tgz", "integrity": "sha512-7fEcWwKI4rJinnK+wLTezeg2smbFFdSBP6E2kQZNbnzM2s1rpKQ6aaRteZSSg7FLU3P0HGGVo/gbpfanU36urg==", "hasInstallScript": true, "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/core-js" } }, "node_modules/debug": { "version": "4.3.7", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
-
@@ -972,22 +895,6 @@ "funding": {"url": "https://github.com/sponsors/ljharb" } }, "node_modules/js-toml": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/js-toml/-/js-toml-1.0.0.tgz", "integrity": "sha512-G757004huuG5Cjg8KUoVTS4zNRR4449KG8kjtFQS0yyQnceq3KfxcArThcqUV2cwdpd0C9I+e1WciK3Xm4cWJw==", "license": "MIT", "dependencies": { "chevrotain": "^11.0.3", "xregexp": "^5.1.1" } }, "node_modules/lodash-es": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", "license": "MIT" }, "node_modules/loupe": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.1.2.tgz",
-
@@ -1117,12 +1024,6 @@ "type": "individual","url": "https://paulmillr.com/funding/" } }, "node_modules/regenerator-runtime": { "version": "0.14.1", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", "license": "MIT" }, "node_modules/resolve": { "version": "1.22.8", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
-
@@ -1185,6 +1086,18 @@ "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz","integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==", "dev": true, "license": "ISC" }, "node_modules/smol-toml": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.3.1.tgz", "integrity": "sha512-tEYNll18pPKHroYSmLLrksq233j021G0giwW7P3D24jC54pQ5W5BXMsQ/Mvw1OJCmEYDgY+lrzT+3nNUtoNfXQ==", "license": "BSD-3-Clause", "engines": { "node": ">= 18" }, "funding": { "url": "https://github.com/sponsors/cyyynthia" } }, "node_modules/source-map-js": { "version": "1.2.1",
-
@@ -1461,15 +1374,6 @@ "why-is-node-running": "cli.js"}, "engines": { "node": ">=8" } }, "node_modules/xregexp": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-5.1.1.tgz", "integrity": "sha512-fKXeVorD+CzWvFs7VBuKTYIW63YD1e1osxwQ8caZ6o1jg6pDAbABDG54LCIq0j5cy7PjRvGIq6sef9DYPXpncg==", "license": "MIT", "dependencies": { "@babel/runtime-corejs3": "^7.16.5" } } }
-
-
-
@@ -35,7 +35,7 @@ "optional": true} }, "dependencies": { "js-toml": "^1.0.0", "smol-toml": "^1.0.0", "readdirp": "^4.0.2" }, "devDependencies": {
-
-
-
@@ -9,7 +9,7 @@ import * as path from "node:path";import { promisify } from "node:util"; import { fileURLToPath } from "node:url"; import * as toml from "js-toml"; import * as toml from "smol-toml"; import readdirp from "readdirp"; import type { Plugin } from "rollup";
-
@@ -106,7 +106,7 @@ ? gleamTomlPathOrUrl: fileURLToPath(gleamTomlPathOrUrl), ); const parsed = toml.load(await readFile(gleamTomlPathOrUrl, { encoding: "utf8" })); const parsed = toml.parse(await readFile(gleamTomlPathOrUrl, { encoding: "utf8" })); if (!isGleamTOML(parsed)) { // TypeScript can't narrow types using `never`. Putting `return` after this line // triggers `Unreachable code detected.` so we have to *return never*.
-
-
-
@@ -1,10 +1,10 @@{ "compilerOptions": { "strict": true, "lib": ["ES2020"], "lib": ["ES2022"], "module": "NodeNext", "moduleResolution": "NodeNext", "target": "ES2020", "target": "ES2022", "noUncheckedIndexedAccess": true, "noUnusedLocals": true, "noUnusedParameters": true,
-