@pnpm/plugin-trusted-deps 0.3.0-1 → 0.3.0-2

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 (3) hide show
  1. package/LICENSE +1 -1
  2. package/index.mjs +3 -5
  3. package/package.json +1 -1
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2025 Zoltan Kochan and other contributors
3
+ Copyright (c) 2025-2026 Zoltan Kochan and other contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/index.mjs CHANGED
@@ -1,6 +1,4 @@
1
- import { createRequire } from 'node:module'
1
+ import TRUSTED_PACKAGE_NAMES from './allow.json' with { type: 'json' }
2
+ import DEFAULT_ALLOW_BUILDS from './allowBuilds.json' with { type: 'json' }
2
3
 
3
- const require = createRequire(import.meta.url)
4
-
5
- export const TRUSTED_PACKAGE_NAMES = require('./allow.json')
6
- export const DEFAULT_ALLOW_BUILDS = require('./allowBuilds.json')
4
+ export { TRUSTED_PACKAGE_NAMES, DEFAULT_ALLOW_BUILDS }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/plugin-trusted-deps",
3
- "version": "0.3.0-1",
3
+ "version": "0.3.0-2",
4
4
  "description": "A list of OSS packages that are known to require lifecycle scripts to function properly",
5
5
  "main": "index.js",
6
6
  "exports": {