Socket
Socket
Sign inDemoInstall

postcss-html

Package Overview
Dependencies
Maintainers
4
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-html - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

20

lib/syntax/build-syntax-resolver.js

@@ -69,3 +69,5 @@ "use strict";

if (definedLangs.has(lang)) {
throw new Error(`The module cannot be loaded: ${syntax}`);
throw new Error(
`Cannot resolve module "${syntax}". It's likely that the module isn't installed correctly. Try reinstalling by running the \`npm install ${syntax}@latest --save-dev\``
);
}

@@ -116,3 +118,6 @@ }

return m.createRequire(relativeTo)(syntax);
} catch {
} catch (error) {
if (!isModuleNotFoundError(error)) {
throw error;
}
// ignore

@@ -124,3 +129,6 @@ }

return standardModuleResolvers[syntax]();
} catch {
} catch (error) {
if (!isModuleNotFoundError(error)) {
throw error;
}
// ignore

@@ -132,1 +140,7 @@ }

}
function isModuleNotFoundError(error) {
return (
error && typeof error === "object" && error.code === "MODULE_NOT_FOUND"
);
}

2

package.json
{
"name": "postcss-html",
"version": "1.1.0",
"version": "1.1.1",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

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