![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
simple-web-pro
Advanced tools
Readme
Um simples compilador para automatizar o desenvolvimento nas linguagens HTML, CSS/Sass, JavaScript e PHP utilizando conexão FTP para enviar os arquivos processados automaticamente para o servidor final.
npm i
ou yarn --ignore-engines
para baixar as dependênciasnpm start
ou yarn start
para iniciar o serviçoscr
é o diretório de desenvolvimento.main
é o diretório com o código compilado.web-config.json
, basta inserir as informações de acesso: "ftp": {
"root": "_DIRETORIO_RAIZ_",
"host": "_IP_",
"user": "_USUARIO_",
"pass": "_SENHA_",
"secure": true
}
- caso não seja inserido nenhum acesso, ele criará o projeto normalmente, apenas ignorando o envio FTP
- se o FTP não possuir certificação SSL, utilize"explict"
em"secure"
Supondo que o diretório root
seja /var/www
, a entrada e saída dos diretórios seria:
src/html/index.html
.main/html/index.html
/var/www/html/index.html
npm start
ou yarn start
, o evento ocorre ao salvar qualquer arquivo dentro do diretório src
.ENTRADA
<div>
<h1>Título</h1>
<p>Parágrafo</p>
</div>
SAÍDA
<div><h1>Título</h1><p>Parágrafo</p></div>
ENTRADA
div {
display: flex;
}
SAÍDA
div{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}
ENTRADA
(() => {
require('web/selector');
const element = s('body');
const inElement = sEl(element, 'div');
const elements = sAll('.class');
const elementsInElement = sElAll(element, '.class');
})();
SAÍDA
"use strict";!function(){var e,c,l,r,t=(e="body",document.querySelector(e));c="div",t.querySelector(c),l=".class",document.querySelectorAll(l),r=".class",t.querySelectorAll(r)}();
ENTRADA
<?
$var = 'texto'
?>
<div>
<?=$var?>
</div>
SAÍDA
<?php $var='texto'?><div><?=$var?></div>
ENTRADA
# comment
<Directory /var/www/>
# another comment
Options Indexes FollowSymLinks MultiViews
</Directory>
SAÍDA
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
</Directory>
.library/meu-script/index.js
require('web/meu-script'); /* para importação completa do arquivo */
const meu_script = require('web/meu-script'); /* para importar o módulo em uma variável */
- funciona em qualquer linguagem que estiver habilitada em
.web-replace.json
.web-replace.json
{
"strings": {
"*token*": {
"dev": "0cfcda42c340dad5616e0b7449a5634b",
"build": "0cfcda42c340dad5616e0b7449a5634b"
},
"*site-name*": {
"dev": "dev.weslley.io",
"build": "weslley.io"
}
}
}
ENTRADA
<?
$_POST['*token*'];
$site = '*site-name*';
SAÍDA DEV (npm start | yarn start)
<?php $_POST['0cfcda42c340dad5616e0b7449a5634b'];$site='dev.weslley.io';
SAÍDA BUILD (npm run build | yarn build)
<?php $_POST['0cfcda42c340dad5616e0b7449a5634b'];$site='weslley.io';
Sistemas Operacionais
- macOS
- Linux
- Windows
Editores
- Visual Studio Code
- Outros (as funcionalidades dependem apenas do
Terminal
, porém, outros editores podem não ser compatíveis com sugestões de módulos locais)
Extensões Recomendadas (VSCode)
FAQs
> Um simples compilador para automatizar o desenvolvimento nas linguagens HTML, CSS/Sass, JavaScript e PHP utilizando conexão FTP para enviar os arquivos processados automaticamente para o servidor final.
We found that simple-web-pro 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.