mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
2855bc8f7f
## Addresses #11037 ### Implement the `privacy_preferences` table for the Fleetd Chrome extension. Columns correspond to the available properties of [`chrome.privacy`](https://developer.chrome.com/docs/extensions/reference/privacy/). Chrome on mac: <img width="816" alt="Screenshot 2023-06-23 at 11 55 21 AM" src="https://github.com/fleetdm/fleet/assets/61553566/a4700749-6325-442e-acf2-c14b1c9adf8f"> Chromebook with enterprise access (actual use case): ![Image from iOS](https://github.com/fleetdm/fleet/assets/61553566/93f2243d-357a-4d85-bd20-0aebd178388c) * Chromebook w/o enterprise access: as you can see, sometimes certain APIs are not available - this error occurs because the expected API object that would have a `get` method is actually `undefined` TODO – How to handle this case given that we want to let errors bubble up to the level at which Fleet can catch them? Maybe it would be nice to catch such errors and send them up to the Fleet layer, and still allow the loop to continue to populate the columns whose APIs _are_ available. _Decision: catch API errors here to preserve functionality of the remaining columns_ ![IMG_9407](https://github.com/fleetdm/fleet/assets/61553566/7fb26eb4-44e8-43f8-90c0-8b3d718c5ace) - [x] Changes file - [x] Manual QA --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
181 lines
6.3 KiB
JSON
181 lines
6.3 KiB
JSON
{
|
|
"name": "@fleetdm/fleet",
|
|
"version": "0.99.99",
|
|
"description": "The premier osquery fleet manager.",
|
|
"private": true,
|
|
"scripts": {
|
|
"lint": "eslint frontend cypress --ext .js,.jsx,.ts,.tsx",
|
|
"prettier:check": "prettier --check frontend/**/*.{jsx,js,tsx,ts} ./cypress/**/*.{js,ts}",
|
|
"test": "jest --config ./frontend/test/jest.config.ts",
|
|
"test:ci": "jest --config ./frontend/test/jest.config.ts --ci --coverage",
|
|
"e2e-browser": "cypress open",
|
|
"e2e-browser:free": "yarn cypress open --config-file cypress/cypress-free.json",
|
|
"e2e-browser:premium": "yarn cypress open --config-file cypress/cypress-premium.json",
|
|
"e2e-cli": "cypress run",
|
|
"e2e-cli:free": "yarn cypress run --config-file cypress/cypress-free.json",
|
|
"e2e-cli:premium": "yarn cypress run --config-file cypress/cypress-premium.json",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"dependencies": {
|
|
"@types/dompurify": "3.0.2",
|
|
"ace-builds": "1.4.12",
|
|
"axios": "1.2.3",
|
|
"core-js": "3.25.1",
|
|
"date-fns": "2.28.0",
|
|
"dompurify": "3.0.3",
|
|
"es6-object-assign": "1.1.0",
|
|
"es6-promise": "4.2.8",
|
|
"express": "4.17.3",
|
|
"file-saver": "1.3.8",
|
|
"history": "2.1.0",
|
|
"isomorphic-fetch": "3.0.0",
|
|
"js-md5": "0.7.3",
|
|
"js-yaml": "3.14.1",
|
|
"lodash": "4.17.21",
|
|
"memoize-one": "5.2.1",
|
|
"node-sass": "8.0.0",
|
|
"normalizr": "3.6.2",
|
|
"prop-types": "15.8.1",
|
|
"proxy-middleware": "0.15.0",
|
|
"rc-pagination": "1.16.3",
|
|
"react": "16.14.0",
|
|
"react-accessible-accordion": "3.3.5",
|
|
"react-ace": "9.3.0",
|
|
"react-dom": "16.14.0",
|
|
"react-error-boundary": "3.1.4",
|
|
"react-markdown": "8.0.3",
|
|
"react-query": "3.34.16",
|
|
"react-router": "3.2.6",
|
|
"react-router-transition": "1.2.1",
|
|
"react-select": "1.3.0",
|
|
"react-select-5": "npm:react-select@5.4.0",
|
|
"react-table": "7.7.0",
|
|
"react-tabs": "3.2.3",
|
|
"react-tooltip": "4.2.21",
|
|
"remark-gfm": "3.0.1",
|
|
"select": "1.1.2",
|
|
"sockjs-client": "1.6.1",
|
|
"sqlite-parser": "1.0.1",
|
|
"use-debounce": "9.0.4",
|
|
"uuid": "8.3.2",
|
|
"when": "3.7.8"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.17.6",
|
|
"@babel/core": "7.18.10",
|
|
"@babel/plugin-proposal-class-properties": "7.16.7",
|
|
"@babel/plugin-proposal-decorators": "7.17.2",
|
|
"@babel/plugin-proposal-do-expressions": "7.16.7",
|
|
"@babel/plugin-proposal-export-default-from": "7.16.7",
|
|
"@babel/plugin-proposal-export-namespace-from": "7.16.7",
|
|
"@babel/plugin-proposal-function-bind": "7.16.7",
|
|
"@babel/plugin-proposal-function-sent": "7.16.7",
|
|
"@babel/plugin-proposal-json-strings": "7.16.7",
|
|
"@babel/plugin-proposal-logical-assignment-operators": "7.16.7",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "7.16.7",
|
|
"@babel/plugin-proposal-numeric-separator": "7.16.7",
|
|
"@babel/plugin-proposal-optional-chaining": "7.16.7",
|
|
"@babel/plugin-proposal-pipeline-operator": "7.17.6",
|
|
"@babel/plugin-proposal-throw-expressions": "7.16.7",
|
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
|
"@babel/plugin-syntax-import-meta": "7.10.4",
|
|
"@babel/preset-env": "^7.21.5",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"@babel/preset-typescript": "^7.21.5",
|
|
"@storybook/addon-a11y": "^7.0.7",
|
|
"@storybook/addon-actions": "7.0.7",
|
|
"@storybook/addon-essentials": "7.0.7",
|
|
"@storybook/addon-links": "7.0.7",
|
|
"@storybook/addon-mdx-gfm": "7.0.7",
|
|
"@storybook/react": "7.0.7",
|
|
"@storybook/react-webpack5": "7.0.7",
|
|
"@testing-library/cypress": "8.0.2",
|
|
"@testing-library/jest-dom": "5.16.2",
|
|
"@testing-library/react": "12.1.4",
|
|
"@testing-library/user-event": "14.4.3",
|
|
"@tsconfig/recommended": "1.0.1",
|
|
"@types/chrome": "0.0.237",
|
|
"@types/classnames": "0.0.32",
|
|
"@types/cypress": "1.1.3",
|
|
"@types/expect": "1.20.3",
|
|
"@types/file-saver": "2.0.5",
|
|
"@types/js-md5": "0.4.3",
|
|
"@types/js-yaml": "4.0.5",
|
|
"@types/lodash": "4.14.179",
|
|
"@types/memoize-one": "5.1.2",
|
|
"@types/mocha": "2.2.48",
|
|
"@types/node": "14.18.12",
|
|
"@types/prop-types": "15.7.4",
|
|
"@types/react": "17.0.40",
|
|
"@types/react-router": "3.0.28",
|
|
"@types/react-select": "1.3.0",
|
|
"@types/react-table": "7.7.7",
|
|
"@types/react-tabs": "2.3.4",
|
|
"@types/react-tooltip": "4.2.4",
|
|
"@types/sockjs-client": "1.5.1",
|
|
"@types/uuid": "8.3.4",
|
|
"@typescript-eslint/eslint-plugin": "5.58.0",
|
|
"@typescript-eslint/parser": "5.58.0",
|
|
"autoprefixer": "9.8.8",
|
|
"babel-core": "7.0.0-bridge.0",
|
|
"babel-eslint": "9.0.0",
|
|
"babel-jest": "29.2.0",
|
|
"babel-loader": "8.2.3",
|
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
"bourbon": "5.1.0",
|
|
"classnames": "2.2.5",
|
|
"css-loader": "6.7.3",
|
|
"cypress": "9.5.1",
|
|
"cypress-wait-until": "1.7.2",
|
|
"esbuild-loader": "2.18.0",
|
|
"eslint": "7.32.0",
|
|
"eslint-config-airbnb": "15.1.0",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-import-resolver-webpack": "0.10.0",
|
|
"eslint-plugin-cypress": "2.12.1",
|
|
"eslint-plugin-import": "2.25.4",
|
|
"eslint-plugin-jest": "20.0.3",
|
|
"eslint-plugin-jsx-a11y": "5.1.1",
|
|
"eslint-plugin-prettier": "3.4.1",
|
|
"eslint-plugin-react": "7.29.4",
|
|
"eslint-plugin-react-hooks": "4.3.0",
|
|
"eslint-plugin-storybook": "^0.6.11",
|
|
"expect": "1.20.2",
|
|
"fork-ts-checker-webpack-plugin": "6.5.0",
|
|
"html-webpack-plugin": "5.5.0",
|
|
"identity-obj-proxy": "3.0.0",
|
|
"ignore-styles": "5.0.1",
|
|
"jest": "29.2.0",
|
|
"jest-environment-jsdom": "29.2.0",
|
|
"jest-environment-jsdom-sixteen": "1.0.3",
|
|
"jsdom": "16.7.0",
|
|
"json-loader": "0.5.7",
|
|
"mini-css-extract-plugin": "2.7.5",
|
|
"msw": "0.47.4",
|
|
"nock": "13.2.4",
|
|
"node-bourbon": "4.2.8",
|
|
"node-sass-glob-importer": "5.3.2",
|
|
"postcss-loader": "3.0.0",
|
|
"prettier": "2.2.1",
|
|
"react-docgen-typescript-plugin": "^1.0.5",
|
|
"regenerator-runtime": "0.13.9",
|
|
"sass-loader": "13.2.2",
|
|
"storybook": "7.0.7",
|
|
"storybook-addon-designs": "^7.0.0-beta.2",
|
|
"trace-unhandled": "2.0.1",
|
|
"ts-loader": "6.2.2",
|
|
"ts-node": "10.7.0",
|
|
"tslint": "5.10.0",
|
|
"tslint-react": "3.6.0",
|
|
"typescript": "4.6.2",
|
|
"webpack": "5.78.0",
|
|
"webpack-cli": "5.0.1",
|
|
"webpack-notifier": "1.12.0"
|
|
},
|
|
"browserslist": [
|
|
"defaults"
|
|
],
|
|
"license": "SEE LICENSE IN ./LICENSE"
|
|
}
|