Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mithril-render-loader

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mithril-render-loader - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

18

index.js

@@ -40,3 +40,3 @@ /* eslint no-invalid-this: 0 */

if (o.model === null) {
this.emitWarning("property 'model' is not for mithril-render");
this.emitWarning("property 'model' is not set for mithril-render");
o.model = {};

@@ -64,2 +64,3 @@ }

}
// module.exports = __webpack_public_path__ + "intro-mobile-f825065fb480b357.jpg";

@@ -70,3 +71,4 @@ source = source.replace(/^module\.exports[^"]*/, "");

}
console.log("RESOLVED", source);
// console.log("RESOLVED", source);
return resolve({ id, source });

@@ -86,6 +88,14 @@ });

delete require.cache[this.resourcePath];
const view = require(this.resourcePath);
let view;
let timeResolve;
// require the entry file, catching nodejs syntax errors
try {
view = require(this.resourcePath);
} catch (e) {
// abort, passing error message to webpack);
this.addDependency(this.resourcePath);
delete require.cache[this.resourcePath];
return done(e);
}
// gather renderer options

@@ -92,0 +102,0 @@ const renderOptions = { strict: o.strict };

{
"name": "mithril-render-loader",
"version": "0.8.0",
"version": "0.9.0",
"description": "",

@@ -27,4 +27,4 @@ "main": "index.js",

"webpack": "^3.8.1",
"webpack-dev-server": "^2.9.3"
"webpack-dev-server": "^2.11.1"
}
}
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