tech: bump package version, resolve security vulnerabilities
This commit is contained in:
parent
0e0e95330e
commit
283b40de16
59
manifest/manifest.json
Normal file
59
manifest/manifest.json
Normal file
@ -0,0 +1,59 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "pinmenote-dev",
|
||||
"short_name": "pinmenote-dev",
|
||||
"description": "Pin note, modify, draw, comment, archive and save website",
|
||||
"version": "0.1.7",
|
||||
"icons": {
|
||||
"16": "assets/icon/16.png",
|
||||
"32": "assets/icon/32.png",
|
||||
"64": "assets/icon/64.png",
|
||||
"128": "assets/icon/128.png"
|
||||
},
|
||||
"author": "pinmenote (contact@pintmenote.com)",
|
||||
"action": {
|
||||
"default_icon": {
|
||||
"16": "assets/icon/16.png",
|
||||
"24": "assets/icon/24.png",
|
||||
"32": "assets/icon/32.png"
|
||||
},
|
||||
"default_title": "pinmenote-dev",
|
||||
"default_popup": "default-popup/default-popup.html"
|
||||
},
|
||||
"permissions": [
|
||||
"activeTab",
|
||||
"storage",
|
||||
"unlimitedStorage",
|
||||
"scripting",
|
||||
"downloads"
|
||||
],
|
||||
"background": {
|
||||
"service_worker": "service-worker/service-worker.ts",
|
||||
"type": "module"
|
||||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": [
|
||||
"<all_urls>"
|
||||
],
|
||||
"all_frames": false,
|
||||
"js": [
|
||||
"content-script/content-script.ts"
|
||||
],
|
||||
"run_at": "document_start"
|
||||
},
|
||||
{
|
||||
"matches": [
|
||||
"<all_urls>"
|
||||
],
|
||||
"all_frames": true,
|
||||
"js": [
|
||||
"iframe/iframe-script.ts"
|
||||
],
|
||||
"run_at": "document_idle"
|
||||
}
|
||||
],
|
||||
"options_ui": {
|
||||
"page": "options-ui/options-ui.html"
|
||||
}
|
||||
}
|
29428
package-lock.json
generated
29428
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
34
package.json
34
package.json
@ -35,28 +35,27 @@
|
||||
"pinmenote-firefox-dev": {}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@parcel/compressor-gzip": "^2.8.2",
|
||||
"@parcel/config-webextension": "^2.8.2",
|
||||
"@parcel/reporter-bundle-analyzer": "^2.8.2",
|
||||
"@parcel/transformer-typescript-tsc": "^2.8.2",
|
||||
"@parcel/compressor-gzip": "^2.12.0",
|
||||
"@parcel/config-webextension": "^2.12.0",
|
||||
"@parcel/reporter-bundle-analyzer": "^2.12.0",
|
||||
"@parcel/transformer-typescript-tsc": "^2.12.0",
|
||||
"@types/chrome": "^0.0.239",
|
||||
"@types/firefox-webext-browser": "^111.0.1",
|
||||
"@types/firefox-webext-browser": "^111.0.5",
|
||||
"@types/marked": "^4.0.8",
|
||||
"@types/node": "^18.16.18",
|
||||
"@types/node": "^18.19.31",
|
||||
"@types/pako": "^2.0.0",
|
||||
"@types/react": "^18.0.15",
|
||||
"@types/react-dom": "^18.0.6",
|
||||
"@types/react": "^18.3.1",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@types/remove-markdown": "^0.3.1",
|
||||
"@types/tinymce": "^4.6.5",
|
||||
"@types/xxhashjs": "^0.2.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
||||
"@typescript-eslint/parser": "^5.62.0",
|
||||
"buffer": "^6.0.3",
|
||||
"eslint": "^8.44.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^8.10.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-react": "^7.32.2",
|
||||
"parcel": "^2.8.2",
|
||||
"eslint-plugin-react": "^7.34.1",
|
||||
"parcel": "^2.12.0",
|
||||
"pre-commit": "^1.2.2",
|
||||
"process": "^0.11.10",
|
||||
"punycode": "^1.4.1",
|
||||
@ -66,10 +65,9 @@
|
||||
"@fontsource/roboto": "^4.5.7",
|
||||
"@mui/icons-material": "^5.8.4",
|
||||
"@mui/material": "^5.9.3",
|
||||
"@mui/x-date-pickers": "^6.1.0",
|
||||
"@noble/ciphers": "^0.3.0",
|
||||
"@noble/curves": "^1.2.0",
|
||||
"@noble/hashes": "^1.3.2",
|
||||
"@noble/curves": "^1.4.0",
|
||||
"@noble/hashes": "^1.4.0",
|
||||
"@pinmenote/browser-api": "^0.0.6",
|
||||
"@pinmenote/fetch-service": "^0.0.5",
|
||||
"@pinmenote/page-compute": "^0.1.6",
|
||||
@ -94,8 +92,8 @@
|
||||
"prosemirror-schema-list": "^1.2.2",
|
||||
"prosemirror-state": "^1.4.2",
|
||||
"prosemirror-view": "^1.29.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"remove-markdown": "^0.5.0",
|
||||
"simplify-js": "^1.2.4"
|
||||
}
|
||||
|
14
src/content-script/override/html.canvas.override.ts
Normal file
14
src/content-script/override/html.canvas.override.ts
Normal file
@ -0,0 +1,14 @@
|
||||
export class HtmlCanvasOverride {
|
||||
static override() {
|
||||
HTMLCanvasElement.prototype.getContext = (function(oldGetContextFn) {
|
||||
return function(type, attrs) {
|
||||
attrs = attrs || {};
|
||||
console.log('ApiOverride.getContext')
|
||||
if (type === "webgl" || type === "webgl2") {
|
||||
attrs.preserveDrawingBuffer = true;
|
||||
}
|
||||
return oldGetContextFn.call(this, type, attrs);
|
||||
};
|
||||
}(HTMLCanvasElement.prototype.getContext));
|
||||
}
|
||||
}
|
@ -28,7 +28,6 @@ import {
|
||||
LICENSE_MATHML_TO_LATEX,
|
||||
LICENSE_MIT,
|
||||
LICENSE_MUI,
|
||||
LICENSE_MUI_X_DATEPICKERS,
|
||||
LICENSE_NANOID,
|
||||
LICENSE_NOBLE_CIPHERS,
|
||||
LICENSE_NOBLE_HASHES_CURVES,
|
||||
@ -68,12 +67,6 @@ const ELEMENTS: OpensourceElement[] = [
|
||||
license: LICENSE_MIT,
|
||||
url: 'https://mui.com/material-ui/'
|
||||
},
|
||||
{
|
||||
title: '@mui/x-date-pickers',
|
||||
licenseHeader: LICENSE_MUI_X_DATEPICKERS,
|
||||
license: LICENSE_MIT,
|
||||
url: 'https://mui.com/x/react-date-pickers/'
|
||||
},
|
||||
{
|
||||
title: 'noble-ciphers',
|
||||
licenseHeader: LICENSE_NOBLE_CIPHERS,
|
||||
|
@ -18,10 +18,6 @@ export const LICENSE_FONTSOURCE = `MIT License
|
||||
Copyright (c) 2023 fontsource
|
||||
`;
|
||||
|
||||
export const LICENSE_MUI_X_DATEPICKERS = `MIT License
|
||||
|
||||
Copyright (c) 2020 Material-UI SAS`;
|
||||
|
||||
export const LICENSE_MUI = `The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Call-Em-All
|
||||
|
Loading…
Reference in New Issue
Block a user