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

@lrnwebcomponents/hax-body-behaviors

Package Overview
Dependencies
Maintainers
4
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lrnwebcomponents/hax-body-behaviors - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

28

gulpfile.js

@@ -63,21 +63,3 @@ const gulp = require("gulp");

}
let styleRegex = /\/\*[\s]*LIST SHARED STYLES BELOW[\s]*((?:(?:\w+)[\s,]*)*)\*\//g,
styleArray =
cssResult.match(styleRegex) &&
cssResult.match(styleRegex).length > 0
? cssResult
.match(styleRegex)[0]
.replace(styleRegex, "$1")
.match(/(\w+)[\s,]*/g)
: [];
sharedStyles =
styleArray && styleArray.length > 0
? styleArray.map(style =>
style.replace(
/(\w+)[\s,]*/g,
`
$1`
)
)
: ``;
cssResult = stripCssComments(cssResult).trim();

@@ -90,3 +72,9 @@ let litResult =

static get styles() {
return [${sharedStyles ? `${sharedStyles},` : ``}
return [
${
packageJson.wcfactory.sharedStyles &&
packageJson.wcfactory.sharedStyles.length > 0
? `${packageJson.wcfactory.sharedStyles.join(",")},`
: ``
}
css\`

@@ -93,0 +81,0 @@ ${cssResult}

@@ -12,5 +12,6 @@ {

"js": "src/hax-body-behaviors.js"
}
},
"sharedStyles": []
},
"version": "2.4.0",
"version": "2.4.1",
"description": "Wire any element up to HAX",

@@ -29,5 +30,5 @@ "repository": {

"build": "../../node_modules/.bin/gulp && ../../node_modules/.bin/rollup -c && ../../node_modules/.bin/prettier --ignore-path ../../.prettierignore --write '**/*.{js,json}' && wca analyze \"**/*.js\" --format vscode --outFile vscode-html-custom-data.json",
"dev": "concurrently --kill-others \"yarn run watch\" \"yarn run serve\"",
"dev": "../../node_modules/.bin/concurrently --kill-others \"yarn run watch\" \"yarn run serve\"",
"watch": "../../node_modules/.bin/gulp dev",
"serve": "polymer serve --npm --module-resolution=node --open",
"serve": "../../node_modules/.bin/es-dev-server -c ../../es-dev-server.config.js",
"lighthouse": "../../node_modules/.bin/gulp lighthouse"

@@ -44,3 +45,3 @@ },

"@lrnwebcomponents/deduping-fix": "^2.4.0",
"@lrnwebcomponents/storybook-utilities": "^2.4.0",
"@lrnwebcomponents/storybook-utilities": "^2.4.1",
"@polymer/iron-component-page": "github:PolymerElements/iron-component-page",

@@ -60,3 +61,3 @@ "@polymer/iron-demo-helpers": "3.1.0",

},
"gitHead": "d3bc01d12a0d042ba1fdb4f0dda36cfa5824047f"
"gitHead": "27af689f6d96197fba00cc508a953cdd008f21b1"
}

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