Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

comlinkjs

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

comlinkjs - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

7

package.json
{
"name": "comlinkjs",
"version": "1.1.0",
"version": "1.2.0",
"description": "",
"main": "comlink.umd.js",
"module": "comlink.es6.js",
"typings": "comlink.d.ts",
"scripts": {

@@ -12,3 +15,3 @@ "test": "npm run linter && npm run unittest",

"mypublish": "npm run build && npm run test && cp README.md package.json dist && npm publish dist",
"build": "rm -rf dist && mkdir dist && npm run compile && npm run mangle_global && npm run minify && cp comlink.ts dist",
"build": "rm -rf dist && mkdir dist && npm run compile && npm run mangle_global && npm run minify",
"compile": "tsc --outDir dist -m none && mv dist/comlink.{,global.}js && tsc --outDir dist -m es2015 && mv dist/comlink.{,es6.}js && tsc -d --outDir dist -m umd && mv dist/comlink.{,umd.}js",

@@ -15,0 +18,0 @@ "mangle_global": "sed -i .bak 's!exports.Comlink!self.Comlink!' dist/comlink.global.js && sed -i .bak 's!^.*\"__esModule\".*$!!' dist/comlink.global.js",

# Comlink
An tiny RPC library that works on windows, iframes, WebWorkers and
A tiny RPC library that works on windows, iframes, WebWorkers and
ServiceWorkers.

@@ -35,3 +35,3 @@

async function init() {
// Note the usage of `await`.
// Note the usage of `await`:
const app = await new api.App();

@@ -101,3 +101,3 @@

### `expose: (rootObj, endpoint)`
### `expose(rootObj, endpoint)`

@@ -104,0 +104,0 @@ `expose` listens for RPC messages on `endpoint` and applies the operations to

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