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

browser-sync-client

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-sync-client - npm Package Compare versions

Comparing version 2.30.0-alpha.3 to 3.0.0-alpha.0

7

index.js

@@ -52,10 +52,9 @@ "use strict";

function processItems(items) {
return []
.concat(items)
return [].concat(items)
.filter(Boolean)
.reduce((stringOutput, item) => {
if (typeof item === "string") {
if (typeof item === 'string') {
return stringOutput + item;
}
if (typeof item === "function") {
if (typeof item === 'function') {
return stringOutput + item();

@@ -62,0 +61,0 @@ }

{
"name": "browser-sync-client",
"description": "Client-side scripts for BrowserSync",
"version": "2.30.0-alpha.3",
"homepage": "https://github.com/shakyshane/browser-sync-client",
"author": "Shane Osbourne <shane.osbourne8@gmail.com>",
"repository": {
"type": "git",
"url": "git://github.com/shakyshane/browser-sync-client.git"
},
"bugs": {
"url": "https://github.com/shakyshane/browser-sync-client/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/shakyshane/browser-sync-client/blob/master/LICENSE-MIT"
}
],
"main": "index.js",
"files": [
"dist"
],
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"build": "npm run clean && webpack",
"clean": "rm -rf dist",
"watch": "npm run build -- --watch",
"prepublishOnly": "npm run build",
"tsc": "rm -rf dist/* dist2/* && tsc"
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@types/node": "^8",
"babel-loader": "^9.1.2",
"core-js": "^3.29.1",
"diff-dom": "^5.0.4",
"element-scroll-polyfill": "^1.0.1",
"nanologger": "^1.3.1",
"rxjs": "^5.5.6",
"socket.io-client": "^4.4.1",
"ts-loader": "^9.2.7",
"typescript": "^4.6.2",
"webpack": "^5.17.0",
"webpack-cli": "^4.4.0"
},
"keywords": [],
"dependencies": {
"etag": "1.8.1",
"fresh": "0.5.2",
"mitt": "^1.1.3"
},
"directories": {
"lib": "lib",
"test": "test"
},
"license": "ISC",
"gitHead": "b85a28ba9982f33db8a4e49de8a5103376a9c2ef"
"name": "browser-sync-client",
"description": "Client-side scripts for BrowserSync",
"version": "3.0.0-alpha.0",
"homepage": "https://github.com/shakyshane/browser-sync-client",
"author": "Shane Osbourne <shane.osbourne8@gmail.com>",
"repository": {
"type": "git",
"url": "git://github.com/shakyshane/browser-sync-client.git"
},
"bugs": {
"url": "https://github.com/shakyshane/browser-sync-client/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/shakyshane/browser-sync-client/blob/master/LICENSE-MIT"
}
],
"main": "index.js",
"files": [
"dist"
],
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"build": "npm run clean && webpack",
"clean": "rm -rf dist/*",
"watch": "npm run build -- --watch",
"prepublishOnly": "npm run build",
"tsc": "rm -rf dist/* dist2/* && tsc"
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@types/node": "^8",
"babel-loader": "^9.1.2",
"core-js": "^3.29.1",
"element-scroll-polyfill": "^1.0.1",
"esbuild": "^0.14.27",
"nanologger": "^1.3.1",
"rxjs": "^5.5.6",
"socket.io-client": "^4.4.1",
"ts-loader": "^9.2.7",
"typescript": "^4.6.2",
"webpack": "^5.17.0",
"webpack-cli": "^4.4.0"
},
"keywords": [],
"dependencies": {
"etag": "1.8.1",
"fresh": "0.5.2",
"mitt": "^1.1.3"
},
"directories": {
"lib": "lib",
"test": "test"
},
"license": "ISC",
"gitHead": "ab5f75be8b3865b2f737e522e2dcae2101eeaaa2"
}

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

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