@intlify/bundle-utils 5.1.0 → 5.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/js.js +0 -2
  2. package/package.json +1 -1
package/lib/js.js CHANGED
@@ -43,7 +43,6 @@ function generate(targetSource, { type = 'plain', bridge = false, exportESM = fa
43
43
  allowImportExportEverywhere: true
44
44
  });
45
45
  const astExportDefaultWithObject = (0, esquery_1.default)(ast, 'Program:has(ExportDefaultDeclaration):has(ObjectExpression)');
46
- console.log('astExportDefaultWithObject', astExportDefaultWithObject);
47
46
  if (!allowDynamic) {
48
47
  if (!astExportDefaultWithObject.length) {
49
48
  throw new Error(`You need to define an object as the locale message with 'export default'.`);
@@ -54,7 +53,6 @@ function generate(targetSource, { type = 'plain', bridge = false, exportESM = fa
54
53
  if (!astExportDefault.length) {
55
54
  throw new Error(`You need to define 'export default' that will return the locale messages.`);
56
55
  }
57
- console.log('astExportDefault', astExportDefault);
58
56
  if (!astExportDefaultWithObject.length) {
59
57
  /**
60
58
  * NOTE:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@intlify/bundle-utils",
3
3
  "description": "Bundle utilities for Intlify project",
4
- "version": "5.1.0",
4
+ "version": "5.1.1",
5
5
  "author": {
6
6
  "name": "kazuya kawaguchi",
7
7
  "email": "kawakazu80@gmail.com"