
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
gulp-build-bitrix-module
Advanced tools
fork gulp-build-bitrix-modul, Сборка модуля для маркетплейса, для установки в win-1251 и utf-8
было:
namespace Project\Tools\Sale;
use CCatalogDiscount,
Bitrix\Main\Loader,
Project\Tools\Utility\Cache;
стало
namespace Project\Ver7348d5c7870f19b39d83f080ca9e708bbba1c3d2\Tools\Sale;
use CCatalogDiscount,
Bitrix\Main\Loader,
Project\Ver7348d5c7870f19b39d83f080ca9e708bbba1c3d2\Tools\Utility\Cache;
namespace Project\Tools\Trains;
use Exception;
trait Event {
static private $isStart = array();
static protected function evetType() {
throw new Exception('Установите тип события');
}
static protected function start() {
if (empty(self::$isStart[static::evetType()])) {
self::$isStart[static::evetType()] = true;
return true;
} else {
return false;
}
}
static protected function stop() {
unset(self::$isStart[static::evetType()]);
return false;
}
}
стало
namespace Project\Ver5f460f6b6bac9a6ef8651c56ce2c9e84b0b39125\Tools\Trains;use Exception;trait Event{static private $jd283fr6=array();static protected function evetType(){throw new Exception('Установите тип события');}static protected function start(){if(empty(self::$jd283fr6[static::evetType()])){self::$jd283fr6[static::evetType()]=true;return true;}else{return false;}}static protected function stop(){unset(self::$jd283fr6[static::evetType()]);return false;}}
"use strict";
let gulp = require('gulp');
let build = require('gulp-build-bitrix-modul')({
name: 'project.ajax',
tools: {
'project.tools': ['Project', 'Tools']
},
encode: [
'include.php',
'project.tools/**/*.php',
'!project.tools/modules/install.php'
]
});
// Сборка текущей версии модуля
gulp.task('release', build.release);
// Сборка текущей версии модуля для маркетплейса
gulp.task('last_version', build.last_version);
// Сборка обновления модуля (разница между последней и предпоследней версией по тегам git)
gulp.task('build_update', build.update);
// Дефолтная задача. Собирает все по очереди
gulp.task('default', gulp.series('release', 'last_version', 'build_update'));
// достаточно указать 'last_version', так как команда вызывает код release и build_update
gulp.task('default', gulp.series('last_version'));
npm install gulp@4.0.0 gulp-build-bitrix-modul --save
FAQs
fork gulp-build-bitrix-modul, Сборка модуля для маркетплейса, для установки в win-1251 и utf-8
We found that gulp-build-bitrix-module demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.