@pob/rollup 8.6.0 → 8.8.0

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -2
  2. package/package.json +3 -3
package/lib/index.js CHANGED
@@ -41,7 +41,7 @@ const readClosestPackageJson = (filePath) => {
41
41
  while (directory !== path.dirname(directory)) {
42
42
  const pkgPath = path.join(directory, "package.json");
43
43
  if (fs.existsSync(pkgPath)) {
44
- return JSON.parse(fs.readFileSync(pkgPath));
44
+ return JSON.parse(fs.readFileSync(pkgPath, "utf8"));
45
45
  }
46
46
  directory = path.dirname(directory);
47
47
  }
@@ -171,7 +171,7 @@ export const createWatchWorkspaceDependencies = (cwd, pkg) => {
171
171
  const dependencyPkgPath = findDependencyPackageJson(cwd, name);
172
172
  if (!dependencyPkgPath) return [];
173
173
  const entry = getMainEntry(
174
- JSON.parse(fs.readFileSync(dependencyPkgPath)),
174
+ JSON.parse(fs.readFileSync(dependencyPkgPath, "utf8")),
175
175
  );
176
176
  if (!entry || sourceExtensionRegExp.test(entry)) return [];
177
177
  return [path.resolve(path.dirname(dependencyPkgPath), entry)];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/rollup",
3
- "version": "8.6.0",
3
+ "version": "8.8.0",
4
4
  "description": "rollup configuration for pob",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/christophehurpeau/pob",
@@ -34,10 +34,10 @@
34
34
  "access": "public"
35
35
  },
36
36
  "dependencies": {
37
- "rollup": "4.67.3"
37
+ "rollup": "4.68.2"
38
38
  },
39
39
  "engines": {
40
- "node": "^22.18.0 || >=24.14.1"
40
+ "node": "^22.23.4 || ^24.22.1 || >=26.13.0"
41
41
  },
42
42
  "pob": {},
43
43
  "scripts": {