vendeps 1.1.0 → 1.2.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/package.json +1 -1
  2. package/parser.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vendeps",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Uses esbuild to convert npm packages to ESM bundles for the browser.",
5
5
  "main": "index.js",
6
6
  "bin": {
package/parser.js CHANGED
@@ -117,7 +117,7 @@ export async function packageJsonToEsbuildOptions(packageJson, configKey, resolv
117
117
  }
118
118
 
119
119
  const dependencyNames = Object.keys(dependencies).filter(
120
- (name) => vendepsConfig && !SKIP_CONFIG_VALUES.includes(vendepsConfig?.[name]),
120
+ (name) => !SKIP_CONFIG_VALUES.includes(vendepsConfig?.[name]),
121
121
  )
122
122
 
123
123
  if (dependencyNames.length === 0) {