Skip to content

Commit

Permalink
update some links, add some missed links
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Oct 29, 2024
1 parent 8847873 commit 227a758
Show file tree
Hide file tree
Showing 29 changed files with 31 additions and 27 deletions.
2 changes: 2 additions & 0 deletions packages/core-js/modules/es.array-buffer.detached.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ var isDetached = require('../internals/array-buffer-is-detached');

var ArrayBufferPrototype = ArrayBuffer.prototype;

// `ArrayBuffer.prototype.detached` getter
// https://tc39.es/ecma262/#sec-get-arraybuffer.prototype.detached
if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) {
defineBuiltInAccessor(ArrayBufferPrototype, 'detached', {
configurable: true,
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.iterator.constructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONST
IteratorConstructor.prototype = IteratorPrototype;

// `Iterator` constructor
// https://github.com/tc39/proposal-iterator-helpers
// https://tc39.es/ecma262/#sec-iterator
$({ global: true, constructor: true, forced: FORCED }, {
Iterator: IteratorConstructor
});
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.iterator.drop.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var IteratorProxy = createIteratorProxy(function () {
});

// `Iterator.prototype.drop` method
// https://github.com/tc39/proposal-iterator-helpers
// https://tc39.es/ecma262/#sec-iterator.prototype.drop
$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
drop: function drop(limit) {
anObject(this);
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.iterator.every.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var anObject = require('../internals/an-object');
var getIteratorDirect = require('../internals/get-iterator-direct');

// `Iterator.prototype.every` method
// https://github.com/tc39/proposal-iterator-helpers
// https://tc39.es/ecma262/#sec-iterator.prototype.every
$({ target: 'Iterator', proto: true, real: true }, {
every: function every(predicate) {
anObject(this);
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.iterator.filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var IteratorProxy = createIteratorProxy(function () {
});

// `Iterator.prototype.filter` method
// https://github.com/tc39/proposal-iterator-helpers
// https://tc39.es/ecma262/#sec-iterator.prototype.filter
$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
filter: function filter(predicate) {
anObject(this);
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.iterator.find.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var anObject = require('../internals/an-object');
var getIteratorDirect = require('../internals/get-iterator-direct');

// `Iterator.prototype.find` method
// https://github.com/tc39/proposal-iterator-helpers
// https://tc39.es/ecma262/#sec-iterator.prototype.find
$({ target: 'Iterator', proto: true, real: true }, {
find: function find(predicate) {
anObject(this);
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.iterator.flat-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var IteratorProxy = createIteratorProxy(function () {
});

// `Iterator.prototype.flatMap` method
// https://github.com/tc39/proposal-iterator-helpers
// https://tc39.es/ecma262/#sec-iterator.prototype.flatmap
$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
flatMap: function flatMap(mapper) {
anObject(this);
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.iterator.for-each.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var anObject = require('../internals/an-object');
var getIteratorDirect = require('../internals/get-iterator-direct');

// `Iterator.prototype.forEach` method
// https://github.com/tc39/proposal-iterator-helpers
// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
$({ target: 'Iterator', proto: true, real: true }, {
forEach: function forEach(fn) {
anObject(this);
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.iterator.from.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var IteratorProxy = createIteratorProxy(function () {
}, true);

// `Iterator.from` method
// https://github.com/tc39/proposal-iterator-helpers
// https://tc39.es/ecma262/#sec-iterator.from
$({ target: 'Iterator', stat: true, forced: IS_PURE }, {
from: function from(O) {
var iteratorRecord = getIteratorFlattenable(typeof O == 'string' ? toObject(O) : O, true);
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.iterator.map.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var map = require('../internals/iterator-map');
var IS_PURE = require('../internals/is-pure');

// `Iterator.prototype.map` method
// https://github.com/tc39/proposal-iterator-helpers
// https://tc39.es/ecma262/#sec-iterator.prototype.map
$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
map: map
});
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.iterator.reduce.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var getIteratorDirect = require('../internals/get-iterator-direct');
var $TypeError = TypeError;

// `Iterator.prototype.reduce` method
// https://github.com/tc39/proposal-iterator-helpers
// https://tc39.es/ecma262/#sec-iterator.prototype.reduce
$({ target: 'Iterator', proto: true, real: true }, {
reduce: function reduce(reducer /* , initialValue */) {
anObject(this);
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.iterator.some.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var anObject = require('../internals/an-object');
var getIteratorDirect = require('../internals/get-iterator-direct');

// `Iterator.prototype.some` method
// https://github.com/tc39/proposal-iterator-helpers
// https://tc39.es/ecma262/#sec-iterator.prototype.some
$({ target: 'Iterator', proto: true, real: true }, {
some: function some(predicate) {
anObject(this);
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.iterator.take.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var IteratorProxy = createIteratorProxy(function () {
});

// `Iterator.prototype.take` method
// https://github.com/tc39/proposal-iterator-helpers
// https://tc39.es/ecma262/#sec-iterator.prototype.take
$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
take: function take(limit) {
anObject(this);
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.iterator.to-array.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var getIteratorDirect = require('../internals/get-iterator-direct');
var push = [].push;

// `Iterator.prototype.toArray` method
// https://github.com/tc39/proposal-iterator-helpers
// https://tc39.es/ecma262/#sec-iterator.prototype.toarray
$({ target: 'Iterator', proto: true, real: true }, {
toArray: function toArray() {
var result = [];
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.map.group-by.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var DOES_NOT_WORK_WITH_PRIMITIVES = IS_PURE || fails(function () {
});

// `Map.groupBy` method
// https://github.com/tc39/proposal-array-grouping
// https://tc39.es/ecma262/#sec-map.groupby
$({ target: 'Map', stat: true, forced: IS_PURE || DOES_NOT_WORK_WITH_PRIMITIVES }, {
groupBy: function groupBy(items, callbackfn) {
requireObjectCoercible(items);
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.object.from-entries.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var iterate = require('../internals/iterate');
var createProperty = require('../internals/create-property');

// `Object.fromEntries` method
// https://github.com/tc39/proposal-object-from-entries
// https://tc39.es/ecma262/#sec-object.fromentries
$({ target: 'Object', stat: true }, {
fromEntries: function fromEntries(iterable) {
var obj = {};
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.object.group-by.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var DOES_NOT_WORK_WITH_PRIMITIVES = !nativeGroupBy || fails(function () {
});

// `Object.groupBy` method
// https://github.com/tc39/proposal-array-grouping
// https://tc39.es/ecma262/#sec-object.groupby
$({ target: 'Object', stat: true, forced: DOES_NOT_WORK_WITH_PRIMITIVES }, {
groupBy: function groupBy(items, callbackfn) {
requireObjectCoercible(items);
Expand Down
2 changes: 2 additions & 0 deletions packages/core-js/modules/es.promise.constructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ if (FORCED_PROMISE_CONSTRUCTOR) {
}
}

// `Promise` constructor
// https://tc39.es/ecma262/#sec-promise-executor
$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
Promise: PromiseConstructor
});
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.promise.try.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var FORCED = !Promise || !Promise['try'] || perform(function () {
}).error || !ACCEPT_ARGUMENTS;

// `Promise.try` method
// https://github.com/tc39/proposal-promise-try
// https://tc39.es/ecma262/#sec-promise.try
$({ target: 'Promise', stat: true, forced: FORCED }, {
'try': function (callbackfn /* , ...args */) {
var args = arguments.length > 1 ? slice(arguments, 1) : [];
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.promise.with-resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var $ = require('../internals/export');
var newPromiseCapabilityModule = require('../internals/new-promise-capability');

// `Promise.withResolvers` method
// https://github.com/tc39/proposal-promise-with-resolvers
// https://tc39.es/ecma262/#sec-promise.withResolvers
$({ target: 'Promise', stat: true }, {
withResolvers: function withResolvers() {
var promiseCapability = newPromiseCapabilityModule.f(this);
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.set.difference.v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var difference = require('../internals/set-difference');
var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like');

// `Set.prototype.difference` method
// https://github.com/tc39/proposal-set-methods
// https://tc39.es/ecma262/#sec-set.prototype.difference
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('difference') }, {
difference: difference
});
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.set.intersection.v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var INCORRECT = !setMethodAcceptSetLike('intersection') || fails(function () {
});

// `Set.prototype.intersection` method
// https://github.com/tc39/proposal-set-methods
// https://tc39.es/ecma262/#sec-set.prototype.intersection
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
intersection: intersection
});
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.set.is-disjoint-from.v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var isDisjointFrom = require('../internals/set-is-disjoint-from');
var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like');

// `Set.prototype.isDisjointFrom` method
// https://github.com/tc39/proposal-set-methods
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isDisjointFrom') }, {
isDisjointFrom: isDisjointFrom
});
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.set.is-subset-of.v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var isSubsetOf = require('../internals/set-is-subset-of');
var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like');

// `Set.prototype.isSubsetOf` method
// https://github.com/tc39/proposal-set-methods
// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSubsetOf') }, {
isSubsetOf: isSubsetOf
});
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.set.is-superset-of.v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var isSupersetOf = require('../internals/set-is-superset-of');
var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like');

// `Set.prototype.isSupersetOf` method
// https://github.com/tc39/proposal-set-methods
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSupersetOf') }, {
isSupersetOf: isSupersetOf
});
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.set.symmetric-difference.v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var symmetricDifference = require('../internals/set-symmetric-difference');
var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like');

// `Set.prototype.symmetricDifference` method
// https://github.com/tc39/proposal-set-methods
// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, {
symmetricDifference: symmetricDifference
});
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.set.union.v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var union = require('../internals/set-union');
var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like');

// `Set.prototype.union` method
// https://github.com/tc39/proposal-set-methods
// https://tc39.es/ecma262/#sec-set.prototype.union
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
union: union
});
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.string.is-well-formed.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var toString = require('../internals/to-string');
var charCodeAt = uncurryThis(''.charCodeAt);

// `String.prototype.isWellFormed` method
// https://github.com/tc39/proposal-is-usv-string
// https://tc39.es/ecma262/#sec-string.prototype.iswellformed
$({ target: 'String', proto: true }, {
isWellFormed: function isWellFormed() {
var S = toString(requireObjectCoercible(this));
Expand Down
2 changes: 1 addition & 1 deletion packages/core-js/modules/es.string.to-well-formed.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var TO_STRING_CONVERSION_BUG = $toWellFormed && fails(function () {
});

// `String.prototype.toWellFormed` method
// https://github.com/tc39/proposal-is-usv-string
// https://tc39.es/ecma262/#sec-string.prototype.towellformed
$({ target: 'String', proto: true, forced: TO_STRING_CONVERSION_BUG }, {
toWellFormed: function toWellFormed() {
var S = toString(requireObjectCoercible(this));
Expand Down

0 comments on commit 227a758

Please sign in to comment.