rollup 2.67.3 → 2.69.1

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.
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.67.3
4
- Fri, 18 Feb 2022 05:29:45 GMT - commit fa4e1b720f64ffae24fcbf99a44b605842ac7f23
3
+ Rollup.js v2.69.1
4
+ Fri, 04 Mar 2022 13:38:38 GMT - commit 994c1eccf4d53e416a010f47e54a2086f1a0f4e9
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -10,6 +10,8 @@
10
10
  */
11
11
  'use strict';
12
12
 
13
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
14
+
13
15
  const require$$0$2 = require('fs');
14
16
  const process$2 = require('process');
15
17
  const index = require('./index.js');
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.67.3
4
- Fri, 18 Feb 2022 05:29:45 GMT - commit fa4e1b720f64ffae24fcbf99a44b605842ac7f23
3
+ Rollup.js v2.69.1
4
+ Fri, 04 Mar 2022 13:38:38 GMT - commit 994c1eccf4d53e416a010f47e54a2086f1a0f4e9
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -10,6 +10,8 @@
10
10
  */
11
11
  'use strict';
12
12
 
13
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
14
+
13
15
  const require$$0 = require('path');
14
16
  const process = require('process');
15
17
  const rollup = require('./rollup.js');
@@ -143,7 +145,7 @@ class Watcher {
143
145
  clearTimeout(this.buildTimeout);
144
146
  this.buildTimeout = setTimeout(() => {
145
147
  this.buildTimeout = null;
146
- for (const [id, event] of this.invalidatedIds.entries()) {
148
+ for (const [id, event] of this.invalidatedIds) {
147
149
  this.emitter.emit('change', id, { event });
148
150
  }
149
151
  this.invalidatedIds.clear();
@@ -201,7 +203,7 @@ class Task {
201
203
  this.invalidated = true;
202
204
  if (details.isTransformDependency) {
203
205
  for (const module of this.cache.modules) {
204
- if (module.transformDependencies.indexOf(id) === -1)
206
+ if (!module.transformDependencies.includes(id))
205
207
  continue;
206
208
  // effective invalidation
207
209
  module.originalCode = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "2.67.3",
3
+ "version": "2.69.1",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -60,49 +60,49 @@
60
60
  "devDependencies": {
61
61
  "@rollup/plugin-alias": "^3.1.9",
62
62
  "@rollup/plugin-buble": "^0.21.3",
63
- "@rollup/plugin-commonjs": "^21.0.1",
63
+ "@rollup/plugin-commonjs": "^21.0.2",
64
64
  "@rollup/plugin-json": "^4.1.0",
65
65
  "@rollup/plugin-node-resolve": "^13.1.3",
66
- "@rollup/plugin-replace": "^3.0.1",
67
- "@rollup/plugin-typescript": "^8.3.0",
66
+ "@rollup/plugin-replace": "^4.0.0",
67
+ "@rollup/plugin-typescript": "^8.3.1",
68
68
  "@rollup/pluginutils": "^4.1.2",
69
69
  "@types/estree": "0.0.51",
70
70
  "@types/node": "^10.17.60",
71
71
  "@types/signal-exit": "^3.0.1",
72
72
  "@types/yargs-parser": "^20.2.1",
73
- "@typescript-eslint/eslint-plugin": "^5.11.0",
74
- "@typescript-eslint/parser": "^5.11.0",
73
+ "@typescript-eslint/eslint-plugin": "^5.12.1",
74
+ "@typescript-eslint/parser": "^5.12.1",
75
75
  "acorn": "^8.7.0",
76
76
  "acorn-jsx": "^5.3.2",
77
77
  "acorn-walk": "^8.2.0",
78
78
  "buble": "^0.20.0",
79
79
  "chokidar": "^3.5.3",
80
80
  "colorette": "^2.0.16",
81
- "core-js": "^3.21.0",
81
+ "core-js": "^3.21.1",
82
82
  "date-time": "^4.0.0",
83
- "es5-shim": "^4.6.4",
83
+ "es5-shim": "^4.6.5",
84
84
  "es6-shim": "^0.35.6",
85
- "eslint": "^8.8.0",
86
- "eslint-config-prettier": "^8.3.0",
85
+ "eslint": "^8.9.0",
86
+ "eslint-config-prettier": "^8.4.0",
87
87
  "eslint-plugin-import": "^2.25.4",
88
88
  "eslint-plugin-prettier": "^4.0.0",
89
89
  "execa": "^5.1.1",
90
90
  "fixturify": "^2.1.1",
91
- "fs-extra": "^10.0.0",
91
+ "fs-extra": "^10.0.1",
92
92
  "hash.js": "^1.1.7",
93
93
  "husky": "^7.0.4",
94
94
  "is-reference": "^3.0.0",
95
95
  "lint-staged": "^10.5.4",
96
96
  "locate-character": "^2.0.5",
97
97
  "magic-string": "^0.25.7",
98
- "mocha": "^9.2.0",
98
+ "mocha": "^9.2.1",
99
99
  "nyc": "^15.1.0",
100
- "pinst": "^2.1.6",
100
+ "pinst": "^3.0.0",
101
101
  "prettier": "^2.5.1",
102
102
  "pretty-bytes": "^5.6.0",
103
103
  "pretty-ms": "^7.0.1",
104
104
  "requirejs": "^2.3.6",
105
- "rollup": "^2.67.1",
105
+ "rollup": "^2.68.0",
106
106
  "rollup-plugin-license": "^2.6.1",
107
107
  "rollup-plugin-string": "^3.0.0",
108
108
  "rollup-plugin-terser": "^7.0.2",
@@ -113,7 +113,7 @@
113
113
  "source-map-support": "^0.5.21",
114
114
  "sourcemap-codec": "^1.4.8",
115
115
  "systemjs": "^6.12.1",
116
- "terser": "^5.10.0",
116
+ "terser": "^5.11.0",
117
117
  "tslib": "^2.3.1",
118
118
  "typescript": "^4.5.5",
119
119
  "weak-napi": "^2.0.2",
@@ -131,6 +131,7 @@
131
131
  },
132
132
  "exports": {
133
133
  ".": {
134
+ "types": "./dist/rollup.d.ts",
134
135
  "node": {
135
136
  "require": "./dist/rollup.js",
136
137
  "import": "./dist/es/rollup.js"