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

@code.gov/code-gov-style

Package Overview
Dependencies
Maintainers
2
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code.gov/code-gov-style - npm Package Compare versions

Comparing version 1.7.12 to 1.7.14

.babelrc

8

assets/js/web_components/filter_box.js

@@ -125,3 +125,3 @@ 'use strict';

this.querySelectorAll('.showLess, .showMore').forEach(tag => {
Array.prototype.slice.call(this.querySelectorAll('.showLess, .showMore')).forEach(tag => {
tag.addEventListener('click', _ => {

@@ -132,3 +132,3 @@ this.toggleState();

this.querySelectorAll('input').forEach(tag => {
Array.prototype.slice.call(this.querySelectorAll('input')).forEach(tag => {
tag.addEventListener('change', event => {

@@ -147,4 +147,4 @@ const li = event.target.parentElement;

*/
/*global Event*/
const event = new Event('change', {});
/*global CustomEvent*/
const event = new CustomEvent('change', {});
this.dispatchEvent(event);

@@ -151,0 +151,0 @@ }

@@ -6,4 +6,3 @@ ---

<script src="{{ '/assets/js/web_components/custom-elements.min.js' | relative_url }}"></script>
<script src="{{ '/assets/js/web_components/filter_box.js' | relative_url }}"></script>
<script src="{{ '/assets/js/web_components.js' | relative_url }}"></script>

@@ -10,0 +9,0 @@

{
"name": "@code.gov/code-gov-style",
"version": "1.7.12",
"version": "1.7.14",
"description": "Style for code.gov including buttons, banners, and cards. Inspired by and somewhat based on USWDS.",
"main": "index.js",
"scripts": {
"bundle_web_components": "cd assets/js && cat web_components/* > web_components.js",
"bundle_web_components": "cp ./node_modules/@babel/polyfill/dist/polyfill.min.js assets/js/web_components.js && cat assets/js/polyfills/event.js >> assets/js/web_components.js && ./node_modules/@babel/cli/bin/babel.js assets/js/web_components/* >> assets/js/web_components.js",
"serve": "bundle exec jekyll serve",

@@ -32,6 +32,14 @@ "serve-on-server": "sudo bundle exec jekyll serve --host=0.0.0.0 --port=80",

"dependencies": {
"@babel/polyfill": "^7.0.0",
"@code.gov/code-gov-font": "0.6.3",
"@webcomponents/custom-elements": "^1.2.0",
"prismjs": "^1.15.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-transform-arrow-functions": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0"
}
}

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 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