Skip to content

Commit c33254a

Browse files
committed
patch for ip cve fix
**Description** - added patch for updating [email protected] to [email protected] **Motivation** There is a CVE for [email protected] that is fixed with [email protected]
1 parent e25a34b commit c33254a

File tree

5 files changed

+39
-5
lines changed

5 files changed

+39
-5
lines changed

CONTRIBUTING.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,22 @@ [email protected] with any additional questions or comments.
5353
## Security issue notifications
5454
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
5555

56+
[Source](https://raphaelhertzog.com/2012/08/08/how-to-use-quilt-to-manage-patches-in-debian-packages/)
57+
58+
### Patching Code
59+
60+
0. You can go through the patch stack with `quilt push` and `quilt pop`.
61+
1. Create a new patch (`quilt new {name}.diff`) or use an existing patch.
62+
1. Add the file(s) you are patching (`quilt add [-P patch] {file}`). A file
63+
**must** be added before you make changes to it.
64+
1. Make your changes. Patches do not need to be independent of each other but
65+
each patch must result in a working sagemaker-code-editor without any broken in-between
66+
states otherwise they are difficult to test and modify.
67+
1. Add your changes to the patch (`quilt refresh`)
68+
1. Add a comment in the patch about the reason for the patch and how to
69+
reproduce the behavior it fixes or adds. Every patch should have an e2e test
70+
as well.
71+
5672

5773
## Licensing
5874

patched-vscode/product.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@
4747
"linkProtectionTrustedDomains": [
4848
"https://open-vsx.org"
4949
]
50-
}
50+
}

patched-vscode/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5567,9 +5567,9 @@ invert-kv@^2.0.0:
55675567
integrity sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==
55685568

55695569
ip@^2.0.0:
5570-
version "2.0.0"
5571-
resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da"
5572-
integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==
5570+
version "2.0.1"
5571+
resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.1.tgz#e8f3595d33a3ea66490204234b77636965307105"
5572+
integrity sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==
55735573

55745574
is-absolute-url@^2.0.0:
55755575
version "2.1.0"

patches/security.diff

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Index: smce/vscode/yarn.lock
2+
===================================================================
3+
--- smce.orig/vscode/yarn.lock
4+
+++ smce/vscode/yarn.lock
5+
@@ -5567,9 +5567,9 @@ invert-kv@^2.0.0:
6+
integrity sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==
7+
8+
ip@^2.0.0:
9+
- version "2.0.0"
10+
- resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da"
11+
- integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==
12+
+ version "2.0.1"
13+
+ resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.1.tgz#e8f3595d33a3ea66490204234b77636965307105"
14+
+ integrity sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==
15+
16+
is-absolute-url@^2.0.0:
17+
version "2.1.0"

patches/series

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
security.diff
12
sagemaker-extension.diff
23
disable-online-services.diff
34
disable-telemetry.diff
45
base-path.diff
56
webview.diff
67
local-storage.diff
78
sagemaker-integration.diff
8-
license.diff
9+
license.diff

0 commit comments

Comments
 (0)