Socket
Socket
Sign inDemoInstall

@webextension-toolbox/webpack-webextension-plugin

Package Overview
Dependencies
17
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.1 to 3.3.1

10

CHANGELOG.md

@@ -10,2 +10,12 @@ # Changelog

## [3.3.1] - 2024-01-07
### Changed
- Added non default export for esm imports
### Changed
- Updated Readme
## [3.2.1] - 2023-10-28

@@ -12,0 +22,0 @@

5

dist/index.d.ts

@@ -17,3 +17,3 @@ import { Compiler, Compilation, Stats } from "webpack";

}
export default class WebextensionPlugin {
declare class WebextensionPlugin {
port: number;

@@ -164,2 +164,3 @@ host: string;

}
export {};
export { WebextensionPlugin };
export default WebextensionPlugin;

2

dist/index.js

@@ -29,2 +29,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.WebextensionPlugin = void 0;
const path_1 = __importDefault(require("path"));

@@ -439,2 +440,3 @@ const util_1 = require("util");

}
exports.WebextensionPlugin = WebextensionPlugin;
exports.default = WebextensionPlugin;
{
"name": "@webextension-toolbox/webpack-webextension-plugin",
"version": "3.2.1",
"version": "3.3.1",
"description": "Webpack plugin that compiles web-extension manifest.json files and adds smart auto reload",

@@ -38,4 +38,4 @@ "main": "./dist/index.js",

"dependencies": {
"@types/chrome": "^0.0.248",
"@types/firefox-webext-browser": "^111.0.3",
"@types/chrome": "^0.0.253",
"@types/firefox-webext-browser": "^120.0.0",
"ajv": "^6.12.6",

@@ -48,11 +48,11 @@ "mustache": "^4.2.0",

"@tsconfig/node18": "^18.2.2",
"@types/jest": "^29.5.6",
"@types/mustache": "^4.2.4",
"@types/webpack": "^5.28.4",
"@types/webpack-sources": "^3.2.2",
"@types/ws": "^8.5.8",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@types/jest": "^29.5.10",
"@types/mustache": "^4.2.5",
"@types/webpack": "^5.28.5",
"@types/webpack-sources": "^3.2.3",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"concurrently": "^8.2.2",
"eslint": "^8.52.0",
"eslint": "^8.54.0",
"eslint-config-airbnb-base": "^15.0.0",

@@ -62,6 +62,6 @@ "eslint-config-prettier": "^9.0.0",

"jest": "^29.7.0",
"prettier": "^3.0.3",
"prettier": "^3.1.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2",
"ts-loader": "^9.5.1",
"typescript": "^5.3.2",
"typescript-json-schema": "^0.62.0",

@@ -68,0 +68,0 @@ "webpack": "^5.89.0",

@@ -28,3 +28,3 @@ [<img align="right" src="./.github/assets/icon.svg?sanitize=true">](https://www.npmjs.com/package/webpack-webextension-plugin)

```js
const WebextensionPlugin = require("webpack-webextension-plugin");
import WebextensionPlugin from "@webextension-toolbox/webpack-webextension-plugin";

@@ -31,0 +31,0 @@ const config = {

@@ -7,2 +7,3 @@ {

"browser_style": {
"description": "Deprecated in Manifest V3.",
"type": "boolean"

@@ -56,2 +57,5 @@ },

"$ref": "#/definitions/browser._manifest.FirefoxSpecificProperties"
},
"gecko_android": {
"$ref": "#/definitions/browser._manifest.GeckoAndroidSpecificProperties"
}

@@ -122,2 +126,13 @@ },

},
"browser._manifest.DeprecatedApplications": {
"properties": {
"gecko": {
"$ref": "#/definitions/browser._manifest.FirefoxSpecificProperties"
},
"gecko_android": {
"$ref": "#/definitions/browser._manifest.GeckoAndroidSpecificProperties"
}
},
"type": "object"
},
"browser._manifest.FirefoxSpecificProperties": {

@@ -140,2 +155,13 @@ "properties": {

},
"browser._manifest.GeckoAndroidSpecificProperties": {
"properties": {
"strict_max_version": {
"type": "string"
},
"strict_min_version": {
"type": "string"
}
},
"type": "object"
},
"browser._manifest.ProtocolHandler": {

@@ -389,3 +415,2 @@ "description": "Represents a protocol handler definition.",

"browser._manifest._WebExtensionManifestDeclarativeNetRequest": {
"description": "Needs at least manifest version 3.",
"properties": {

@@ -440,5 +465,7 @@ "rule_resources": {

"browser_style": {
"description": "Defaults to true in Manifest V2; Deprecated in Manifest V3.",
"type": "boolean"
},
"chrome_style": {
"description": "chrome_style is ignored in Firefox. Its replacement (browser_style) has been deprecated.\nNot supported on manifest versions above 2.",
"type": "boolean"

@@ -458,2 +485,3 @@ },

"browser_style": {
"description": "Deprecated in Manifest V3.",
"type": "boolean"

@@ -504,2 +532,3 @@ },

"browser_style": {
"description": "Defaults to true in Manifest V2; Deprecated in Manifest V3.",
"type": "boolean"

@@ -684,3 +713,3 @@ },

"applications": {
"$ref": "#/definitions/browser._manifest.BrowserSpecificSettings",
"$ref": "#/definitions/browser._manifest.DeprecatedApplications",
"description": "The applications property is deprecated, please use 'browser_specific_settings'\nNot supported on manifest versions above 2."

@@ -716,2 +745,9 @@ },

"type": "array"
},
"type": {
"enum": [
"classic",
"module"
],
"type": "string"
}

@@ -773,4 +809,3 @@ },

"declarative_net_request": {
"$ref": "#/definitions/browser._manifest._WebExtensionManifestDeclarativeNetRequest",
"description": "Needs at least manifest version 3."
"$ref": "#/definitions/browser._manifest._WebExtensionManifestDeclarativeNetRequest"
},

@@ -777,0 +812,0 @@ "default_locale": {

@@ -162,2 +162,3 @@ {

"declarativeNetRequestFeedback",
"declarativeNetRequestWithHostAccess",
"declarativeWebRequest",

@@ -201,2 +202,3 @@ "desktopCapture",

"sessions",
"sidePanel",
"signedInDevices",

@@ -444,2 +446,9 @@ "storage",

"type": "string"
},
"world": {
"enum": [
"ISOLATED",
"MAIN"
],
"type": "string"
}

@@ -446,0 +455,0 @@ },

@@ -34,3 +34,3 @@ import path from "path";

export default class WebextensionPlugin {
class WebextensionPlugin {
port: number;

@@ -552,1 +552,4 @@

}
export { WebextensionPlugin };
export default WebextensionPlugin;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc