babel-plugin-htmlbars-inline-precompile
Advanced tools
Comparing version 4.4.2 to 4.4.3
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101270