Comparing version 5.4.3 to 5.4.7
{ | ||
"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" | ||
} |
@@ -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'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
190214
36
4656