Socket
Socket
Sign inDemoInstall

stylable

Package Overview
Dependencies
Maintainers
4
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylable - npm Package Compare versions

Comparing version 5.4.3 to 5.4.7

5

package.json
{
"name": "stylable",
"version": "5.4.3",
"version": "5.4.7",
"description": "CSS for Components",

@@ -45,3 +45,4 @@ "main": "./dist/src/index.js",

"author": "Wix.com",
"license": "BSD-3-Clause"
"license": "BSD-3-Clause",
"gitHead": "67814470b9c04fee82cd0a7808f44c4053cf2c92"
}

8

src/cached-process-file.ts

@@ -55,6 +55,12 @@ import { Pojo } from './types';

function add(fullpath: string, value: T) {
let mtime;
try {
mtime = fs.statSync(fullpath).mtime;
} catch (e) {
mtime = new Date();
}
cache[fullpath] = {
value,
stat: {
mtime: fs.statSync(fullpath).mtime
mtime
}

@@ -61,0 +67,0 @@ };

@@ -22,5 +22,5 @@ export { safeParse } from './parser';

export { Bundler } from './bundle';
export { Stylable } from './stylable';
export { createInfrastructure, StylableInfrastructure } from './create-infra-structure';
export { create } from './runtime';
export * from './stylable';
export * from './types';

@@ -27,0 +27,0 @@ export * from './stylable-mixins';

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