@vocab/webpack 1.2.7 → 1.2.9

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.
@@ -1,2 +1,2 @@
1
1
  export * from "../../dist/declarations/src/chunk-name";
2
- //# sourceMappingURL=vocab-webpack-chunk-name.cjs.d.ts.map
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm9jYWItd2VicGFjay1jaHVuay1uYW1lLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vZGlzdC9kZWNsYXJhdGlvbnMvc3JjL2NodW5rLW5hbWUuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSJ9
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- require('chalk');
3
+ require('picocolors');
4
4
  var debug = require('debug');
5
5
 
6
6
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
@@ -1,4 +1,4 @@
1
- import 'chalk';
1
+ import 'picocolors';
2
2
  import debug from 'debug';
3
3
 
4
4
  const trace = debug(`vocab:webpack`);
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- require('chalk');
3
+ require('picocolors');
4
4
  var debug = require('debug');
5
5
 
6
6
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
@@ -1,2 +1,2 @@
1
1
  export * from "./declarations/src/index";
2
- //# sourceMappingURL=vocab-webpack.cjs.d.ts.map
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm9jYWItd2VicGFjay5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4vZGVjbGFyYXRpb25zL3NyYy9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var core = require('@vocab/core');
6
- var logger = require('./logger-65149486.cjs.dev.js');
7
- require('chalk');
6
+ var logger = require('./logger-ebb09632.cjs.dev.js');
7
+ require('picocolors');
8
8
  require('debug');
9
9
 
10
10
  const compiledVocabFileFilter = /\.vocab[\\/]index\.(?:ts|js|cjs|mjs)$/;
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var core = require('@vocab/core');
6
- var logger = require('./logger-f79e34a8.cjs.prod.js');
7
- require('chalk');
6
+ var logger = require('./logger-018d2c78.cjs.prod.js');
7
+ require('picocolors');
8
8
  require('debug');
9
9
 
10
10
  const compiledVocabFileFilter = /\.vocab[\\/]index\.(?:ts|js|cjs|mjs)$/;
@@ -1,6 +1,6 @@
1
1
  import { resolveConfigSync, validateConfig } from '@vocab/core';
2
- import { t as trace } from './logger-e1862ea1.esm.js';
3
- import 'chalk';
2
+ import { t as trace } from './logger-c5869e3f.esm.js';
3
+ import 'picocolors';
4
4
  import 'debug';
5
5
 
6
6
  const compiledVocabFileFilter = /\.vocab[\\/]index\.(?:ts|js|cjs|mjs)$/;
@@ -1,3 +1,3 @@
1
1
  export * from "../../dist/declarations/src/loader";
2
2
  export { default } from "../../dist/declarations/src/loader";
3
- //# sourceMappingURL=vocab-webpack-loader.cjs.d.ts.map
3
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm9jYWItd2VicGFjay1sb2FkZXIuY2pzLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9kaXN0L2RlY2xhcmF0aW9ucy9zcmMvbG9hZGVyLmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
@@ -7,8 +7,8 @@ var core = require('@vocab/core');
7
7
  var cjsModuleLexer = require('cjs-module-lexer');
8
8
  var esModuleLexer = require('es-module-lexer');
9
9
  var chunkName_dist_vocabWebpackChunkName = require('../../chunk-name/dist/vocab-webpack-chunk-name.cjs.dev.js');
10
- var logger = require('../../dist/logger-65149486.cjs.dev.js');
11
- require('chalk');
10
+ var logger = require('../../dist/logger-ebb09632.cjs.dev.js');
11
+ require('picocolors');
12
12
  require('debug');
13
13
 
14
14
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
@@ -113,11 +113,11 @@ async function vocabLoader(source) {
113
113
  const esmExports = findExportNames(source, 'esm');
114
114
  if (esmExports.length > 0) {
115
115
  const exportName = esmExports[0];
116
- trace(`Found ESM export '${exportName}' in ${this.resourcePath}`);
116
+ trace(`Found ESM export '${exportName.n}' in ${this.resourcePath}`);
117
117
  result = /* ts */`
118
118
  import { createLanguage, createTranslationFile } from '@vocab/webpack/${target}';
119
119
  ${translations}
120
- export { translations as ${exportName} };
120
+ export { translations as ${exportName.n} };
121
121
  `;
122
122
  } else {
123
123
  // init needs to be called and waited upon
@@ -7,8 +7,8 @@ var core = require('@vocab/core');
7
7
  var cjsModuleLexer = require('cjs-module-lexer');
8
8
  var esModuleLexer = require('es-module-lexer');
9
9
  var chunkName_dist_vocabWebpackChunkName = require('../../chunk-name/dist/vocab-webpack-chunk-name.cjs.prod.js');
10
- var logger = require('../../dist/logger-f79e34a8.cjs.prod.js');
11
- require('chalk');
10
+ var logger = require('../../dist/logger-018d2c78.cjs.prod.js');
11
+ require('picocolors');
12
12
  require('debug');
13
13
 
14
14
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
@@ -113,11 +113,11 @@ async function vocabLoader(source) {
113
113
  const esmExports = findExportNames(source, 'esm');
114
114
  if (esmExports.length > 0) {
115
115
  const exportName = esmExports[0];
116
- trace(`Found ESM export '${exportName}' in ${this.resourcePath}`);
116
+ trace(`Found ESM export '${exportName.n}' in ${this.resourcePath}`);
117
117
  result = /* ts */`
118
118
  import { createLanguage, createTranslationFile } from '@vocab/webpack/${target}';
119
119
  ${translations}
120
- export { translations as ${exportName} };
120
+ export { translations as ${exportName.n} };
121
121
  `;
122
122
  } else {
123
123
  // init needs to be called and waited upon
@@ -3,8 +3,8 @@ import { getDevLanguageFileFromTsFile, loadTranslation } from '@vocab/core';
3
3
  import * as cjsModuleLexer from 'cjs-module-lexer';
4
4
  import * as esModuleLexer from 'es-module-lexer';
5
5
  import { getChunkName } from '../../chunk-name/dist/vocab-webpack-chunk-name.esm.js';
6
- import { t as trace$1 } from '../../dist/logger-e1862ea1.esm.js';
7
- import 'chalk';
6
+ import { t as trace$1 } from '../../dist/logger-c5869e3f.esm.js';
7
+ import 'picocolors';
8
8
  import 'debug';
9
9
 
10
10
  const trace = trace$1.extend('loader');
@@ -85,11 +85,11 @@ async function vocabLoader(source) {
85
85
  const esmExports = findExportNames(source, 'esm');
86
86
  if (esmExports.length > 0) {
87
87
  const exportName = esmExports[0];
88
- trace(`Found ESM export '${exportName}' in ${this.resourcePath}`);
88
+ trace(`Found ESM export '${exportName.n}' in ${this.resourcePath}`);
89
89
  result = /* ts */`
90
90
  import { createLanguage, createTranslationFile } from '@vocab/webpack/${target}';
91
91
  ${translations}
92
- export { translations as ${exportName} };
92
+ export { translations as ${exportName.n} };
93
93
  `;
94
94
  } else {
95
95
  // init needs to be called and waited upon
package/package.json CHANGED
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "name": "@vocab/webpack",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/seek-oss/vocab.git",
7
+ "directory": "packages/webpack"
8
+ },
4
9
  "main": "dist/vocab-webpack.cjs.js",
5
10
  "module": "dist/vocab-webpack.esm.js",
6
11
  "exports": {
@@ -39,11 +44,11 @@
39
44
  "web"
40
45
  ],
41
46
  "dependencies": {
42
- "@vocab/core": "^1.6.1",
43
- "chalk": "^4.1.0",
47
+ "@vocab/core": "^1.6.2",
44
48
  "cjs-module-lexer": "^1.2.2",
45
49
  "debug": "^4.3.1",
46
- "es-module-lexer": "^0.10.0",
50
+ "es-module-lexer": "^1.0.0",
51
+ "picocolors": "^1.0.0",
47
52
  "virtual-resource-loader": "^1.0.1"
48
53
  },
49
54
  "devDependencies": {
@@ -1,2 +1,2 @@
1
1
  export * from "../../dist/declarations/src/web";
2
- //# sourceMappingURL=vocab-webpack-web.cjs.d.ts.map
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm9jYWItd2VicGFjay13ZWIuY2pzLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9kaXN0L2RlY2xhcmF0aW9ucy9zcmMvd2ViLmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
@@ -1 +0,0 @@
1
- {"version":3,"file":"vocab-webpack-chunk-name.cjs.d.ts","sourceRoot":"","sources":["../../dist/declarations/src/chunk-name.d.ts"],"names":[],"mappings":"AAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"vocab-webpack.cjs.d.ts","sourceRoot":"","sources":["./declarations/src/index.d.ts"],"names":[],"mappings":"AAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"vocab-webpack-loader.cjs.d.ts","sourceRoot":"","sources":["../../dist/declarations/src/loader.d.ts"],"names":[],"mappings":"AAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"vocab-webpack-web.cjs.d.ts","sourceRoot":"","sources":["../../dist/declarations/src/web.d.ts"],"names":[],"mappings":"AAAA"}