@pocka/rollup-plugin-gleam
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -10,3 +10,3 @@ //! Rollup plugin for Gleam language. | ||
import { fileURLToPath } from "node:url"; | ||
import * as toml from "js-toml"; | ||
import * as toml from "smol-toml"; | ||
import readdirp from "readdirp"; | ||
@@ -57,3 +57,3 @@ function isGleamTOML(x) { | ||
: fileURLToPath(gleamTomlPathOrUrl)); | ||
const parsed = toml.load(await readFile(gleamTomlPathOrUrl, { encoding: "utf8" })); | ||
const parsed = toml.parse(await readFile(gleamTomlPathOrUrl, { encoding: "utf8" })); | ||
if (!isGleamTOML(parsed)) { | ||
@@ -60,0 +60,0 @@ // TypeScript can't narrow types using `never`. Putting `return` after this line |
{ | ||
"name": "@pocka/rollup-plugin-gleam", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Rollup plugin for Gleam language.", | ||
@@ -38,3 +38,3 @@ "keywords": ["rollup-plugin", "vite-plugin"], | ||
"dependencies": { | ||
"js-toml": "^1.0.0", | ||
"smol-toml": "^1.0.0", | ||
"readdirp": "^4.0.2" | ||
@@ -41,0 +41,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20636
+ Addedsmol-toml@^1.0.0
+ Addedsmol-toml@1.3.1(transitive)
- Removedjs-toml@^1.0.0
- Removed@babel/runtime-corejs3@7.26.0(transitive)
- Removed@chevrotain/cst-dts-gen@11.0.3(transitive)
- Removed@chevrotain/gast@11.0.3(transitive)
- Removed@chevrotain/regexp-to-ast@11.0.3(transitive)
- Removed@chevrotain/types@11.0.3(transitive)
- Removed@chevrotain/utils@11.0.3(transitive)
- Removedchevrotain@11.0.3(transitive)
- Removedcore-js-pure@3.40.0(transitive)
- Removedjs-toml@1.0.1(transitive)
- Removedlodash-es@4.17.21(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedxregexp@5.1.1(transitive)