@rollup/plugin-commonjs 29.0.2 → 29.0.3

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.
package/README.md CHANGED
@@ -334,7 +334,7 @@ For these situations, you can change Rollup's behaviour either globally or per m
334
334
  var isInstance = false;
335
335
  try {
336
336
  isInstance = this instanceof a;
337
- } catch {}
337
+ } catch (e) {}
338
338
  if (isInstance) {
339
339
  return Reflect.construct(f, arguments, this.constructor);
340
340
  }
package/dist/cjs/index.js CHANGED
@@ -11,7 +11,7 @@ var estreeWalker = require('estree-walker');
11
11
  var MagicString = require('magic-string');
12
12
  var isReference = require('is-reference');
13
13
 
14
- var version = "29.0.1";
14
+ var version = "29.0.2";
15
15
  var peerDependencies = {
16
16
  rollup: "^2.68.0||^3.0.0||^4.0.0"
17
17
  };
@@ -383,7 +383,7 @@ export function getAugmentedNamespace(n) {
383
383
  var isInstance = false;
384
384
  try {
385
385
  isInstance = this instanceof a;
386
- } catch {}
386
+ } catch (e) {}
387
387
  if (isInstance) {
388
388
  return Reflect.construct(f, arguments, this.constructor);
389
389
  }
package/dist/es/index.js CHANGED
@@ -7,7 +7,7 @@ import { walk } from 'estree-walker';
7
7
  import MagicString from 'magic-string';
8
8
  import isReference from 'is-reference';
9
9
 
10
- var version = "29.0.1";
10
+ var version = "29.0.2";
11
11
  var peerDependencies = {
12
12
  rollup: "^2.68.0||^3.0.0||^4.0.0"
13
13
  };
@@ -379,7 +379,7 @@ export function getAugmentedNamespace(n) {
379
379
  var isInstance = false;
380
380
  try {
381
381
  isInstance = this instanceof a;
382
- } catch {}
382
+ } catch (e) {}
383
383
  if (isInstance) {
384
384
  return Reflect.construct(f, arguments, this.constructor);
385
385
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/plugin-commonjs",
3
- "version": "29.0.2",
3
+ "version": "29.0.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -67,26 +67,17 @@
67
67
  "typescript": "^4.8.3"
68
68
  },
69
69
  "types": "./types/index.d.ts",
70
- "ava": {
71
- "workerThreads": false,
72
- "files": [
73
- "!**/fixtures/**",
74
- "!**/helpers/**",
75
- "!**/recipes/**",
76
- "!**/types.ts"
77
- ]
78
- },
79
70
  "scripts": {
80
71
  "build": "rollup -c",
81
72
  "ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov",
82
73
  "ci:lint": "pnpm build && pnpm lint",
83
74
  "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
84
- "ci:test": "pnpm test -- --verbose && pnpm test:ts",
75
+ "ci:test": "pnpm test -- --reporter=verbose && pnpm test:ts",
85
76
  "prebuild": "del-cli dist",
86
77
  "prerelease": "pnpm build",
87
78
  "pretest": "pnpm build",
88
79
  "release": "pnpm --workspace-root package:release $(pwd)",
89
- "test": "ava",
80
+ "test": "vitest --config ../../.config/vitest.config.mts run",
90
81
  "test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
91
82
  }
92
83
  }