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

baicons

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baicons - npm Package Compare versions

Comparing version 0.8.14 to 0.8.15

fonts/baicons-0815.eot

17

gulpfile.js

@@ -5,3 +5,4 @@ var gulp = require('gulp');

var rename = require('gulp-rename');
var clean = require('gulp-clean')
var clean = require('gulp-clean');
var gulpReplace = require('gulp-replace');

@@ -16,2 +17,3 @@ var p2bmapping = require('./template/p2b_mapping.json');

var cssDest = "./";
var stylusDest = "./stylus";

@@ -24,3 +26,2 @@ var style = "baicons.css";

var mobileStyle = "baicons-mobile.css"

@@ -30,3 +31,3 @@ var mobileReference = 'icons-reference-mobile.html'

function cleanFonts(cb) {
gulp.src(fontPath).pipe(clean()).on('finish', cb)
gulp.src(["./*.css", "./stylus/*.styl", fontPath]).pipe(clean()).on('finish', cb)
}

@@ -144,4 +145,12 @@

gulp.task('build', gulp.series(cleanFonts, generateFonts, generateFonts2, generateMobileFonts));
function generateMobileStylus(cb) {
gulp.src(cssDest + mobileStyle)
.pipe(gulpReplace(/fonts\/(baicons-mobile-\d+\.(eot|woff|ttf|svg))/g, '//s.baixing.net/font/baicons/fonts/$1'))
.pipe(rename(mobileStyle.replace(/\.css$/, ".styl")))
.pipe(gulp.dest(stylusDest))
.on('finish',cb);
}
gulp.task('build', gulp.series(cleanFonts, generateFonts, generateFonts2, generateMobileFonts, generateMobileStylus));
gulp.task('default', gulp.series('build'));
{
"name": "baicons",
"version": "0.8.14",
"version": "0.8.15",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

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

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