Skip to content

Commit 070d46c

Browse files
committed
Pin npm dependencies
1 parent 228f829 commit 070d46c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/main/java/com/flowingcode/vaadin/addons/xterm/XTerm.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
import lombok.experimental.Delegate;
6161

6262
/** Server-side component for the XTerm component. */
63-
@NpmPackage(value = "xterm", version = "^4.3.0")
63+
@NpmPackage(value = "xterm", version = "4.3.0")
6464
@JsModule("./fc-xterm/xterm.js")
6565
@Tag("fc-xterm")
6666
@CssImport("xterm/css/xterm.css")

src/main/java/com/flowingcode/vaadin/addons/xterm/XTermFit.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.
99
* You may obtain a copy of the License at
10-
*
10+
*
1111
* http://www.apache.org/licenses/LICENSE-2.0
12-
*
12+
*
1313
* Unless required by applicable law or agreed to in writing, software
1414
* distributed under the License is distributed on an "AS IS" BASIS,
1515
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -24,7 +24,7 @@
2424
import com.vaadin.flow.component.dependency.NpmPackage;
2525

2626
/**Enables fitting the terminal's dimensions to a containing component*/
27-
@NpmPackage(value = "xterm-addon-fit", version = "^0.3.0")
27+
@NpmPackage(value = "xterm-addon-fit", version = "0.3.0")
2828
@JsModule("./fc-xterm/fit-feature.js")
2929
@Tag("fc-xterm-fit")
3030
@SuppressWarnings("serial")
@@ -33,13 +33,13 @@ public class XTermFit extends XTermFeature {
3333
public void fit() {
3434
getElement().executeJs("this._fitAddon.fit()");
3535
}
36-
36+
3737
public void setFitOnResize(boolean value) {
3838
getElement().setProperty("fitOnResize", value);
3939
}
40-
40+
4141
public boolean isFitOnResize() {
4242
return getElement().getProperty("fitOnResize", false);
4343
}
44-
44+
4545
}

0 commit comments

Comments
 (0)