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

peer-data

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

peer-data - npm Package Compare versions

Comparing version 1.2.10 to 1.2.11

dist/web-component.js

1

es/app/signaling/socket-channel.d.ts
/// <reference types="socket.io-client" />
import 'socket.io-client';
import { Signaling } from './signaling';

@@ -4,0 +3,0 @@ import { SignalingEvent } from './event';

@@ -1,2 +0,2 @@

import 'socket.io-client';
import * as io from 'socket.io-client';
import { EventDispatcher } from './../dispatcher/dispatcher';

@@ -3,0 +3,0 @@ import { AppEventType } from './../event-type';

/// <reference types="socket.io-client" />
import 'socket.io-client';
import { Signaling } from './signaling';

@@ -4,0 +3,0 @@ import { SignalingEvent } from './event';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
require("socket.io-client");
var io = require("socket.io-client");
var dispatcher_1 = require("./../dispatcher/dispatcher");

@@ -5,0 +5,0 @@ var event_type_1 = require("./../event-type");

{
"name": "peer-data",
"version": "1.2.10",
"version": "1.2.11",
"description": "PeerData - library for files, media streaming/sharing using WebRTC",
"scripts": {
"build": "yarn run build:lib & yarn run build:umd",
"build": "yarn run build:lib & yarn run build:es && yarn run build:umd",
"build:lib": "tsc --outDir lib --module commonjs",
"build:es": "tsc --outDir es --module es6",
"build:umd": "yarn run build:es && rollup --config && dts-bundle --name dist/bundle --main es --outputAsModuleFolder",
"build:umd": "NODE_ENV=development rollup -c -i es/index.js -o dist/web-component.js",
"build:umd:min": "NODE_ENV=production rollup -c -i es/index.js -o dist/web-component.min.js",
"clean": "rimraf dist es lib coverage",

@@ -62,2 +63,3 @@ "typecheck": "tsc --noEmit",

"codecov": "^2.2.0",
"cross-env": "^5.0.1",
"dts-bundle": "^0.7.2",

@@ -69,3 +71,2 @@ "jest": "^20.0.4",

"rollup": "^0.43.0",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-builtins": "^2.1.2",

@@ -72,0 +73,0 @@ "rollup-plugin-node-globals": "^1.1.0",

import resolve from "rollup-plugin-node-resolve";
import globals from "rollup-plugin-node-globals";
import builtins from "rollup-plugin-node-builtins";
import commonjs from "rollup-plugin-commonjs";
import uglify from "rollup-plugin-uglify";
export default {
var env = process.env.NODE_ENV;
var config = {
format: "umd",
moduleName: "peer-data",
entry: "es/index.js",
dest: "dist/peer-data.js",
exports: "named",
plugins: [
resolve({ jsnext: true }),
resolve({
module: true,
jsnext: true,
main: true,
browser: true
}),
globals(),
builtins(),
commonjs(),
uglify()
builtins()
]
};
if (env === "production") {
config.plugins.push(
uglify({
compress: {
pure_getters: true,
unsafe: true,
unsafe_comps: true,
warnings: false
}
})
);
}
export default config;
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"rootDir": "src",

@@ -6,0 +5,0 @@ "outDir": ".code",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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