@adamlui/scss-to-css 1.10.21 → 1.10.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -29,7 +29,7 @@
29
29
 
30
30
  <a href="https://www.npmjs.com/package/@adamlui/scss-to-css"><img height=31 src="https://img.shields.io/npm/dm/%40adamlui%2Fscss-to-css?logo=npm&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></a>
31
31
  <a href="#%EF%B8%8F-mit-license"><img height=31 src="https://img.shields.io/badge/License-MIT-orange.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
32
- <a href="https://github.com/adamlui/js-utils/releases/tag/scss-to-css-1.10.21"><img height=31 src="https://img.shields.io/badge/Latest_Build-1.10.21-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
32
+ <a href="https://github.com/adamlui/js-utils/releases/tag/scss-to-css-1.10.23"><img height=31 src="https://img.shields.io/badge/Latest_Build-1.10.23-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
33
33
  <a href="https://www.npmjs.com/package/@adamlui/scss-to-css?activeTab=code"><img height=31 src="https://img.shields.io/npm/unpacked-size/%40adamlui%2Fscss-to-css?style=for-the-badge&logo=ebox&logoColor=white&color=blue&labelColor=464646"></a>
34
34
  <a href="https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=adamlui_scss-to-css:node.js/src/scss-to-css.js"><img height=31 src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fsonarcloud.io%2Fapi%2Fmeasures%2Fcomponent%3Fcomponent%3Dadamlui_scss-to-css%3Anode.js%2Fsrc%2Fscss-to-css.js%26metricKeys%3Dvulnerabilities&query=%24.component.measures.0.value&style=for-the-badge&logo=sonarcloud&logoColor=white&labelColor=464646&label=Vulnerabilities&color=gold"></a>
35
35
  <a href="https://github.com/toolleeo/cli-apps#conversion"><img height=31 src="https://img.shields.io/badge/Mentioned_in-Awesome-c4a2bd?logo=awesomelists&logoColor=white&labelColor=464646&style=for-the-badge"></a>
package/dist/cli.min.js CHANGED
@@ -17,8 +17,8 @@ ${by}SCSS files to be compiled:`+nc),e.forEach(e=>console.info(e))):console.info
17
17
  No SCSS files will be compiled.`+nc);else{let o=[],s=e.map(e=>{var s=scssToCSS.compile(e,{verbose:!config.quietMode,minify:!config.noMinify,sourceMaps:!config.noSourceMaps,comment:config.comment?.replace(/\\n/g,"\n")});return s.error&&o.push(e),s}).filter(e=>!e.error);if(0<s?.length){let e=1<s.length?"s":"";printIfNotQuiet(`
18
18
  ${bg}Compilation complete!`+nc),printIfNotQuiet(bw+s.length+" CSS file"+e+(config.noSourceMaps?"":` + ${s.length} source map`+e)+" generated."+nc)}else printIfNotQuiet(`
19
19
  ${by}No SCSS files processed.`+nc);0<o.length&&(printIfNotQuiet(`
20
- `+br+o.length+" file"+(1<o.length?"s":"")+" failed to compile:"+nc),o.forEach(e=>printIfNotQuiet(e))),0==s?.length&&process.exit(0),1==s?.length?(console.log(`
21
- `+(bw+s[0].code+nc)),config.copy&&(printIfNotQuiet("\nCopying to clipboard..."),ncp.writeSync(s[0].code))):(printIfNotQuiet(`
20
+ `+br+o.length+" file"+(1<o.length?"s":"")+" failed to compile:"+nc),o.forEach(e=>printIfNotQuiet(e))),0==s?.length&&process.exit(0),config.copy&&1==s?.length?(console.log(`
21
+ `+(bw+s[0].code+nc)),printIfNotQuiet("\nCopying to clipboard..."),ncp.writeSync(s[0].code)):(printIfNotQuiet(`
22
22
  Writing to file${1<s?.length?"s":""}...`),s?.forEach(({code:e,srcMap:s,srcPath:o})=>{var i=path.join(path.dirname(o),/(?:src|s[ac]ss)$/.test(path.dirname(o))?"../"+(r||"css"):r.endsWith(".css")?path.dirname(r):r||"css"),o=(r.endsWith(".css")&&n.endsWith(".scss")?path.basename(r).replace(/(\.min)?\.css$/,""):path.basename(o,".scss"))+".min.css",o=path.join(i,o);fs.existsSync(i)||fs.mkdirSync(i,{recursive:!0}),fs.writeFileSync(o,e,"utf8"),config.noSourceMaps||fs.writeFileSync(o+".map",JSON.stringify(s),"utf8")}))}}function printHelpSections(e=["header","usage","pathArgs","flags","paramOptions","infoCmds"]){var s=` ${pkgName.replace(/^@[^/]+\//,"")} ${nc} `;let o={header:[`
23
23
  ├ `+s+copyright,s+"Source: "+srcURL],usage:[`
24
24
  ${bw}o Usage:`+nc,` ${bw}» `+(bg+cmdFormat+nc)],pathArgs:[`
package/docs/README.md CHANGED
@@ -29,7 +29,7 @@
29
29
 
30
30
  <a href="https://www.npmjs.com/package/@adamlui/scss-to-css"><img height=31 src="https://img.shields.io/npm/dm/%40adamlui%2Fscss-to-css?logo=npm&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></a>
31
31
  <a href="#%EF%B8%8F-mit-license"><img height=31 src="https://img.shields.io/badge/License-MIT-orange.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
32
- <a href="https://github.com/adamlui/js-utils/releases/tag/scss-to-css-1.10.21"><img height=31 src="https://img.shields.io/badge/Latest_Build-1.10.21-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
32
+ <a href="https://github.com/adamlui/js-utils/releases/tag/scss-to-css-1.10.23"><img height=31 src="https://img.shields.io/badge/Latest_Build-1.10.23-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
33
33
  <a href="https://www.npmjs.com/package/@adamlui/scss-to-css?activeTab=code"><img height=31 src="https://img.shields.io/npm/unpacked-size/%40adamlui%2Fscss-to-css?style=for-the-badge&logo=ebox&logoColor=white&color=blue&labelColor=464646"></a>
34
34
  <a href="https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=adamlui_scss-to-css:node.js/src/scss-to-css.js"><img height=31 src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fsonarcloud.io%2Fapi%2Fmeasures%2Fcomponent%3Fcomponent%3Dadamlui_scss-to-css%3Anode.js%2Fsrc%2Fscss-to-css.js%26metricKeys%3Dvulnerabilities&query=%24.component.measures.0.value&style=for-the-badge&logo=sonarcloud&logoColor=white&labelColor=464646&label=Vulnerabilities&color=gold"></a>
35
35
  <a href="https://github.com/toolleeo/cli-apps#conversion"><img height=31 src="https://img.shields.io/badge/Mentioned_in-Awesome-c4a2bd?logo=awesomelists&logoColor=white&labelColor=464646&style=for-the-badge"></a>
package/docs/SECURITY.md CHANGED
@@ -23,6 +23,4 @@
23
23
 
24
24
  # 🛡️ Security Policy
25
25
 
26
- If you find a vulnerability, please open a [draft security advisory](https://github.scsstocss.org/security/advisories/new).
27
-
28
- Pull requests are also welcome, but for safety reasons, send an email to <adam@kudoai.com> and wait for a response before making it public.
26
+ If you find a vulnerability, please follow the reporting instructions @ https://tidelift.com/security
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adamlui/scss-to-css",
3
- "version": "1.10.21",
3
+ "version": "1.10.23",
4
4
  "description": "Recursively compile all SCSS files into minified CSS",
5
5
  "author": {
6
6
  "name": "Adam Lui",
@@ -37,10 +37,7 @@
37
37
  "build": "bash utils/build.sh",
38
38
  "bump:patch": "bash utils/bump.sh patch",
39
39
  "bump:minor": "bash utils/bump.sh minor",
40
- "bump:major": "bash utils/bump.sh major",
41
- "publish:patch": "bash utils/bump.sh patch --publish",
42
- "publish:minor": "bash utils/bump.sh minor --publish",
43
- "publish:major": "bash utils/bump.sh major --publish"
40
+ "bump:major": "bash utils/bump.sh major"
44
41
  },
45
42
  "repository": {
46
43
  "type": "git",
@@ -61,7 +58,7 @@
61
58
  },
62
59
  "dependencies": {
63
60
  "node-clipboardy": "^1.0.3",
64
- "sass": "^1.83.0"
61
+ "sass": "^1.83.1"
65
62
  },
66
63
  "devDependencies": {
67
64
  "@adamlui/minify.js": "^1.8.5"