New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

esifycss

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esifycss - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

10

CHANGELOG.md

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

<a name="1.3.5"></a>
## [1.3.5](https://github.com/kei-ito/esify/compare/v1.3.4...v1.3.5) (2019-09-04)
### Bug Fixes
* minifyCSSInScript is not asnyc ([240f045](https://github.com/kei-ito/esify/commit/240f045))
<a name="1.3.4"></a>

@@ -2,0 +12,0 @@ ## [1.3.4](https://github.com/kei-ito/esify/compare/v1.3.3...v1.3.4) (2019-09-04)

2

lib/minifier/minifyCSSInScript.d.ts
import { IParseResult } from './types';
import { IIdentifier } from '../util/createIdentifier';
export declare const minifyCSSInScript: (script: string, cssRanges: IParseResult[], identifier: IIdentifier) => Promise<string>;
export declare const minifyCSSInScript: (script: string, cssRanges: IParseResult[], identifier: IIdentifier) => string;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const encodeString_1 = require("../util/encodeString");
exports.minifyCSSInScript = async (script, cssRanges, identifier) => {
exports.minifyCSSInScript = (script, cssRanges, identifier) => {
let minified = script;

@@ -14,5 +14,4 @@ for (let index = cssRanges.length; index--;) {

}
await Promise.resolve(null);
return minified;
};
//# sourceMappingURL=minifyCSSInScript.js.map

@@ -13,3 +13,3 @@ "use strict";

.map(async ([file, { script, cssRanges }]) => {
const minified = await minifyCSSInScript_1.minifyCSSInScript(script, cssRanges, identifier);
const minified = minifyCSSInScript_1.minifyCSSInScript(script, cssRanges, identifier);
await fs_1.writeFile(file, minified);

@@ -16,0 +16,0 @@ }));

{
"name": "esifycss",
"version": "1.3.4",
"version": "1.3.5",
"description": "Generates .js or .ts exports class names and custom properties",

@@ -5,0 +5,0 @@ "author": {

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