Socket
Socket
Sign inDemoInstall

babel-plugin-htmlbars-inline-precompile

Package Overview
Dependencies
Maintainers
4
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 4.4.2 to 4.4.3

2

__tests__/template-literal-tests.js

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

scope: ['baz', 'foo', 'bar'],
strict: true,
strictMode: true,
});

@@ -215,0 +215,0 @@ });

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

scope: ['baz', 'foo', 'bar'],
strict: true,
strictMode: true,
});

@@ -248,0 +248,0 @@ });

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

scope: null,
strict: false,
strictMode: false,
});

@@ -267,3 +267,3 @@ });

scope: null,
strict: false,
strictMode: false,
});

@@ -270,0 +270,0 @@ });

@@ -0,1 +1,10 @@

## v4.4.3 (2021-02-24)
#### :bug: Bug Fix
* [#348](https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile/pull/348) Rename `strict` to `strictMode` ([@pzuraq](https://github.com/pzuraq))
#### Committers: 1
- Chris Garrett ([@pzuraq](https://github.com/pzuraq))
## v4.4.2 (2021-02-24)

@@ -2,0 +11,0 @@

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

let scope = shouldUseAutomaticScope(options) ? getScope(path.scope) : null;
let strict = shouldUseStrictMode(options);
let strictMode = shouldUseStrictMode(options);

@@ -387,3 +387,3 @@ let emberIdentifier = state.ensureImport('createTemplateFactory', '@ember/template-factory');

state,
compileTemplate(precompile, template, emberIdentifier, { isProduction, scope, strict }),
compileTemplate(precompile, template, emberIdentifier, { isProduction, scope, strictMode }),
options

@@ -478,3 +478,3 @@ );

// options, so we override any existing strict option
compilerOptions.strict = true;
compilerOptions.strictMode = true;
}

@@ -481,0 +481,0 @@

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

@@ -5,0 +5,0 @@ "repository": "https://github.com/ember-cli/babel-plugin-htmlbars-inline-precompile",

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