Socket
Socket
Sign inDemoInstall

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.29.3 to 2.30.0-alpha.0

7

index.js

@@ -52,9 +52,10 @@ "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();

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

{
"name": "browser-sync-client",
"description": "Client-side scripts for BrowserSync",
"version": "2.29.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",
"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": "02efdff2f6cf2991b87f8e8eaf7bbd21559fa612"
"name": "browser-sync-client",
"description": "Client-side scripts for BrowserSync",
"version": "2.30.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": {
"postinstall": "patch-package",
"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",
"patch-package": "^7.0.0",
"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": "ce6bdae57e3e606a75e701c3be7579eafda41b09"
}

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