Skip to content

Commit

Permalink
Merge pull request #307 from unbxd/feature-vulnerability
Browse files Browse the repository at this point in the history
Feature vulnerability
  • Loading branch information
divyadaglia-unbxd authored Jul 10, 2023
2 parents 2c91559 + 8739d06 commit 4404bf9
Show file tree
Hide file tree
Showing 22 changed files with 25,004 additions and 27,725 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"plugins": [
["@babel/plugin-proposal-class-properties", { "loose": true }],
["@babel/plugin-proposal-private-methods", { "loose": true}],
"@babel/plugin-syntax-class-properties",
["@babel/plugin-syntax-class-properties"],
["@babel/plugin-transform-runtime", { "regenerator": true}]
]
}
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 14.15.0
node-version: 16.14.0

- name: Check Cache
uses: actions/cache@v2
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 14.15.0
node-version: 16.14.0

- name: Check Cache
uses: actions/cache@v2
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ Follow this process if you'd like your work considered for inclusion in the proj
8. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
with a clear title and description.
**IMPORTANT**: Max supported version of @unbxd-ui/unbxd-search-core is 0.4.33
**IMPORTANT**: By submitting a patch, you agree to allow the project owner to license your work under the same license as that used by this project (MIT).
<a name="running-the-app"></a>
Expand Down
16,545 changes: 0 additions & 16,545 deletions demo/package-lock.json

This file was deleted.

12 changes: 6 additions & 6 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@
"css-loader": "^3.6.0",
"html-webpack-plugin": "^4.3.0",
"mini-css-extract-plugin": "^0.9.0",
"node-sass": "^4.14.1",
"node-sass": "^6.0.1",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"sass-loader": "^9.0.1",
"style-loader": "^1.2.1",
"sass-loader": "10.4.1",
"style-loader": "^3.3.3",
"terser-webpack-plugin": "^3.0.6",
"webpack": "^4.43.0",
"webpack": "5.20.0",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
"webpack-cli": "5.1.4",
"webpack-dev-server": "4.15.1"
},
"development": [
"ie 11",
Expand Down
10 changes: 2 additions & 8 deletions demo/src/config/categoryLinkConfigurations.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
const categoryLinks = [
{
path: 'itemGroupIds:1800',
path: 'categoryPath:cat3410002',
id: 'strings',
label: 'Tops'
},
{
path: 'itemGroupIds:185',
path: 'categoryPath:cat1910047',
id: 'accessories',
label: 'Jeans'
},
{ path: 'categoryPath:cat740011', id: 'grips', label: 'New' },
{
path: 'categoryPath:cat120002',
id: 'balls',
label: 'Sale '
}
];

Expand Down
2 changes: 1 addition & 1 deletion demo/src/pages/Accessories.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Accessories = () => {
useEffect(() => {
if(location.href.indexOf("accessories") > 0) {
window.UnbxdAnalyticsConf = {};
window.UnbxdAnalyticsConf['page'] = 'itemGroupIds:185';
window.UnbxdAnalyticsConf['page'] = 'categoryPath:cat1910047';
window.UnbxdAnalyticsConf['page_type'] = 'BOOLEAN';
setProductType('CATEGORY');
}
Expand Down
2 changes: 1 addition & 1 deletion demo/src/pages/Strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Strings = () => {
useEffect(() => {
if(location.href.indexOf("strings") > 0) {
window.UnbxdAnalyticsConf = {};
window.UnbxdAnalyticsConf['page'] = 'itemGroupIds:1800';
window.UnbxdAnalyticsConf['page'] = 'categoryPath:cat3410002';
window.UnbxdAnalyticsConf['page_type'] = 'BOOLEAN';
setProductType('CATEGORY');
}
Expand Down
5 changes: 4 additions & 1 deletion demo/webpack/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ module.exports = {
}
},
devServer: {
contentBase: './dist',
static: {
directory: './dist',
},
//contentBase: './dist',
open: false,
hot: true,
port: 6969,
Expand Down
Loading

0 comments on commit 4404bf9

Please sign in to comment.