From d189f1f356ca5f9b276f03b44c98e61174429961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Rosick=C3=BD?= Date: Mon, 20 Jan 2025 12:01:37 +0100 Subject: [PATCH 1/3] terser 5.37.0 --- CHANGELOG.md | 3 + lib/terser.js | 435 +++++++++++++++++++++++++++++++++++------- lib/terser/version.rb | 2 +- vendor/terser | 2 +- 4 files changed, 375 insertions(+), 67 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc57632..dc5c03c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ Behavioural changes in TerserJS are listed [here](https://github.com/terser/terser/blob/master/CHANGELOG.md). ## Unreleased +## 1.2.5 (20 January 2025) +- update TerserJS to [5.37.0] + ## 1.2.4 (7 October 2024) - update TerserJS to [5.34.1] diff --git a/lib/terser.js b/lib/terser.js index 245e7ea..11d45d7 100644 --- a/lib/terser.js +++ b/lib/terser.js @@ -2835,6 +2835,7 @@ function parse($TEXT, options) { } else if ( is("name") || is("privatename") + || is("punc", "[") || is("operator", "*") || is("punc", ";") || is("punc", "}") @@ -2871,8 +2872,11 @@ function parse($TEXT, options) { return new AST_ClassStaticBlock({ start, body, end: prev() }); } - function maybe_import_assertion() { - if (is("name", "assert") && !has_newline_before(S.token)) { + function maybe_import_attributes() { + if ( + (is("keyword", "with") || is("name", "assert")) + && !has_newline_before(S.token) + ) { next(); return object_or_destructuring_(); } @@ -2903,7 +2907,7 @@ function parse($TEXT, options) { } next(); - const assert_clause = maybe_import_assertion(); + const attributes = maybe_import_attributes(); return new AST_Import({ start, @@ -2915,7 +2919,7 @@ function parse($TEXT, options) { quote: mod_str.quote, end: mod_str, }), - assert_clause, + attributes, end: S.token, }); } @@ -3048,7 +3052,7 @@ function parse($TEXT, options) { } next(); - const assert_clause = maybe_import_assertion(); + const attributes = maybe_import_attributes(); return new AST_Export({ start: start, @@ -3061,7 +3065,7 @@ function parse($TEXT, options) { end: mod_str, }), end: prev(), - assert_clause + attributes }); } else { return new AST_Export({ @@ -3107,7 +3111,7 @@ function parse($TEXT, options) { exported_value: exported_value, exported_definition: exported_definition, end: prev(), - assert_clause: null + attributes: null }); } @@ -5097,13 +5101,13 @@ var AST_NameMapping = DEFNODE("NameMapping", "foreign_name name", function AST_N var AST_Import = DEFNODE( "Import", - "imported_name imported_names module_name assert_clause", + "imported_name imported_names module_name attributes", function AST_Import(props) { if (props) { this.imported_name = props.imported_name; this.imported_names = props.imported_names; this.module_name = props.module_name; - this.assert_clause = props.assert_clause; + this.attributes = props.attributes; this.start = props.start; this.end = props.end; } @@ -5116,7 +5120,7 @@ var AST_Import = DEFNODE( imported_name: "[AST_SymbolImport] The name of the variable holding the module's default export.", imported_names: "[AST_NameMapping*] The names of non-default imported variables", module_name: "[AST_String] String literal describing where this module came from", - assert_clause: "[AST_Object?] The import assertion" + attributes: "[AST_Object?] The import attributes (with {...})" }, _walk: function(visitor) { return visitor._visit(this, function() { @@ -5155,7 +5159,7 @@ var AST_ImportMeta = DEFNODE("ImportMeta", null, function AST_ImportMeta(props) var AST_Export = DEFNODE( "Export", - "exported_definition exported_value is_default exported_names module_name assert_clause", + "exported_definition exported_value is_default exported_names module_name attributes", function AST_Export(props) { if (props) { this.exported_definition = props.exported_definition; @@ -5163,7 +5167,7 @@ var AST_Export = DEFNODE( this.is_default = props.is_default; this.exported_names = props.exported_names; this.module_name = props.module_name; - this.assert_clause = props.assert_clause; + this.attributes = props.attributes; this.start = props.start; this.end = props.end; } @@ -5178,7 +5182,7 @@ var AST_Export = DEFNODE( exported_names: "[AST_NameMapping*?] List of exported names", module_name: "[AST_String?] Name of the file to load exports from", is_default: "[Boolean] Whether this is the default exported value of this module", - assert_clause: "[AST_Object?] The import assertion" + attributes: "[AST_Object?] The import attributes" }, _walk: function (visitor) { return visitor._visit(this, function () { @@ -7157,23 +7161,23 @@ def_transform(AST_PrefixedTemplateString, function(self, tw) { return body; }; - const assert_clause_from_moz = (assertions) => { - if (assertions && assertions.length > 0) { + function import_attributes_from_moz(attributes) { + if (attributes && attributes.length > 0) { return new AST_Object({ - start: my_start_token(assertions), - end: my_end_token(assertions), - properties: assertions.map((assertion_kv) => + start: my_start_token(attributes), + end: my_end_token(attributes), + properties: attributes.map((attr) => new AST_ObjectKeyVal({ - start: my_start_token(assertion_kv), - end: my_end_token(assertion_kv), - key: assertion_kv.key.name || assertion_kv.key.value, - value: from_moz(assertion_kv.value) + start: my_start_token(attr), + end: my_end_token(attr), + key: attr.key.name || attr.key.value, + value: from_moz(attr.value) }) ) }); } return null; - }; + } var MOZ_TO_ME = { Program: function(M) { @@ -7545,7 +7549,7 @@ def_transform(AST_PrefixedTemplateString, function(self, tw) { imported_name: imported_name, imported_names : imported_names, module_name : from_moz(M.source), - assert_clause: assert_clause_from_moz(M.assertions) + attributes: import_attributes_from_moz(M.attributes || M.assertions) }); }, @@ -7572,6 +7576,10 @@ def_transform(AST_PrefixedTemplateString, function(self, tw) { }, ImportExpression: function(M) { + const args = [from_moz(M.source)]; + if (M.options) { + args.push(from_moz(M.options)); + } return new AST_Call({ start: my_start_token(M), end: my_end_token(M), @@ -7580,7 +7588,7 @@ def_transform(AST_PrefixedTemplateString, function(self, tw) { name: "import" }), optional: false, - args: [from_moz(M.source)] + args }); }, @@ -7598,7 +7606,7 @@ def_transform(AST_PrefixedTemplateString, function(self, tw) { }) ], module_name: from_moz(M.source), - assert_clause: assert_clause_from_moz(M.assertions) + attributes: import_attributes_from_moz(M.attributes || M.assertions) }); }, @@ -7609,7 +7617,7 @@ def_transform(AST_PrefixedTemplateString, function(self, tw) { exported_definition: from_moz(M.declaration), exported_names: M.specifiers && M.specifiers.length ? M.specifiers.map(from_moz) : null, module_name: from_moz(M.source), - assert_clause: assert_clause_from_moz(M.assertions) + attributes: import_attributes_from_moz(M.attributes || M.assertions) }); }, @@ -8196,10 +8204,11 @@ def_transform(AST_PrefixedTemplateString, function(self, tw) { }); def_to_moz(AST_Call, function To_Moz_CallExpression(M) { if (M.expression instanceof AST_SymbolRef && M.expression.name === "import") { - const [source] = M.args.map(to_moz); + const [source, options] = M.args.map(to_moz); return { type: "ImportExpression", source, + options }; } @@ -8360,22 +8369,22 @@ def_transform(AST_PrefixedTemplateString, function(self, tw) { }; }); - const assert_clause_to_moz = assert_clause => { - const assertions = []; - if (assert_clause) { - for (const { key, value } of assert_clause.properties) { + function import_attributes_to_moz(attribute) { + const import_attributes = []; + if (attribute) { + for (const { key, value } of attribute.properties) { const key_moz = is_basic_identifier_string(key) ? { type: "Identifier", name: key } : { type: "Literal", value: key, raw: JSON.stringify(key) }; - assertions.push({ + import_attributes.push({ type: "ImportAttribute", key: key_moz, value: to_moz(value) }); } } - return assertions; - }; + return import_attributes; + } def_to_moz(AST_Export, function To_Moz_ExportDeclaration(M) { if (M.exported_names) { @@ -8390,7 +8399,7 @@ def_transform(AST_PrefixedTemplateString, function(self, tw) { type: "ExportAllDeclaration", source: to_moz(M.module_name), exported: exported, - assertions: assert_clause_to_moz(M.assert_clause) + attributes: import_attributes_to_moz(M.attributes) }; } return { @@ -8404,7 +8413,7 @@ def_transform(AST_PrefixedTemplateString, function(self, tw) { }), declaration: to_moz(M.exported_definition), source: to_moz(M.module_name), - assertions: assert_clause_to_moz(M.assert_clause) + attributes: import_attributes_to_moz(M.attributes) }; } return { @@ -8442,7 +8451,7 @@ def_transform(AST_PrefixedTemplateString, function(self, tw) { type: "ImportDeclaration", specifiers: specifiers, source: to_moz(M.module_name), - assertions: assert_clause_to_moz(M.assert_clause) + attributes: import_attributes_to_moz(M.attributes) }; }); @@ -10590,9 +10599,9 @@ function OutputStream(options) { output.space(); } self.module_name.print(output); - if (self.assert_clause) { - output.print("assert"); - self.assert_clause.print(output); + if (self.attributes) { + output.print("with"); + self.attributes.print(output); } output.semicolon(); }); @@ -10686,9 +10695,9 @@ function OutputStream(options) { output.space(); self.module_name.print(output); } - if (self.assert_clause) { - output.print("assert"); - self.assert_clause.print(output); + if (self.attributes) { + output.print("with"); + self.attributes.print(output); } if (self.exported_value && !(self.exported_value instanceof AST_Defun || @@ -22782,6 +22791,7 @@ var domprops = [ "-webkit-flex-grow", "-webkit-flex-shrink", "-webkit-flex-wrap", + "-webkit-font-feature-settings", "-webkit-justify-content", "-webkit-line-clamp", "-webkit-mask", @@ -22812,27 +22822,6 @@ var domprops = [ "-webkit-transition-property", "-webkit-transition-timing-function", "-webkit-user-select", - "0", - "1", - "10", - "11", - "12", - "13", - "14", - "15", - "16", - "17", - "18", - "19", - "2", - "20", - "3", - "4", - "5", - "6", - "7", - "8", - "9", "@@iterator", "ABORT_ERR", "ACTIVE", @@ -22875,6 +22864,7 @@ var domprops = [ "AnimationTimeline", "AnonXMLHttpRequest", "Any", + "AnyPermissions", "ApplicationCache", "ApplicationCacheErrorEvent", "Array", @@ -22960,6 +22950,7 @@ var domprops = [ "Boolean", "BroadcastChannel", "BrowserCaptureMediaStreamTrack", + "BrowserInfo", "ByteLengthQueuingStrategy", "CAPTURING_PHASE", "CCW", @@ -23035,6 +23026,7 @@ var domprops = [ "CSSKeywordValue", "CSSLayerBlockRule", "CSSLayerStatementRule", + "CSSMarginRule", "CSSMathClamp", "CSSMathInvert", "CSSMathMax", @@ -23048,10 +23040,14 @@ var domprops = [ "CSSMozDocumentRule", "CSSNameSpaceRule", "CSSNamespaceRule", + "CSSNestedDeclarations", "CSSNumericArray", "CSSNumericValue", + "CSSPageDescriptors", "CSSPageRule", "CSSPerspective", + "CSSPositionTryDescriptors", + "CSSPositionTryRule", "CSSPositionValue", "CSSPrimitiveValue", "CSSPropertyRule", @@ -23081,6 +23077,7 @@ var domprops = [ "CSSVariableReferenceValue", "CSSVariablesDeclaration", "CSSVariablesRule", + "CSSViewTransitionRule", "CSSViewportRule", "CSS_ATTR", "CSS_CM", @@ -23167,6 +23164,7 @@ var domprops = [ "CaretPosition", "ChannelMergerNode", "ChannelSplitterNode", + "ChapterInformation", "CharacterBoundsUpdateEvent", "CharacterData", "ClientRect", @@ -23175,7 +23173,10 @@ var domprops = [ "ClipboardEvent", "ClipboardItem", "CloseEvent", + "CloseWatcher", "Collator", + "ColorArray", + "ColorValue", "CommandEvent", "Comment", "CompileError", @@ -23184,6 +23185,8 @@ var domprops = [ "Console", "ConstantSourceNode", "ContentVisibilityAutoStateChangeEvent", + "ContextFilter", + "ContextType", "Controllers", "ConvolverNode", "CookieChangeEvent", @@ -23191,6 +23194,7 @@ var domprops = [ "CookieStoreManager", "CountQueuingStrategy", "Counter", + "CreateType", "Credential", "CredentialsContainer", "CropTarget", @@ -23693,6 +23697,7 @@ var domprops = [ "DeprecationReportBody", "DesktopNotification", "DesktopNotificationCenter", + "Details", "DeviceLightEvent", "DeviceMotionEvent", "DeviceMotionEventAcceleration", @@ -23710,6 +23715,7 @@ var domprops = [ "DocumentTimeline", "DocumentType", "DragEvent", + "DurationFormat", "DynamicsCompressorNode", "E", "ELEMENT_ARRAY_BUFFER", @@ -23745,6 +23751,11 @@ var domprops = [ "EventSource", "EventTarget", "Exception", + "ExtensionContext", + "ExtensionDisabledReason", + "ExtensionInfo", + "ExtensionInstallType", + "ExtensionType", "External", "EyeDropper", "FASTEST", @@ -23826,6 +23837,7 @@ var domprops = [ "FileSystemWritableFileStream", "FinalizationRegistry", "FindInPage", + "Float16Array", "Float32Array", "Float64Array", "FocusEvent", @@ -23895,6 +23907,7 @@ var domprops = [ "GeolocationPosition", "GeolocationPositionError", "GestureEvent", + "GetInfo", "Global", "GravitySensor", "Gyroscope", @@ -24068,6 +24081,7 @@ var domprops = [ "INVERSE_DISTANCE", "INVERT", "IceCandidate", + "IconInfo", "IdentityCredential", "IdentityCredentialError", "IdentityProvider", @@ -24078,6 +24092,7 @@ var domprops = [ "ImageBitmapRenderingContext", "ImageCapture", "ImageData", + "ImageDataType", "ImageDecoder", "ImageTrack", "ImageTrackList", @@ -24142,9 +24157,11 @@ var domprops = [ "LSParserFilter", "LUMINANCE", "LUMINANCE_ALPHA", + "LanguageCode", "LargestContentfulPaint", "LaunchParams", "LaunchQueue", + "LaunchType", "LayoutShift", "LayoutShiftAttribution", "LinearAccelerationSensor", @@ -24157,9 +24174,11 @@ var domprops = [ "LockManager", "MAP_READ", "MAP_WRITE", + "MARGIN_RULE", "MAX", "MAX_3D_TEXTURE_SIZE", "MAX_ARRAY_TEXTURE_LAYERS", + "MAX_CAPTURE_VISIBLE_TAB_CALLS_PER_SECOND", "MAX_CLIENT_WAIT_TIMEOUT_WEBGL", "MAX_COLOR_ATTACHMENTS", "MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS", @@ -24311,6 +24330,7 @@ var domprops = [ "MediaStreamEvent", "MediaStreamTrack", "MediaStreamTrackAudioSourceNode", + "MediaStreamTrackAudioStats", "MediaStreamTrackEvent", "MediaStreamTrackGenerator", "MediaStreamTrackProcessor", @@ -24319,6 +24339,7 @@ var domprops = [ "MessageChannel", "MessageEvent", "MessagePort", + "MessageSender", "Methods", "MimeType", "MimeTypeArray", @@ -24420,6 +24441,8 @@ var domprops = [ "MutationEvent", "MutationObserver", "MutationRecord", + "MutedInfo", + "MutedInfoReason", "NAMESPACE_ERR", "NAMESPACE_RULE", "NEAREST", @@ -24507,6 +24530,11 @@ var domprops = [ "OfflineResourceList", "OffscreenCanvas", "OffscreenCanvasRenderingContext2D", + "OnClickData", + "OnInstalledReason", + "OnPerformanceWarningCategory", + "OnPerformanceWarningSeverity", + "OnRestartRequiredReason", "Option", "OrientationSensor", "OscillatorNode", @@ -24559,6 +24587,7 @@ var domprops = [ "PROCESSING_INSTRUCTION_NODE", "PageChangeEvent", "PageRevealEvent", + "PageSettings", "PageSwapEvent", "PageTransitionEvent", "PaintRequest", @@ -24597,12 +24626,17 @@ var domprops = [ "PhotoCapabilities", "PictureInPictureEvent", "PictureInPictureWindow", + "PlatformArch", + "PlatformInfo", + "PlatformNaclArch", + "PlatformOs", "Plugin", "PluginArray", "PluralRules", "PointerEvent", "PopStateEvent", "PopupBlockedEvent", + "Port", "Presentation", "PresentationAvailability", "PresentationConnection", @@ -24611,12 +24645,15 @@ var domprops = [ "PresentationConnectionList", "PresentationReceiver", "PresentationRequest", + "PressureObserver", + "PressureRecord", "ProcessingInstruction", "Profiler", "ProgressEvent", "Promise", "PromiseRejectionEvent", "PropertyNodeList", + "ProtectedAudience", "Proxy", "PublicKeyCredential", "PushManager", @@ -24764,6 +24801,7 @@ var domprops = [ "ReportBody", "ReportingObserver", "Request", + "RequestUpdateCheckStatus", "ResizeObserver", "ResizeObserverEntry", "ResizeObserverSize", @@ -25176,7 +25214,9 @@ var domprops = [ "SharedStorage", "SharedStorageWorklet", "SharedWorker", + "SharingState", "SimpleGestureEvent", + "SnapEvent", "SourceBuffer", "SourceBufferList", "SpeechSynthesis", @@ -25203,6 +25243,8 @@ var domprops = [ "Symbol", "SyncManager", "SyntaxError", + "TAB_ID_NONE", + "TAB_INDEX_NONE", "TEMPORARY", "TEXTPATH_METHODTYPE_ALIGN", "TEXTPATH_METHODTYPE_STRETCH", @@ -25300,6 +25342,8 @@ var domprops = [ "TYPE_NAVIGATE", "TYPE_RELOAD", "TYPE_RESERVED", + "Tab", + "TabStatus", "Table", "Tag", "TaskAttributionTiming", @@ -25422,6 +25466,8 @@ var domprops = [ "Uint32Array", "Uint8Array", "Uint8ClampedArray", + "UpdateFilter", + "UpdatePropertyName", "UserActivation", "UserMessageHandler", "UserMessageHandlersNamespace", @@ -25470,6 +25516,8 @@ var domprops = [ "VideoStreamTrack", "ViewTimeline", "ViewTransition", + "ViewTransitionTypeSet", + "ViewType", "VirtualKeyboard", "VirtualKeyboardGeometryChangeEvent", "VisibilityStateEntry", @@ -25480,6 +25528,8 @@ var domprops = [ "WEBKIT_KEYFRAME_RULE", "WEBKIT_REGION_RULE", "WGSLLanguageFeatures", + "WINDOW_ID_CURRENT", + "WINDOW_ID_NONE", "WRITE", "WRONG_DOCUMENT_ERR", "WakeLock", @@ -25495,6 +25545,7 @@ var domprops = [ "WebGLBuffer", "WebGLContextEvent", "WebGLFramebuffer", + "WebGLObject", "WebGLProgram", "WebGLQuery", "WebGLRenderbuffer", @@ -25581,6 +25632,7 @@ var domprops = [ "WebkitFlexGrow", "WebkitFlexShrink", "WebkitFlexWrap", + "WebkitFontFeatureSettings", "WebkitJustifyContent", "WebkitLineClamp", "WebkitMask", @@ -25615,6 +25667,8 @@ var domprops = [ "Window", "WindowControlsOverlay", "WindowControlsOverlayGeometryChangeEvent", + "WindowState", + "WindowType", "Worker", "Worklet", "WritableStream", @@ -25641,12 +25695,15 @@ var domprops = [ "XRDOMOverlayState", "XRDepthInformation", "XRFrame", + "XRHand", "XRHitTestResult", "XRHitTestSource", "XRInputSource", "XRInputSourceArray", "XRInputSourceEvent", "XRInputSourcesChangeEvent", + "XRJointPose", + "XRJointSpace", "XRLayer", "XRLightEstimate", "XRLightProbe", @@ -25670,6 +25727,9 @@ var domprops = [ "XRWebGLLayer", "XSLTProcessor", "ZERO", + "ZoomSettings", + "ZoomSettingsMode", + "ZoomSettingsScope", "_XD0M_", "_YD0M_", "__REACT_DEVTOOLS_GLOBAL_HOOK__", @@ -25686,6 +25746,7 @@ var domprops = [ "abbr", "abort", "aborted", + "aboutConfigPrefs", "abs", "absolute", "acceleration", @@ -25715,6 +25776,7 @@ var domprops = [ "activeSourceCount", "activeTexture", "activeVRDisplays", + "activityLog", "actualBoundingBoxAscent", "actualBoundingBoxDescent", "actualBoundingBoxLeft", @@ -25766,6 +25828,7 @@ var domprops = [ "adr", "advance", "after", + "alarms", "album", "alert", "algorithm", @@ -25872,6 +25935,7 @@ var domprops = [ "applyElement", "arc", "arcTo", + "arch", "architecture", "archive", "areas", @@ -25939,6 +26003,7 @@ var domprops = [ "assignedNodes", "assignedSlot", "async", + "asyncDispose", "asyncIterator", "at", "atEnd", @@ -25986,6 +26051,7 @@ var domprops = [ "availWidth", "availability", "available", + "averageLatency", "aversion", "ax", "axes", @@ -26254,7 +26320,10 @@ var domprops = [ "breakBefore", "breakInside", "broadcast", + "browser", "browserLanguage", + "browserSettings", + "browsingData", "browsingTopics", "btoa", "bubbles", @@ -26275,6 +26344,7 @@ var domprops = [ "byobRequest", "byteLength", "byteOffset", + "bytes", "bytesPerRow", "bytesWritten", "c", @@ -26319,10 +26389,13 @@ var domprops = [ "caption", "caption-side", "captionSide", + "captivePortal", "capture", "captureEvents", "captureStackTrace", "captureStream", + "captureTab", + "captureVisibleTab", "caret-color", "caretBidiLevel", "caretColor", @@ -26349,6 +26422,7 @@ var domprops = [ "channelCount", "channelCountMode", "channelInterpretation", + "chapterInfo", "char", "charAt", "charCode", @@ -26503,7 +26577,9 @@ var domprops = [ "columnWidth", "columns", "command", + "commands", "commit", + "commitLoadTime", "commitPreferences", "commitStyles", "commonAncestorContainer", @@ -26554,11 +26630,13 @@ var domprops = [ "congestionControl", "connect", "connectEnd", + "connectNative", "connectShark", "connectStart", "connected", "connectedCallback", "connection", + "connectionInfo", "connectionList", "connectionSpeed", "connectionState", @@ -26606,8 +26684,14 @@ var domprops = [ "contentVisibility", "contentWindow", "context", + "contextId", + "contextIds", "contextMenu", + "contextMenus", + "contextType", + "contextTypes", "contextmenu", + "contextualIdentities", "continue", "continuePrimaryKey", "continuous", @@ -26799,6 +26883,7 @@ var domprops = [ "createVertexArray", "createView", "createWaveShaper", + "createWorklet", "createWritable", "creationTime", "credentialless", @@ -26819,6 +26904,7 @@ var domprops = [ "cues", "cullFace", "cullMode", + "currentCSSZoom", "currentDirection", "currentEntry", "currentLocalDescription", @@ -26859,6 +26945,7 @@ var domprops = [ "db", "debug", "debuggerEnabled", + "declarativeNetRequest", "declare", "decode", "decodeAudioData", @@ -26923,6 +27010,7 @@ var domprops = [ "deleted", "deliverChangeRecords", "deliveredFrames", + "deliveredFramesDuration", "delivery", "deliveryInfo", "deliveryStatus", @@ -26976,6 +27064,7 @@ var domprops = [ "detail", "details", "detect", + "detectLanguage", "detune", "device", "deviceClass", @@ -26990,6 +27079,8 @@ var domprops = [ "deviceVersionSubminor", "deviceXDPI", "deviceYDPI", + "devtools", + "devtools_panels", "didTimeout", "difference", "diffuseConstant", @@ -27005,6 +27096,7 @@ var domprops = [ "disableRemotePlayback", "disableVertexAttribArray", "disabled", + "discard", "discardedFrames", "dischargingTime", "disconnect", @@ -27018,25 +27110,35 @@ var domprops = [ "displayId", "displayName", "displayWidth", + "dispose", "disposition", "distanceModel", "div", "divisor", "djsapi", "djsproxy", + "dns", "doImport", "doNotTrack", "doScroll", "doctype", "document", "documentElement", + "documentId", + "documentIds", + "documentLifecycle", "documentMode", + "documentOrigin", + "documentOrigins", "documentPictureInPicture", "documentURI", + "documentUrl", + "documentUrls", "dolphin", "dolphinGameCenter", "dolphininfo", "dolphinmeta", + "dom", "domComplete", "domContentLoadedEventEnd", "domContentLoadedEventStart", @@ -27057,6 +27159,7 @@ var domprops = [ "downloadRequest", "downloadTotal", "downloaded", + "downloads", "dpcm", "dpi", "dppx", @@ -27092,6 +27195,7 @@ var domprops = [ "dtmf", "dump", "dumpProfile", + "duplex", "duplicate", "durability", "duration", @@ -27105,6 +27209,7 @@ var domprops = [ "dvw", "dx", "dy", + "dynamicId", "dynsrc", "e", "edgeMode", @@ -27113,6 +27218,7 @@ var domprops = [ "effectAllowed", "effectiveDirective", "effectiveType", + "effects", "elapsedTime", "element", "elementFromPoint", @@ -27192,6 +27298,7 @@ var domprops = [ "event", "eventCounts", "eventPhase", + "events", "every", "ex", "exception", @@ -27212,6 +27319,7 @@ var domprops = [ "expando", "expansion", "expectedImprovement", + "experiments", "expiration", "expirationTime", "expires", @@ -27223,6 +27331,8 @@ var domprops = [ "exportKey", "exports", "extend", + "extension", + "extensionTypes", "extensions", "extentNode", "extentOffset", @@ -27233,6 +27343,7 @@ var domprops = [ "extractable", "eye", "f", + "f16round", "face", "factoryReset", "failOp", @@ -27268,8 +27379,10 @@ var domprops = [ "fill", "fill-opacity", "fill-rule", + "fillJointRadii", "fillLightMode", "fillOpacity", + "fillPoses", "fillRect", "fillRule", "fillStyle", @@ -27287,6 +27400,8 @@ var domprops = [ "findRule", "findText", "finish", + "finishDocumentLoadTime", + "finishLoadTime", "finished", "fireEvent", "firesTouchEvents", @@ -27294,6 +27409,8 @@ var domprops = [ "firstElementChild", "firstInterimResponseStart", "firstPage", + "firstPaintAfterLoadTime", + "firstPaintTime", "firstUIEventTimestamp", "fixed", "flags", @@ -27413,6 +27530,8 @@ var domprops = [ "frameBorder", "frameCount", "frameElement", + "frameId", + "frameIds", "frameSpacing", "framebuffer", "framebufferHeight", @@ -27427,12 +27546,14 @@ var domprops = [ "frequencyBinCount", "from", "fromAsync", + "fromBase64", "fromCharCode", "fromCodePoint", "fromElement", "fromEntries", "fromFloat32Array", "fromFloat64Array", + "fromHex", "fromMatrix", "fromPoint", "fromQuad", @@ -27456,6 +27577,7 @@ var domprops = [ "gap", "gatheringState", "gatt", + "geckoProfiler", "genderIdentity", "generateCertificate", "generateKey", @@ -27464,6 +27586,7 @@ var domprops = [ "geolocation", "gestureObject", "get", + "getAcceptLanguages", "getActiveAttrib", "getActiveUniform", "getActiveUniformBlockName", @@ -27491,6 +27614,10 @@ var domprops = [ "getAutoplayPolicy", "getAvailability", "getBBox", + "getBackgroundPage", + "getBadgeBackgroundColor", + "getBadgeText", + "getBadgeTextColor", "getBattery", "getBigInt64", "getBigUint64", @@ -27500,6 +27627,7 @@ var domprops = [ "getBoundingClientRect", "getBounds", "getBoxQuads", + "getBrowserInfo", "getBufferParameter", "getBufferSubData", "getByteFrequencyData", @@ -27528,10 +27656,12 @@ var domprops = [ "getConstraints", "getContext", "getContextAttributes", + "getContexts", "getContributingSources", "getCounterValue", "getCueAsHTML", "getCueById", + "getCurrent", "getCurrentPosition", "getCurrentTexture", "getCurrentTime", @@ -27572,6 +27702,7 @@ var domprops = [ "getFiles", "getFilesAndDirectories", "getFingerprints", + "getFloat16", "getFloat32", "getFloat64", "getFloatFrequencyData", @@ -27579,10 +27710,12 @@ var domprops = [ "getFloatValue", "getFragDataLocation", "getFrameData", + "getFrameId", "getFramebufferAttachmentParameter", "getFrequencyResponse", "getFullYear", "getGamepads", + "getHTML", "getHeaderExtensionsToNegotiate", "getHighEntropyValues", "getHitTestResults", @@ -27598,13 +27731,16 @@ var domprops = [ "getInt16", "getInt32", "getInt8", + "getInterestGroupAdAuctionData", "getInternalModuleRanges", "getInternalformatParameter", "getIntersectionList", "getItem", "getItems", + "getJointPose", "getKey", "getKeyframes", + "getLastFocused", "getLayers", "getLayoutMap", "getLightEstimate", @@ -27613,11 +27749,13 @@ var domprops = [ "getLocalParameters", "getLocalStreams", "getManagedConfiguration", + "getManifest", "getMappedRange", "getMarks", "getMatchedCSSRules", "getMaxGCPauseSinceClear", "getMeasures", + "getMessage", "getMetadata", "getMilliseconds", "getMinutes", @@ -27640,13 +27778,17 @@ var domprops = [ "getOwnPropertyDescriptors", "getOwnPropertyNames", "getOwnPropertySymbols", + "getPackageDirectoryEntry", "getParameter", "getParameters", "getParent", "getPathSegAtLength", + "getPermissionWarningsByManifest", "getPhotoCapabilities", "getPhotoSettings", + "getPlatformInfo", "getPointAtLength", + "getPopup", "getPorts", "getPose", "getPredictedEvents", @@ -27694,6 +27836,7 @@ var domprops = [ "getSeconds", "getSelectedCandidatePair", "getSelection", + "getSelf", "getSenders", "getService", "getSetCookie", @@ -27730,6 +27873,7 @@ var domprops = [ "getTime", "getTimezoneOffset", "getTiming", + "getTitle", "getTitlebarAreaRect", "getTotalLength", "getTrackById", @@ -27741,6 +27885,8 @@ var domprops = [ "getTransports", "getType", "getTypeMapping", + "getUILanguage", + "getURL", "getUTCDate", "getUTCDay", "getUTCFullYear", @@ -27758,6 +27904,7 @@ var domprops = [ "getUniformLocation", "getUserInfo", "getUserMedia", + "getUserSettings", "getVRDisplays", "getValues", "getVarDate", @@ -27768,10 +27915,13 @@ var domprops = [ "getVideoTracks", "getViewerPose", "getViewport", + "getViews", "getVoices", "getWakeLockState", "getWriter", "getYear", + "getZoom", + "getZoomSettings", "givenName", "global", "globalAlpha", @@ -27782,6 +27932,8 @@ var domprops = [ "glyphOrientationVertical", "glyphRef", "go", + "goBack", + "goForward", "gpu", "grabFrame", "grad", @@ -27831,6 +27983,10 @@ var domprops = [ "groupEnd", "groupId", "groups", + "grow", + "growable", + "guestProcessId", + "guestRenderFrameRoutingId", "hadRecentInput", "hand", "handedness", @@ -27864,6 +28020,7 @@ var domprops = [ "hasRegExpGroups", "hasStorageAccess", "hasUAVisualTransition", + "hasUnpartitionedCookieAccess", "hash", "hashChange", "head", @@ -27877,6 +28034,7 @@ var domprops = [ "hidePopover", "high", "highWaterMark", + "highlight", "highlights", "hint", "hints", @@ -27901,6 +28059,7 @@ var domprops = [ "hyphenateCharacter", "hyphens", "hypot", + "i18n", "ic", "iccId", "iceConnectionState", @@ -27912,6 +28071,7 @@ var domprops = [ "identifier", "identity", "ideographicBaseline", + "idle", "idpLoginUrl", "ignoreBOM", "ignoreCase", @@ -27942,8 +28102,10 @@ var domprops = [ "in1", "in2", "inBandMetadataTrackDispatchType", + "inIncognitoContext", "inRange", "includes", + "incognito", "incomingBidirectionalStreams", "incomingHighWaterMark", "incomingMaxAge", @@ -28054,6 +28216,7 @@ var domprops = [ "insetInline", "insetInlineEnd", "insetInlineStart", + "install", "installing", "instanceRoot", "instantiate", @@ -28090,6 +28253,8 @@ var domprops = [ "is", "is2D", "isActive", + "isAllowedFileSchemeAccess", + "isAllowedIncognitoAccess", "isAlternate", "isArray", "isAutoSelected", @@ -28195,6 +28360,7 @@ var domprops = [ "jobTitle", "join", "joinAdInterestGroup", + "jointName", "json", "justify-content", "justify-items", @@ -28228,6 +28394,7 @@ var domprops = [ "keytype", "kind", "knee", + "knownSources", "label", "labels", "lang", @@ -28236,6 +28403,7 @@ var domprops = [ "largeArcFlag", "lastChild", "lastElementChild", + "lastError", "lastEventId", "lastIndex", "lastIndexOf", @@ -28249,6 +28417,7 @@ var domprops = [ "lastParen", "lastState", "lastStyleSheetSet", + "latency", "latitude", "launchQueue", "layerName", @@ -28384,6 +28553,7 @@ var domprops = [ "magFilter", "makeXRCompatible", "managed", + "management", "manifest", "manufacturer", "manufacturerName", @@ -28458,6 +28628,7 @@ var domprops = [ "matchAll", "matchMedia", "matchMedium", + "matchPatterns", "matches", "math-depth", "math-style", @@ -28522,6 +28693,7 @@ var domprops = [ "maxVertexBufferArrayStride", "maxVertexBuffers", "maxWidth", + "maximumLatency", "measure", "measureText", "media", @@ -28536,6 +28708,9 @@ var domprops = [ "meetOrSlice", "memory", "menubar", + "menus", + "menusChild", + "menusInternal", "mergeAttributes", "message", "messageClass", @@ -28566,6 +28741,7 @@ var domprops = [ "minUniformBufferOffsetAlignment", "minValue", "minWidth", + "minimumLatency", "mipLevel", "mipLevelCount", "mipmapFilter", @@ -28587,6 +28763,7 @@ var domprops = [ "moveFocusLeft", "moveFocusRight", "moveFocusUp", + "moveInSuccession", "moveNext", "moveRow", "moveStart", @@ -28833,6 +29010,7 @@ var domprops = [ "mutableFile", "muted", "n", + "nacl_arch", "name", "nameList", "nameProp", @@ -28841,6 +29019,7 @@ var domprops = [ "names", "namespaceURI", "namespaces", + "nativeApplication", "nativeMap", "nativeObjectCreate", "nativeSet", @@ -28860,6 +29039,7 @@ var domprops = [ "negotiated", "netscape", "networkState", + "networkStatus", "newScale", "newState", "newTranslate", @@ -28889,6 +29069,7 @@ var domprops = [ "normDepthBufferFromNormView", "normalize", "normalizedPathSegList", + "normandyAddonStudy", "notRestoredReasons", "notationName", "notations", @@ -28896,8 +29077,10 @@ var domprops = [ "noteGrainOn", "noteOff", "noteOn", + "notifications", "notify", "now", + "npnNegotiatedProtocol", "numOctaves", "number", "numberOfChannels", @@ -28945,12 +29128,46 @@ var domprops = [ "oldValue", "oldVersion", "olderShadowRoot", + "omnibox", "on", + "onActivated", + "onAdded", + "onAttached", + "onBoundsChanged", + "onBrowserUpdateAvailable", + "onClicked", "onCommitFiberRoot", "onCommitFiberUnmount", + "onConnect", + "onConnectExternal", + "onConnectNative", + "onCreated", + "onDetached", + "onDisabled", + "onEnabled", + "onFocusChanged", + "onHighlighted", + "onInstalled", "onLine", + "onMessage", + "onMessageExternal", + "onMoved", + "onPerformanceWarning", "onPostCommitFiberRoot", + "onRemoved", + "onReplaced", + "onRestartRequired", + "onStartup", "onSubmittedWorkDone", + "onSuspend", + "onSuspendCanceled", + "onUninstalled", + "onUpdateAvailable", + "onUpdated", + "onUserScriptConnect", + "onUserScriptMessage", + "onUserSettingsChanged", + "onZoomChange", "onabort", "onabsolutedeviceorientation", "onactivate", @@ -29106,6 +29323,7 @@ var domprops = [ "onleavepictureinpicture", "onlevelchange", "onload", + "onloadT", "onloadeddata", "onloadedmetadata", "onloadend", @@ -29229,6 +29447,8 @@ var domprops = [ "onscreenschange", "onscroll", "onscrollend", + "onscrollsnapchange", + "onscrollsnapchanging", "onsearch", "onsecuritypolicyviolation", "onseeked", @@ -29327,6 +29547,9 @@ var domprops = [ "openCursor", "openDatabase", "openKeyCursor", + "openOptionsPage", + "openOrClosedShadowRoot", + "openPopup", "opened", "opener", "opera", @@ -29355,6 +29578,7 @@ var domprops = [ "originalPolicy", "originalTarget", "orphans", + "os", "oscpu", "outerHTML", "outerHeight", @@ -29445,11 +29669,15 @@ var domprops = [ "page-break-after", "page-break-before", "page-break-inside", + "page-orientation", + "pageAction", "pageBreakAfter", "pageBreakBefore", "pageBreakInside", "pageCount", "pageLeft", + "pageOrientation", + "pageT", "pageTop", "pageX", "pageXOffset", @@ -29523,6 +29751,7 @@ var domprops = [ "permissions", "persist", "persisted", + "persistentDeviceId", "personalbar", "perspective", "perspective-origin", @@ -29531,6 +29760,7 @@ var domprops = [ "phoneticFamilyName", "phoneticGivenName", "photo", + "pictureInPictureChild", "pictureInPictureElement", "pictureInPictureEnabled", "pictureInPictureWindow", @@ -29548,6 +29778,7 @@ var domprops = [ "pixelUnitToMillimeterX", "pixelUnitToMillimeterY", "pixelWidth", + "pkcs11", "place-content", "place-items", "place-self", @@ -29604,7 +29835,11 @@ var domprops = [ "posWidth", "pose", "position", + "position-anchor", + "position-area", "positionAlign", + "positionAnchor", + "positionArea", "positionX", "positionY", "positionZ", @@ -29630,6 +29865,7 @@ var domprops = [ "prerendering", "presentation", "presentationArea", + "presentationStyle", "preserveAlpha", "preserveAspectRatio", "preserveAspectRatioString", @@ -29659,7 +29895,9 @@ var domprops = [ "print", "print-color-adjust", "printColorAdjust", + "printPreview", "priority", + "privacy", "privateKey", "privateToken", "probablySupportsContext", @@ -29682,10 +29920,12 @@ var domprops = [ "properties", "propertyIsEnumerable", "propertyName", + "protectedAudience", "protocol", "protocolLong", "prototype", "provider", + "proxy", "pseudoClass", "pseudoElement", "pt", @@ -29712,6 +29952,7 @@ var domprops = [ "queryCommandSupported", "queryCommandText", "queryCommandValue", + "queryFeatureSupport", "queryLocalFonts", "queryPermission", "querySelector", @@ -29727,6 +29968,7 @@ var domprops = [ "race", "rad", "radiogroup", + "radius", "radiusX", "radiusY", "random", @@ -29902,6 +30144,7 @@ var domprops = [ "requestAdapterInfo", "requestAnimationFrame", "requestAutocomplete", + "requestClose", "requestData", "requestDevice", "requestFrame", @@ -29925,6 +30168,8 @@ var domprops = [ "requestStorageAccess", "requestStorageAccessFor", "requestSubmit", + "requestTime", + "requestUpdateCheck", "requestVideoFrameCallback", "requestViewportScale", "requestWindow", @@ -29935,6 +30180,7 @@ var domprops = [ "requiredFeatures", "requiredLimits", "reset", + "resetLatency", "resetPose", "resetTransform", "resizable", @@ -29957,6 +30203,8 @@ var domprops = [ "responseType", "responseURL", "responseXML", + "restart", + "restartAfterDelay", "restartIce", "restore", "result", @@ -30034,6 +30282,7 @@ var domprops = [ "samplerParameteri", "sandbox", "save", + "saveAsPDF", "saveData", "scale", "scale3d", @@ -30060,6 +30309,7 @@ var domprops = [ "screenY", "screens", "scriptURL", + "scripting", "scripts", "scroll", "scroll-behavior", @@ -30197,6 +30447,8 @@ var domprops = [ "sendAsBinary", "sendBeacon", "sendFeatureReport", + "sendMessage", + "sendNativeMessage", "sendOrder", "sendReport", "sender", @@ -30205,6 +30457,7 @@ var domprops = [ "separator", "serial", "serialNumber", + "serializable", "serializeToString", "serverTiming", "service", @@ -30212,6 +30465,7 @@ var domprops = [ "session", "sessionId", "sessionStorage", + "sessions", "set", "setActionHandler", "setActive", @@ -30222,6 +30476,9 @@ var domprops = [ "setAttributeNode", "setAttributeNodeNS", "setAttributionReporting", + "setBadgeBackgroundColor", + "setBadgeText", + "setBadgeTextColor", "setBaseAndExtent", "setBigInt64", "setBigUint64", @@ -30241,6 +30498,7 @@ var domprops = [ "setData", "setDate", "setDragImage", + "setEnabled", "setEnd", "setEndAfter", "setEndBefore", @@ -30248,16 +30506,20 @@ var domprops = [ "setExpires", "setFillColor", "setFilterRes", + "setFloat16", "setFloat32", "setFloat64", "setFloatValue", "setFocusBehavior", "setFormValue", + "setFromBase64", + "setFromHex", "setFullYear", "setHTMLUnsafe", "setHeaderExtensionsToNegotiate", "setHeaderValue", "setHours", + "setIcon", "setIdentityProvider", "setImmediate", "setIndexBuffer", @@ -30294,6 +30556,7 @@ var domprops = [ "setPeriodicWave", "setPipeline", "setPointerCapture", + "setPopup", "setPosition", "setPositionState", "setPreference", @@ -30337,6 +30600,7 @@ var domprops = [ "setTargetValueAtTime", "setTime", "setTimeout", + "setTitle", "setTransform", "setTranslate", "setUTCDate", @@ -30349,6 +30613,8 @@ var domprops = [ "setUint16", "setUint32", "setUint8", + "setUninstallURL", + "setUpdateUrlData", "setUri", "setValidity", "setValueAtTime", @@ -30359,6 +30625,8 @@ var domprops = [ "setVertexBuffer", "setViewport", "setYear", + "setZoom", + "setZoomSettings", "settingName", "settingValue", "sex", @@ -30372,6 +30640,7 @@ var domprops = [ "shadowRootClonable", "shadowRootDelegatesFocus", "shadowRootMode", + "shadowRootSerializable", "shape", "shape-image-threshold", "shape-margin", @@ -30403,6 +30672,7 @@ var domprops = [ "showPopover", "showSaveFilePicker", "sidebar", + "sidebarAction", "sign", "signal", "signalingState", @@ -30433,6 +30703,8 @@ var domprops = [ "smil", "smooth", "smoothingTimeConstant", + "snapTargetBlock", + "snapTargetInline", "snapToLines", "snapshotItem", "snapshotLength", @@ -30486,7 +30758,9 @@ var domprops = [ "standby", "start", "startContainer", + "startE", "startIce", + "startLoadTime", "startMessages", "startNotifications", "startOffset", @@ -30636,13 +30910,17 @@ var domprops = [ "tBodies", "tFoot", "tHead", + "tab", "tab-size", + "tabId", + "tabIds", "tabIndex", "tabSize", "table", "table-layout", "tableLayout", "tableValues", + "tabs", "tag", "tagName", "tagUrn", @@ -30667,6 +30945,7 @@ var domprops = [ "tcpType", "tee", "tel", + "telemetry", "terminate", "test", "texImage2D", @@ -30744,6 +31023,7 @@ var domprops = [ "textWrapMode", "textWrapStyle", "texture", + "theme", "then", "threadId", "threshold", @@ -30767,8 +31047,10 @@ var domprops = [ "timing", "title", "titlebarAreaRect", + "tlsChannelId", "to", "toArray", + "toBase64", "toBlob", "toDataURL", "toDateString", @@ -30778,6 +31060,7 @@ var domprops = [ "toFloat32Array", "toFloat64Array", "toGMTString", + "toHex", "toISOString", "toJSON", "toLocaleDateString", @@ -30808,6 +31091,7 @@ var domprops = [ "toggleAttribute", "toggleLongPressEnabled", "togglePopover", + "toggleReaderMode", "token", "tone", "toneBuffer", @@ -30816,10 +31100,12 @@ var domprops = [ "toolbar", "top", "topMargin", + "topSites", "topology", "total", "totalFrameDelay", "totalFrames", + "totalFramesDuration", "totalVideoFrames", "touch-action", "touchAction", @@ -30830,6 +31116,7 @@ var domprops = [ "trackVisibility", "trackedAnchors", "tracks", + "tran", "transaction", "transactions", "transceiver", @@ -30855,10 +31142,12 @@ var domprops = [ "transformToDocument", "transformToFragment", "transition", + "transition-behavior", "transition-delay", "transition-duration", "transition-property", "transition-timing-function", + "transitionBehavior", "transitionDelay", "transitionDuration", "transitionProperty", @@ -30878,6 +31167,7 @@ var domprops = [ "trunc", "truncate", "trustedTypes", + "try", "turn", "twist", "type", @@ -30899,6 +31189,7 @@ var domprops = [ "underlineThickness", "unescape", "uneval", + "ungroup", "unicode", "unicode-bidi", "unicodeBidi", @@ -30938,6 +31229,7 @@ var domprops = [ "uniformMatrix4fv", "uniformMatrix4x2fv", "uniformMatrix4x3fv", + "uninstallSelf", "union", "unique", "uniqueID", @@ -31099,6 +31391,7 @@ var domprops = [ "viewFormats", "viewTarget", "viewTargetString", + "viewTransition", "viewport", "viewportAnchorX", "viewportAnchorY", @@ -31129,12 +31422,18 @@ var domprops = [ "wake", "wakeLock", "wand", + "warmup", "warn", + "wasAlternateProtocolAvailable", "wasClean", "wasDiscarded", + "wasFetchedViaSpdy", + "wasNpnNegotiated", "watch", "watchAvailability", "watchPosition", + "webNavigation", + "webRequest", "webdriver", "webkitAddKey", "webkitAlignContent", @@ -31215,6 +31514,7 @@ var domprops = [ "webkitFlexGrow", "webkitFlexShrink", "webkitFlexWrap", + "webkitFontFeatureSettings", "webkitFullScreenKeyboardInputAllowed", "webkitFullscreenElement", "webkitFullscreenEnabled", @@ -31341,6 +31641,9 @@ var domprops = [ "window", "windowAttribution", "windowControlsOverlay", + "windowId", + "windowIds", + "windows", "with", "withCredentials", "withResolvers", @@ -31388,6 +31691,7 @@ var domprops = [ "y2", "yChannelSelector", "yandex", + "yield", "z", "z-index", "zIndex", @@ -32455,6 +32759,7 @@ async function run_cli({ program, packageJson, fs, path }) { return; } } else if (program.output) { + fs.mkdirSync(path.dirname(program.output), { recursive: true }); fs.writeFileSync(program.output, result.code); if (options.sourceMap && options.sourceMap.url !== "inline" && result.map) { fs.writeFileSync(program.output + ".map", result.map); diff --git a/lib/terser/version.rb b/lib/terser/version.rb index ce7d3b2..47a8949 100644 --- a/lib/terser/version.rb +++ b/lib/terser/version.rb @@ -2,5 +2,5 @@ class Terser # Current version of Terser. - VERSION = "1.2.4" + VERSION = "1.2.5" end diff --git a/vendor/terser b/vendor/terser index d3eac90..58ba5c1 160000 --- a/vendor/terser +++ b/vendor/terser @@ -1 +1 @@ -Subproject commit d3eac90c7573c80431109b8c1cc15de5b7cca6aa +Subproject commit 58ba5c163fa1684f2a63c7bc19b7ebcf85b74f73 From 4deec2d547a3ff1bf19d34b97f6117e91861cd14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Rosick=C3=BD?= Date: Mon, 20 Jan 2025 12:05:00 +0100 Subject: [PATCH 2/3] default rubygems --- .github/workflows/ruby.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index ebb4ced..eb4de39 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -32,8 +32,6 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - - name: Update rubygems - run: gem update --system - name: Install dependencies env: BUNDLE_GEMFILE: ${{ matrix.gemfile || 'Gemfile' }} From 09ba59a78dbbd1bf633e6c8837785a95dfd7360e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Rosick=C3=BD?= Date: Mon, 20 Jan 2025 12:07:00 +0100 Subject: [PATCH 3/3] update jruby --- .github/workflows/ruby.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index eb4de39..99628ec 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -20,7 +20,7 @@ jobs: - { ruby: 3.1, c-o-e: false } - { ruby: 3.2, c-o-e: false } - { ruby: 3.3, c-o-e: false } - - { ruby: jruby-9.4.7.0, c-o-e: false } + - { ruby: jruby-9.4.9.0, c-o-e: false } - { ruby: ruby-head, c-o-e: true } - { ruby: jruby-head, c-o-e: true } - { ruby: truffleruby, c-o-e: true }