Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bigcommerce/stencil-paper

Package Overview
Dependencies
Maintainers
15
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bigcommerce/stencil-paper - npm Package Compare versions

Comparing version 3.0.0-rc.41 to 3.0.0-rc.42

11

CHANGELOG.md
# Changelog
## 3.0.0-rc.42 (2021-05-11)
- Improved filtering language object by key for langJSON helper, that was struggling with perfomance on GraalVM [#236](https://github.com/bigcommerce/paper/pull/236)
## 3.0.0-rc.41 (2021-05-07)
- Improved filtering language object by key for langJSON helper, that was struggling with perfomance on GraalVM [#226](https://github.com/bigcommerce/paper/pull/234)
- Improved filtering language object by key for langJSON helper, that was struggling with perfomance on GraalVM [#234](https://github.com/bigcommerce/paper/pull/234)
## 3.0.0-rc.40 (2021-03-30)
- paper.loadTranslations now supports additional parameter to omit transforming translations [#226](https://github.com/bigcommerce/paper/pull/231)
- paper.loadTranslations now supports additional parameter to omit transforming translations [#231](https://github.com/bigcommerce/paper/pull/231)
## 3.0.0-rc.39 (2021-03-15)
- Bumps paper-handlebars to 4.4.7 [#226](https://github.com/bigcommerce/paper/pull/230)
- Bumps paper-handlebars to 4.4.7 [#230](https://github.com/bigcommerce/paper/pull/230)
## 3.0.0-rc.38 (2021-03-15)
- Added public interface for handlebars to add templates and preprocess them [#228](https://github.com/bigcommerce/paper/pull/228)
- Bumps paper-handlebars to 4.4.6 [#226](https://github.com/bigcommerce/paper/pull/229)
- Bumps paper-handlebars to 4.4.6 [#229](https://github.com/bigcommerce/paper/pull/229)

@@ -16,0 +19,0 @@ ## 3.0.0-rc.37 (2021-02-12)

@@ -20,8 +20,6 @@ 'use strict';

const languageSubKeys = Object.keys(language[key]);
result[key] = {};
for (let k = 0; k < languageSubKeys.length; k++) {
const subKey = languageSubKeys[k];
if (subKey.startsWith(keyFilter)) {
if (!result[key]) {
result[key] = {};
}
result[key][subKey] = language[key][subKey];

@@ -28,0 +26,0 @@ }

{
"name": "@bigcommerce/stencil-paper",
"version": "3.0.0-rc.41",
"version": "3.0.0-rc.42",
"description": "A Stencil plugin to load template files and render pages using backend renderer plugins.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -262,2 +262,8 @@ 'use strict';

expect(translator.getLanguage('non-existent')).to.equal({
locale: 'en',
locales: {},
translations: {},
});
done();

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

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