Skip to content

Commit

Permalink
drop extra dependencies from /proposals|stage/ entries, they are no…
Browse files Browse the repository at this point in the history
…t required for this kind of entries
  • Loading branch information
zloirock committed Dec 18, 2022
1 parent 3cf45f8 commit 041835b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions packages/core-js/proposals/string-dedent.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
// https://github.com/tc39/proposal-string-dedent
require('../modules/es.string.from-code-point');
require('../modules/es.weak-map');
require('../modules/esnext.string.dedent');
12 changes: 6 additions & 6 deletions tests/entries/content.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ superset('core-js/full/url', /^web\.url(\.|$)/);
superset('core-js/full/url-search-params', /^web\.url-search-params/);
superset('core-js/full/weak-map', /^(es|esnext)\.weak-map/);
superset('core-js/full/weak-set', /^(es|esnext)\.weak-set/);
equal('core-js/proposals', /^(es\.(weak-map|map|string\.(at|from-code-point))|esnext\.|web\.url)/);
equal('core-js/stage', /^(es\.(weak-map|map|string\.(at|from-code-point))|esnext\.|web\.url)/);
equal('core-js/stage/pre', /^(es\.(weak-map|map|string\.(at|from-code-point))|esnext\.|web\.url)/);
subset('core-js/stage/0', /^(es\.(weak-map|map|string\.(at|from-code-point))|esnext\.|web\.url)/);
subset('core-js/stage/1', /^(es\.(weak-map|map|string\.(at|from-code-point))|esnext\.|web\.url)/);
subset('core-js/stage/2', /^es\.(weak-map|string\.(at|from-code-point))|esnext\./);
equal('core-js/proposals', /^(es\.(map|string\.at)|esnext\.|web\.url)/);
equal('core-js/stage', /^(es\.(map|string\.at)|esnext\.|web\.url)/);
equal('core-js/stage/pre', /^(es\.(map|string\.at)|esnext\.|web\.url)/);
subset('core-js/stage/0', /^(es\.(map|string\.at)|esnext\.|web\.url)/);
subset('core-js/stage/1', /^(es\.(map|string\.at)|esnext\.|web\.url)/);
subset('core-js/stage/2', /^es\.string\.at|esnext\./);
subset('core-js/stage/3', /^es\.string\.at|esnext\./);
subset('core-js/stage/4', /^es\.string\.at|esnext\./);

Expand Down

0 comments on commit 041835b

Please sign in to comment.