Socket
Socket
Sign inDemoInstall

css-to-js-sourcemap-worker

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 2.0.0

LICENSE

8

package.json
{
"name": "css-to-js-sourcemap-worker",
"version": "1.0.0",
"version": "2.0.0",
"main": "worker.js",
"files": [
"worker.js"
"worker.js",
"mappings.wasm"
],
"scripts": {
"prepare": "webpack-cli"
"prepare": "webpack-cli && node scripts/copy-wasm.js"
},
"devDependencies": {
"css-to-js-sourcemap-core": "*",
"resolve-from": "^4.0.0",
"webpack": "^4.10.2",

@@ -14,0 +16,0 @@ "webpack-cli": "^2.1.4"

@@ -10,4 +10,4 @@ # css-to-js-sourcemap-worker

id: "add_mapped_class",
error: ErrorLikeObject,
className: string,
stackInfo: ErrorLikeObject,
stackIndex: number

@@ -17,3 +17,3 @@ }

| {id: "clear_render_interval"}
| {id: "schedule_render"}
| {id: "render"}
| {id: "invalidate"};

@@ -34,3 +34,3 @@

```js
const worker = new Worker("https://unpkg.com/css-to-js-sourcemap-worker@1.0.0/worker.js");
const worker = new Worker("https://unpkg.com/css-to-js-sourcemap-worker/worker.js");

@@ -49,8 +49,8 @@ worker.onmessage = msg => {

id: "init_wasm",
url: "https://unpkg.com/source-map@0.7.3/lib/mappings.wasm",
url: "https://unpkg.com/css-to-js-sourcemap-worker/mappings.wasm",
});
worker.postMessage({
id: "add_mapped_class",
error: {stack, stacktrace, message},
className: "__debug-1",
stackInfo: {stack, stacktrace, message},
stackIndex: 0,

@@ -57,0 +57,0 @@ });

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