Skip to content

Commit

Permalink
Merge pull request #49 from cisagov/48-fix-lint-issues-related-to-jso…
Browse files Browse the repository at this point in the history
…n-files

Fix JSON Lint Issues.
  • Loading branch information
schmelz21 authored Mar 19, 2024
2 parents bd46d12 + 100784a commit 8fe2660
Show file tree
Hide file tree
Showing 16 changed files with 32,521 additions and 32,325 deletions.
13,582 changes: 6,791 additions & 6,791 deletions backend/package-lock.json

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions backend/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
{
"name": "crossfeed-backend",
"version": "1.0.0",
"description": "",
"engines": {
"node": ">=18.0.0"
},
"engineStrict": true,
"author": "",
"dependencies": {
"@aws-sdk/client-cloudwatch-logs": "^3.417.0",
"@aws-sdk/client-ssm": "^3.414.0",
Expand Down Expand Up @@ -53,6 +47,7 @@
"wappalyzer-core": "^6.10.63",
"ws": "^8.13.0"
},
"description": "",
"devDependencies": {
"@jest/globals": "^29",
"@types/aws-lambda": "^8.10.62",
Expand Down Expand Up @@ -92,28 +87,33 @@
"webpack": "^5.88",
"webpack-cli": "^5.1"
},
"engineStrict": true,
"engines": {
"node": ">=18.0.0"
},
"license": "ISC",
"name": "crossfeed-backend",
"overrides": {
"execa": "^5.1.1",
"file-type": "^16.5.4",
"superagent": "^8.0.5",
"xml2js": "0.5.0",
"kind-of": "^6.0.3",
"execa": "^5.1.1",
"natural": "^6.5.0",
"semver": "^7.5.3"
"semver": "^7.5.3",
"superagent": "^8.0.5",
"xml2js": "0.5.0"
},
"scripts": {
"test": "jest --detectOpenHandles",
"test-python": "pytest",
"lint": "eslint '**/*.{ts,tsx,js,jsx}'",
"lint:fix": "eslint '**/*.{ts,tsx,js,jsx}' --fix",
"codegen": "ts-node src/tools/generate-types.ts",
"build-worker": "sh ./tools/build-worker.sh",
"deploy-worker-staging": "./tools/deploy-worker.sh",
"codegen": "ts-node src/tools/generate-types.ts",
"control-queue": "docker-compose exec -T backend npx ts-node src/tools/consumeControlQueue.ts",
"deploy-worker-prod": "./tools/deploy-worker.sh crossfeed-prod-worker",
"syncdb": "docker-compose exec -T backend npx ts-node src/tools/run-syncdb.ts",
"deploy-worker-staging": "./tools/deploy-worker.sh",
"lint": "eslint '**/*.{ts,tsx,js,jsx}'",
"lint:fix": "eslint '**/*.{ts,tsx,js,jsx}' --fix",
"pesyncdb": "docker-compose exec -T backend npx ts-node src/tools/run-pesyncdb.ts",
"control-queue": "docker-compose exec -T backend npx ts-node src/tools/consumeControlQueue.ts"
"syncdb": "docker-compose exec -T backend npx ts-node src/tools/run-syncdb.ts",
"test": "jest --detectOpenHandles",
"test-python": "pytest"
},
"author": "",
"license": "ISC"
"version": "1.0.0"
}
66 changes: 33 additions & 33 deletions backend/src/tasks/helpers/technologies_backup.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
{
"Telerik UI for ASP.NET AJAX": {
"__comments__":"TODO: this needs to be added back to the main file once we fix the test",
"cats": [
59
],
"cpe": "cpe:/a:telerik:ui_for_asp.net_ajax",
"js": {
"Telerik": ""
},
"html": [
"[<link|<script].*?Telerik\\.Web\\.UI\\.WebResource\\.axd",
"[<link|<script].*?Telerik\\.Web\\.UI\\.WebResource\\.axd\\?.*?Telerik\\.Web\\.UI%2c\\+Version%3d(20.*?)%2c\\;version:\\1",
"<!-- (20\\d{2}\\.\\d\\.\\d{3}\\.\\d{2}) -->\\;version:\\1"
],
"website": "https://www.telerik.com/products/aspnet-ajax.aspx",
"examples": [
{
"name": "with version",
"html": "<head><link href=\"/Telerik.Web.UI.WebResource.axd?compress=1&amp;_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2014.2.724.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d7a3d4%3aen-US%3af-7b88-4e1e-8026-2b8c288%3aed2942d4\" type=\"text/css\" rel=\"stylesheet\" /></head>",
"version": "2014.2.724.40"
},
{
"name": "with no version",
"html": "<script src=\"/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl02_TSM&amp;compress=0&amp;_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d7a3d4%3aen-US%3af-7b88-4e1e-8026-2b8c288%3aed2942d4\" type=\"text/javascript\"></script>",
"version": ""
},
{
"name": "with version in comment",
"html": "\t<!-- 2016.1.113.45 --><ul",
"version": "2016.1.113.45"
}
]
}
"Telerik UI for ASP.NET AJAX": {
"__comments__": "TODO: this needs to be added back to the main file once we fix the test",
"cats": [
59
],
"cpe": "cpe:/a:telerik:ui_for_asp.net_ajax",
"examples": [
{
"html": "<head><link href=\"/Telerik.Web.UI.WebResource.axd?compress=1&amp;_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2014.2.724.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d7a3d4%3aen-US%3af-7b88-4e1e-8026-2b8c288%3aed2942d4\" type=\"text/css\" rel=\"stylesheet\" /></head>",
"name": "with version",
"version": "2014.2.724.40"
},
{
"html": "<script src=\"/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl02_TSM&amp;compress=0&amp;_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d7a3d4%3aen-US%3af-7b88-4e1e-8026-2b8c288%3aed2942d4\" type=\"text/javascript\"></script>",
"name": "with no version",
"version": ""
},
{
"html": "\t<!-- 2016.1.113.45 --><ul",
"name": "with version in comment",
"version": "2016.1.113.45"
}
],
"html": [
"[<link|<script].*?Telerik\\.Web\\.UI\\.WebResource\\.axd",
"[<link|<script].*?Telerik\\.Web\\.UI\\.WebResource\\.axd\\?.*?Telerik\\.Web\\.UI%2c\\+Version%3d(20.*?)%2c\\;version:\\1",
"<!-- (20\\d{2}\\.\\d\\.\\d{3}\\.\\d{2}) -->\\;version:\\1"
],
"js": {
"Telerik": ""
},
"website": "https://www.telerik.com/products/aspnet-ajax.aspx"
}
}
Loading

0 comments on commit 8fe2660

Please sign in to comment.