Skip to content

Commit

Permalink
Dependabot alert fix - Update braces library to latest version (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyaginidhi authored Jul 11, 2024
1 parent a6ece55 commit 85f1958
Show file tree
Hide file tree
Showing 5 changed files with 1,171 additions and 2,971 deletions.
4 changes: 4 additions & 0 deletions gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import gulpWebpack from 'webpack-stream';
import webpack from 'webpack';
import vsce from '@vscode/vsce';
import yargs from 'yargs';
import plumber from 'gulp-plumber';
const argv = yargs(process.argv.slice(2)).argv; // skip 'node' and 'gulp.js' args

import fetch from 'node-fetch';
Expand Down Expand Up @@ -79,6 +80,7 @@ function setBuildRegion() {
function compile() {
return gulp
.src('src/**/*.ts')
.pipe(plumber()) // Added error handling
.pipe(gulpWebpack(nodeConfig, webpack))
.pipe(replace("src\\\\client\\\\lib\\\\", "src/client/lib/")) // Hacky fix: vscode-nls-dev/lib/webpack-loader uses Windows style paths when built on Windows, breaking localization on Linux & Mac
.pipe(gulp.dest(distdir));
Expand All @@ -87,6 +89,7 @@ function compile() {
function compileWeb() {
return gulp
.src('src/web/**/*.ts')
.pipe(plumber()) // Added error handling
.pipe(gulpWebpack(webConfig, webpack))
.pipe(replace("src\\\\client\\\\lib\\\\", "src/client/lib/")) // Hacky fix: vscode-nls-dev/lib/webpack-loader uses Windows style paths when built on Windows, breaking localization on Linux & Mac
.pipe(gulp.dest(path.resolve(`${distdir}/web`)));
Expand All @@ -96,6 +99,7 @@ function compileWeb() {
function compileWorker() {
return gulp
.src(["src/web/**/*.ts"])
.pipe(plumber()) // Added error handling
.pipe(gulpWebpack(webWorkerConfig, webpack))
.pipe(gulp.dest(path.resolve(`${distdir}/web`)));
}
Expand Down
11 changes: 11 additions & 0 deletions l10n/bundle.l10n.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,12 @@
"Hi! Instantly generate code for Power Pages sites by typing in what you need. To start using Copilot, log in to your Microsoft account.": "Hi! Instantly generate code for Power Pages sites by typing in what you need. To start using Copilot, log in to your Microsoft account.",
"Login": "Login",
"Hi": "Hi",
"In your own words, describe what you need. You can get help with writing code for Power Pages sites in HTML, CSS, and JS languages.": "In your own words, describe what you need. You can get help with writing code for Power Pages sites in HTML, CSS, and JS languages.",
"To know more, see <a href=\"https://go.microsoft.com/fwlink/?linkid=2206366\">Copilot in Power Pages documentation.": "To know more, see <a href=\"https://go.microsoft.com/fwlink/?linkid=2206366\">Copilot in Power Pages documentation.",
"Working on it...": "Working on it...",
"Copied to clipboard!": "Copied to clipboard!",
"What do you need help with?": "What do you need help with?",
"Make sure AI-generated content is accurate and appropriate before using. <a href=\"https://go.microsoft.com/fwlink/?linkid=2240145\">Learn more</a> | <a href=\"https://go.microsoft.com/fwlink/?linkid=2189520\">View\n terms</a>": "Make sure AI-generated content is accurate and appropriate before using. <a href=\"https://go.microsoft.com/fwlink/?linkid=2240145\">Learn more</a> | <a href=\"https://go.microsoft.com/fwlink/?linkid=2189520\">View\n terms</a>",
"Let Copilot help you code": "Let Copilot help you code",
"Whether it’s HTML, CSS, JS, or Liquid code, just describe what you need and let AI build it for you. ": "Whether it’s HTML, CSS, JS, or Liquid code, just describe what you need and let AI build it for you. ",
"Try Copilot for Power Pages": "Try Copilot for Power Pages",
Expand Down Expand Up @@ -104,6 +106,7 @@
"{0} represents the name of the file"
]
},
"Some references might be broken. Please check diagnostics for details.": "Some references might be broken. Please check diagnostics for details.",
"Enter the name of the web template": "Enter the name of the web template",
"Please enter a name for the web template.": "Please enter a name for the web template.",
"A webtemplate with the same name already exists. Please enter a different name.": "A webtemplate with the same name already exists. Please enter a different name.",
Expand All @@ -119,6 +122,12 @@
"No parent pages found for adding webfile": "No parent pages found for adding webfile",
"File(s) already exist. No new files to add": "File(s) already exist. No new files to add",
"Web files": "Web files",
"Adding {0} web file(s). Existing files will be skipped/{0} represents the number of web files": {
"message": "Adding {0} web file(s). Existing files will be skipped",
"comment": [
"{0} represents the number of web files"
]
},
"Webfile(s) added successfully": "Webfile(s) added successfully",
"Page Template name cannot be empty.": "Page Template name cannot be empty.",
"New Page Template": "New Page Template",
Expand All @@ -127,6 +136,8 @@
"A page template with the same name already exists. Please enter a different name.": "A page template with the same name already exists. Please enter a different name.",
"No Website Data Found in Current Directory. Please switch to a directory that contains the PAC downloaded website data to continue.": "No Website Data Found in Current Directory. Please switch to a directory that contains the PAC downloaded website data to continue.",
"No workspace folder found": "No workspace folder found",
"Operation failed. See output panel for details.": "Operation failed. See output panel for details.",
"Show Output Panel": "Show Output Panel",
"New Content Snippet": "New Content Snippet",
"Add content snippet name (name should be unique)": "Add content snippet name (name should be unique)",
"Select Type": "Select Type",
Expand Down
20 changes: 20 additions & 0 deletions loc/translations-export/vscode-powerplatform.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
<trans-unit id="++CODE++b544cb198e99ff113ac41467fc99191f11916287ccdb1ae619dba61dd6bbeff6">
<source xml:lang="en">Add content snippet name (name should be unique)</source>
</trans-unit>
<trans-unit id="++CODE++e7027d80d4c05ae510621f20062db71d499cbd4f8760e3076a3530220fbf0a18">
<source xml:lang="en">Adding {0} web file(s). Existing files will be skipped</source>
<note>{0} represents the number of web files</note>
</trans-unit>
<trans-unit id="++CODE++3f82badfcbab5f7d6e5a4886a6df032cc28cdf5fe200a85bafd86101efe126c9">
<source xml:lang="en">Are you sure you want to clear all the Auth Profiles?</source>
</trans-unit>
Expand Down Expand Up @@ -168,6 +172,9 @@ The {3} represents Solution's Type (Managed or Unmanaged), but that test is loca
<trans-unit id="++CODE++1d9bc50f05b58d430726840f771cd25056be57873eb33a5d6aeedfff2ca7e2db">
<source xml:lang="en">Hi! Your Microsoft account doesn’t currently support Copilot. Contact your admin for details.</source>
</trans-unit>
<trans-unit id="++CODE++08295f3385931e35c850b945e2ae04882452c4bf0dd575f70e95aaa6ed00daa9">
<source xml:lang="en">In your own words, describe what you need. You can get help with writing code for Power Pages sites in HTML, CSS, and JS languages.</source>
</trans-unit>
<trans-unit id="++CODE++e992151b1efc99f93484c7d7f3076b66ab072a8af2383e96104cc597c971339c">
<source xml:lang="en">Insert code into editor</source>
</trans-unit>
Expand All @@ -187,6 +194,10 @@ The {3} represents Solution's Type (Managed or Unmanaged), but that test is loca
<trans-unit id="++CODE++9d6322c1f4d9d3f38aed8bfbe0b2bcadf66ad82c008476fa62541fa069138e94">
<source xml:lang="en">Login</source>
</trans-unit>
<trans-unit id="++CODE++1be32f89a3d1d98bb7011850e83b5753124d58f684bae063674bfdb106026e6d">
<source xml:lang="en">Make sure AI-generated content is accurate and appropriate before using. &lt;a href=&quot;https://go.microsoft.com/fwlink/?linkid=2240145&quot;&gt;Learn more&lt;/a&gt; | &lt;a href=&quot;https://go.microsoft.com/fwlink/?linkid=2189520&quot;&gt;View
terms&lt;/a&gt;</source>
</trans-unit>
<trans-unit id="++CODE++8f2de600bf940a26c63a7ac23984a12ca8970fcf1a85947aa5566c34e23eea07">
<source xml:lang="en">Managed</source>
</trans-unit>
Expand Down Expand Up @@ -247,6 +258,9 @@ The {3} represents Dataverse Environment's Organization ID (GUID)</note>
<trans-unit id="++CODE++dac0ee62a5197a3722a9e7e9e851e80504cced8a13ce8b17842d78e8313578c2">
<source xml:lang="en">Opening preview site...</source>
</trans-unit>
<trans-unit id="++CODE++5cac0147c19013eb88b1fc8dc0d066b48e9f5cfcdbc9737a29d544d9bd61db55">
<source xml:lang="en">Operation failed. See output panel for details.</source>
</trans-unit>
<trans-unit id="++CODE++d4dc9d620b68b70e7de4aeaa15e1d83dddb457c64a3cadb35cf1b55025ad194f">
<source xml:lang="en">PAC Telemetry disabled</source>
</trans-unit>
Expand Down Expand Up @@ -311,6 +325,12 @@ The {3} represents Dataverse Environment's Organization ID (GUID)</note>
<trans-unit id="++CODE++d4e969ee5e3ea8fe5e7f9195be448fd5fd5d2cb6f487929c3e495cbbe7e8f1e8">
<source xml:lang="en">Selection is too large. Try making a shorter selection.</source>
</trans-unit>
<trans-unit id="++CODE++899fb203e6c2faac8093e21a2fa8db0d4b13d16ea5492461d8b72dbcee3ecf2a">
<source xml:lang="en">Show Output Panel</source>
</trans-unit>
<trans-unit id="++CODE++27dd8c8e67d15783f51c6b71ed60d5350731daa85b418f1e84c2e5828ae2d54e">
<source xml:lang="en">Some references might be broken. Please check diagnostics for details.</source>
</trans-unit>
<trans-unit id="++CODE++155f816c0407310c0dab222493370773e045ee7fe04e6c9a951b07f495531264">
<source xml:lang="en">Submit</source>
</trans-unit>
Expand Down
Loading

0 comments on commit 85f1958

Please sign in to comment.