Socket
Socket
Sign inDemoInstall

babel-plugin-htmlbars-inline-precompile

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-htmlbars-inline-precompile - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## 0.0.4 (2015-06-30)
- [Fix "typo" for method which should replace deprecated behavior](https://github.com/pangratz/babel-plugin-htmlbars-inline-precompile/commit/f2458bede137297bd13e8308a35a489754eadc97)
## 0.0.3 (2015-06-26)
- [Replace deprecated behavior of replacing source string - #6](https://github.com/pangratz/babel-plugin-htmlbars-inline-precompile/pull/6). Thanks [@rwjblue](https://github.com/rwjblue).
## 0.0.2 (2015-06-13)

@@ -2,0 +10,0 @@

10

index.js

@@ -41,9 +41,9 @@ module.exports = function(precompile) {

var compiledTemplateString = "Ember.HTMLBars.template(" + precompile(template) + ")";
// Prefer calling replaceWithStringSource if it is present.
// Prefer calling replaceWithSourceString if it is present.
// this prevents a deprecation warning in Babel 5.6.7+.
//
//
// TODO: delete the fallback once we only support babel >= 5.6.7.
if (this.replaceWithStringSource) {
this.replaceWithStringSource(compiledTemplateString);
if (this.replaceWithSourceString) {
this.replaceWithSourceString(compiledTemplateString);
} else {

@@ -50,0 +50,0 @@ return compiledTemplateString;

{
"name": "babel-plugin-htmlbars-inline-precompile",
"version": "0.0.3",
"version": "0.0.4",
"description": "Babel plugin to replace tagged template strings with precompiled HTMLBars templates",

@@ -5,0 +5,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc