🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@madgex/design-system

Package Overview
Dependencies
Maintainers
11
Versions
368
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@madgex/design-system - npm Package Compare versions

Comparing version

to
1.7.0

dist/js/index.js

3

.eslintrc.js

@@ -5,3 +5,6 @@ module.exports = {

'import/no-extraneous-dependencies': ['error', { devDependencies: ['*.js', 'tasks/*.js'] }]
},
env: {
browser: true
}
};

@@ -8,2 +8,3 @@ module.exports = {

node: 'current',
ie: '11',
},

@@ -10,0 +11,0 @@ },

2

dist/_tokens/js/_tokens-module.js
/**
* Do not edit directly
* Generated on Wed, 19 Jun 2019 11:37:04 GMT
* Generated on Mon, 24 Jun 2019 15:26:32 GMT
*/

@@ -5,0 +5,0 @@

@@ -7,3 +7,3 @@ const gulp = require('gulp');

return gulp
.src('src/js/common.js')
.src('src/js/index.js')
.pipe(

@@ -13,3 +13,3 @@ gulpWebpack(

output: {
filename: 'common.js',
filename: 'index.js',
},

@@ -16,0 +16,0 @@ // watch: true,

@@ -20,3 +20,3 @@ const gulp = require('gulp');

gulp.watch('src/icons/**/*.svg', gulp.series(svgsprite, fractalBuild));
// gulp.watch('./assets/js/**/*', gulp.series(scriptsLint, scripts));
gulp.watch('./assets/js/**/*', gulp.series(jsbundle));
}

@@ -23,0 +23,0 @@

{
"name": "@madgex/design-system",
"version": "1.6.0",
"version": "1.7.0",
"scripts": {

@@ -22,3 +22,5 @@ "clean": "rimraf dist public tokens/build",

},
"dependencies": {},
"dependencies": {
"@babel/polyfill": "^7.4.4"
},
"devDependencies": {

@@ -25,0 +27,0 @@ "@babel/core": "^7.4.5",

@@ -1,11 +0,16 @@

// This file is the webpack entry point
document.addEventListener('DOMContentLoaded', () => {
document.body.classList.add('js');
});
// Here you can import your components, icons, etc.
// For example:
//
// import modal from 'components/Modal';
// import 'icons/home.svg';
//
// Webpack will automatically look for files relative to `assets/scripts/` and `assets/`.
window.addEventListener(
'hashchange',
() => {
const anchor = window.location.hash.trim();
const links = Array.from(document.querySelectorAll(`a[href='${anchor}']`));
console.log('MDS bundle loaded.');
links.forEach((element) => {
element.click();
});
},
false
);

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet