es-module-shims 2.1.0 → 2.1.2

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,4 +1,4 @@
1
- /* ES Module Shims 2.1.0 */
1
+ /* ES Module Shims 2.1.2 */
2
2
  (function () {
3
3
 
4
4
  const hasDocument = typeof document !== 'undefined';
@@ -856,7 +856,6 @@
856
856
  }
857
857
 
858
858
  pushStringTo(source.length);
859
- console.log(resolvedSource);
860
859
 
861
860
  if (sourceURLCommentStart === -1) resolvedSource += sourceURLCommentPrefix + load.r;
862
861
 
@@ -970,7 +969,7 @@
970
969
  if (
971
970
  (type === 'css' && !cssModulesEnabled) ||
972
971
  (type === 'json' && !jsonModulesEnabled) ||
973
- (type === 'wasm' && !wasmInstancePhaseEnabled && !wasmSourcePhaseEanbled) ||
972
+ (type === 'wasm' && !wasmInstancePhaseEnabled && !wasmSourcePhaseEnabled) ||
974
973
  (type === 'ts' && !typescriptEnabled)
975
974
  )
976
975
  throw featErr(`${type}-modules`);
@@ -1,4 +1,4 @@
1
- /* ES Module Shims 2.1.0 */
1
+ /* ES Module Shims 2.1.2 */
2
2
  (function () {
3
3
 
4
4
  const hasDocument = typeof document !== 'undefined';
@@ -841,7 +841,6 @@
841
841
  }
842
842
 
843
843
  pushStringTo(source.length);
844
- console.log(resolvedSource);
845
844
 
846
845
  if (sourceURLCommentStart === -1) resolvedSource += sourceURLCommentPrefix + load.r;
847
846
 
@@ -955,7 +954,7 @@
955
954
  if (
956
955
  (type === 'css' && !cssModulesEnabled) ||
957
956
  (type === 'json' && !jsonModulesEnabled) ||
958
- (type === 'wasm' && !wasmInstancePhaseEnabled && !wasmSourcePhaseEanbled) ||
957
+ (type === 'wasm' && !wasmInstancePhaseEnabled && !wasmSourcePhaseEnabled) ||
959
958
  (type === 'ts' && !typescriptEnabled)
960
959
  )
961
960
  throw featErr(`${type}-modules`);
@@ -1,4 +1,4 @@
1
- /* ES Module Shims Wasm 2.1.0 */
1
+ /* ES Module Shims Wasm 2.1.2 */
2
2
  (function () {
3
3
 
4
4
  const hasDocument = typeof document !== 'undefined';
@@ -841,7 +841,6 @@
841
841
  }
842
842
 
843
843
  pushStringTo(source.length);
844
- console.log(resolvedSource);
845
844
 
846
845
  if (sourceURLCommentStart === -1) resolvedSource += sourceURLCommentPrefix + load.r;
847
846
 
@@ -955,7 +954,7 @@
955
954
  if (
956
955
  (type === 'css' && !cssModulesEnabled) ||
957
956
  (type === 'json' && !jsonModulesEnabled) ||
958
- (type === 'wasm' && !wasmInstancePhaseEnabled && !wasmSourcePhaseEanbled) ||
957
+ (type === 'wasm' && !wasmInstancePhaseEnabled && !wasmSourcePhaseEnabled) ||
959
958
  (type === 'ts' && !typescriptEnabled)
960
959
  )
961
960
  throw featErr(`${type}-modules`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "es-module-shims",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "Shims for the latest ES module features",
5
5
  "main": "dist/es-module-shims.js",
6
6
  "exports": {
@@ -31,7 +31,7 @@
31
31
  "license": "MIT",
32
32
  "devDependencies": {
33
33
  "@rollup/plugin-replace": "^2.4.2",
34
- "amaro": "0.3.2",
34
+ "amaro": "0.5.2",
35
35
  "es-module-lexer": "1.7.0",
36
36
  "kleur": "^4.1.4",
37
37
  "mime-types": "^2.1.33",