Socket
Socket
Sign inDemoInstall

babel-plugin-htmlbars-inline-precompile

Package Overview
Dependencies
Maintainers
5
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.2.2 to 0.2.3

89

CHANGELOG.md

@@ -1,19 +0,88 @@

## 0.0.5 (2015-07-11)
# Change Log
- [Allow single string parameter - #7](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/commit/109b5f5c19e1c61654581b33e12f886b39e16412)
## [v0.2.3](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/tree/v0.2.3) (2017-03-13)
[Full Changelog](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/compare/v0.2.2...v0.2.3)
## 0.0.4 (2015-06-30)
**Merged pull requests:**
- [Fix "typo" for method which should replace deprecated behavior](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/commit/f2458bede137297bd13e8308a35a489754eadc97)
- Avoid error when processing expressions before import has ocurred. [\#23](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/23) ([rwjblue](https://github.com/rwjblue))
## 0.0.3 (2015-06-26)
## [v0.2.2](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/tree/v0.2.2) (2017-03-13)
[Full Changelog](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/compare/v0.2.1...v0.2.2)
- [Replace deprecated behavior of replacing source string - #6](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/6). Thanks [@rwjblue](https://github.com/rwjblue).
**Merged pull requests:**
## 0.0.2 (2015-06-13)
- Add failing test for usage after modules transform. [\#22](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/22) ([rwjblue](https://github.com/rwjblue))
- [Replace remove() with dangerouslyRemove() - #4](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/4). Thanks [@alisdair](https://github.com/alisdair).
## [v0.2.1](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/tree/v0.2.1) (2017-03-11)
[Full Changelog](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/compare/v0.2.0...v0.2.1)
## 0.0.1 (2015-05-06)
**Merged pull requests:**
- Initial version
- Refactor to work when before babel-plugin-transform-es2015-template-literals. [\#21](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/21) ([rwjblue](https://github.com/rwjblue))
## [v0.2.0](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/tree/v0.2.0) (2017-03-11)
[Full Changelog](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/compare/v0.1.0...v0.2.0)
**Closed issues:**
- An in-range update of babel-core is breaking the build 🚨 [\#18](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/issues/18)
- needs to support caching [\#17](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/issues/17)
**Merged pull requests:**
- Add basic caching for babel@6 usage. [\#20](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/20) ([rwjblue](https://github.com/rwjblue))
- CI: Enable automatic NPM deployment for tags [\#19](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/19) ([Turbo87](https://github.com/Turbo87))
## [v0.1.0](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/tree/v0.1.0) (2016-08-10)
[Full Changelog](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/compare/0.0.5...v0.1.0)
**Implemented enhancements:**
- will be improved by [\#3](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/issues/3)
- Cleanup & referencesImport\(\) [\#13](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/13) ([Turbo87](https://github.com/Turbo87))
**Closed issues:**
- Migrate to ember-cli org? [\#14](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/issues/14)
- placeholders inside a tagged template string are not supported [\#9](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/issues/9)
**Merged pull requests:**
- Update all dependencies 🌴 [\#16](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/16) ([greenkeeperio-bot](https://github.com/greenkeeperio-bot))
- Incorporate cache keys. [\#15](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/15) ([rwjblue](https://github.com/rwjblue))
- Adjust Babel 6 options usage [\#12](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/12) ([Turbo87](https://github.com/Turbo87))
- Port plugin to Babel 6 [\#8](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/8) ([topaxi](https://github.com/topaxi))
## [0.0.5](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/tree/0.0.5) (2015-07-10)
[Full Changelog](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/compare/0.0.4...0.0.5)
**Merged pull requests:**
- Allow single string as argument for hbs [\#7](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/7) ([pangratz](https://github.com/pangratz))
## [0.0.4](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/tree/0.0.4) (2015-06-30)
[Full Changelog](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/compare/v0.0.3...0.0.4)
## [v0.0.3](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/tree/v0.0.3) (2015-06-26)
[Full Changelog](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/compare/v0.0.2...v0.0.3)
**Closed issues:**
- Babel deprecation with 5.6.14 - Use `path.replaceWithSourceString`. [\#5](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/issues/5)
**Merged pull requests:**
- Use `path.replaceWithSourceString` to avoid deprecation. [\#6](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/6) ([rwjblue](https://github.com/rwjblue))
## [v0.0.2](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/tree/v0.0.2) (2015-06-13)
[Full Changelog](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/compare/v0.0.1...v0.0.2)
**Merged pull requests:**
- Replace remove\(\) with dangerouslyRemove\(\) [\#4](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/4) ([alisdair](https://github.com/alisdair))
## [v0.0.1](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/tree/v0.0.1) (2015-05-06)
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*

@@ -26,2 +26,4 @@ 'use strict';

TaggedTemplateExpression(path, state) {
if (!state.importId) { return; }
let tagPath = path.get('tag');

@@ -43,2 +45,4 @@ if (tagPath.node.name !== state.importId.name) {

CallExpression(path, state) {
if (!state.importId) { return; }
let calleePath = path.get('callee');

@@ -45,0 +49,0 @@ if (calleePath.node.name !== state.importId.name) {

2

package.json
{
"name": "babel-plugin-htmlbars-inline-precompile",
"version": "0.2.2",
"version": "0.2.3",
"description": "Babel plugin to replace tagged template strings with precompiled HTMLBars templates",

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

@@ -57,2 +57,7 @@ 'use strict';

it("does not cause an error when no import is found", function() {
transform('something("whatever")');
transform('something`whatever`');
});
it("works with multiple imports", function() {

@@ -59,0 +64,0 @@ let transformed = transform(`

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