Socket
Socket
Sign inDemoInstall

@surma/rollup-plugin-off-main-thread

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@surma/rollup-plugin-off-main-thread - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

6

index.js

@@ -21,2 +21,4 @@ /**

const json5 = require("json5");
// See https://github.com/surma/rollup-plugin-off-main-thread/issues/49
const matchAll = require("string.prototype.matchall");

@@ -103,3 +105,3 @@ const defaultOpts = {

for (const match of code.matchAll(workerRegexpForTransform)) {
for (const match of matchAll(code, workerRegexpForTransform)) {
let [

@@ -266,3 +268,3 @@ fullMatch,

for (const match of code.matchAll(workerRegexpForOutput)) {
for (const match of matchAll(code, workerRegexpForOutput)) {
let [fullMatch, optionsWithCommaStr, optionsStr] = match;

@@ -269,0 +271,0 @@ let options;

{
"name": "@surma/rollup-plugin-off-main-thread",
"version": "2.2.2",
"version": "2.2.3",
"description": "Use Rollup with workers and ES6 modules today.",

@@ -33,4 +33,5 @@ "main": "index.js",

"json5": "^2.2.0",
"magic-string": "^0.25.0"
"magic-string": "^0.25.0",
"string.prototype.matchall": "^4.0.6"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc