@codingame/monaco-vscode-rollup-vsix-plugin 24.3.0 → 25.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-rollup-vsix-plugin",
3
- "version": "24.3.0",
3
+ "version": "25.0.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -6719,7 +6719,8 @@ function requireQueue () {
6719
6719
  empty: noop,
6720
6720
  kill: kill,
6721
6721
  killAndDrain: killAndDrain,
6722
- error: error
6722
+ error: error,
6723
+ abort: abort
6723
6724
  };
6724
6725
 
6725
6726
  return self
@@ -6859,6 +6860,40 @@ function requireQueue () {
6859
6860
  self.drain = noop;
6860
6861
  }
6861
6862
 
6863
+ function abort () {
6864
+ var current = queueHead;
6865
+ queueHead = null;
6866
+ queueTail = null;
6867
+
6868
+ while (current) {
6869
+ var next = current.next;
6870
+ var callback = current.callback;
6871
+ var errorHandler = current.errorHandler;
6872
+ var val = current.value;
6873
+ var context = current.context;
6874
+
6875
+ // Reset the task state
6876
+ current.value = null;
6877
+ current.callback = noop;
6878
+ current.errorHandler = null;
6879
+
6880
+ // Call error handler if present
6881
+ if (errorHandler) {
6882
+ errorHandler(new Error('abort'), val);
6883
+ }
6884
+
6885
+ // Call callback with error
6886
+ callback.call(context, new Error('abort'));
6887
+
6888
+ // Release the task back to the pool
6889
+ current.release(current);
6890
+
6891
+ current = next;
6892
+ }
6893
+
6894
+ self.drain = noop;
6895
+ }
6896
+
6862
6897
  function error (handler) {
6863
6898
  errorHandler = handler;
6864
6899
  }