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

@untool/react

Package Overview
Dependencies
Maintainers
4
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@untool/react - npm Package Compare versions

Comparing version 0.20.0 to 0.21.0

9

CHANGELOG.md

@@ -6,2 +6,11 @@ # Change Log

<a name="0.21.0"></a>
# [0.21.0](https://github.com/untool/untool/compare/v0.20.0...v0.21.0) (2018-09-11)
**Note:** Version bump only for package @untool/react
<a name="0.20.0"></a>

@@ -8,0 +17,0 @@ # [0.20.0](https://github.com/untool/untool/compare/v0.19.0...v0.20.0) (2018-09-10)

6

lib/template.js

@@ -16,3 +16,3 @@ 'use strict';

module.exports = ({ fragments, assetsByType, mountpoint, markup, globals }) =>
module.exports = ({ fragments, assets, mountpoint, markup, globals }) =>
`<!DOCTYPE html>

@@ -26,3 +26,3 @@ <html ${fragments.htmlAttributes}>

${fragments.link}
${renderCSS(assetsByType)}
${renderCSS(assets)}
${fragments.style}

@@ -36,4 +36,4 @@ ${fragments.script}

${renderGlobals(globals)}
${renderJS(assetsByType)}
${renderJS(assets)}
</body>
</html>`.replace(/(^\s*[\r\n]| (?=>))/gm, '');

@@ -30,3 +30,3 @@ 'use strict';

this.options.location = req.path;
this.assetsByType = res.locals.assetsByType;
this.assets = res.locals.stats.entryAssetsByType;
}

@@ -39,3 +39,3 @@ enhanceElement(element) {

mountpoint: this.config.name,
assetsByType: this.assetsByType,
assets: this.assets,
globals: Object.assign({ _env: this.config._env }, data.globals),

@@ -42,0 +42,0 @@ fragments: Object.keys(data.helmet).reduce(

{
"name": "@untool/react",
"version": "0.20.0",
"version": "0.21.0",
"description": "untool react mixin",

@@ -27,3 +27,3 @@ "keywords": [

"@babel/preset-react": "^7.0.0",
"@untool/core": "^0.20.0",
"@untool/core": "^0.21.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.13",

@@ -42,3 +42,3 @@ "mixinable": "^4.0.0",

},
"gitHead": "eddcbecf3661213c301ad772706b0339bc60146d"
"gitHead": "463b42c20844be39b7a1e82276684e20af46b3f2"
}
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