-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add debugging info in some missed cases
- Loading branch information
Showing
5 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
'use strict'; | ||
var global = require('../internals/global'); | ||
var IS_PURE = require('../internals/is-pure'); | ||
var globalThis = require('../internals/global'); | ||
var defineGlobalProperty = require('../internals/define-global-property'); | ||
|
||
var SHARED = '__core-js_shared__'; | ||
var store = global[SHARED] || defineGlobalProperty(SHARED, {}); | ||
var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); | ||
|
||
module.exports = store; | ||
(store.versions || (store.versions = [])).push({ | ||
version: '3.35.1', | ||
mode: IS_PURE ? 'pure' : 'global', | ||
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', | ||
license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE', | ||
source: 'https://github.com/zloirock/core-js' | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
'use strict'; | ||
var IS_PURE = require('../internals/is-pure'); | ||
var store = require('../internals/shared-store'); | ||
|
||
(module.exports = function (key, value) { | ||
return store[key] || (store[key] = value !== undefined ? value : {}); | ||
})('versions', []).push({ | ||
version: '3.35.1', | ||
mode: IS_PURE ? 'pure' : 'global', | ||
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', | ||
license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE', | ||
source: 'https://github.com/zloirock/core-js' | ||
}); | ||
module.exports = function (key, value) { | ||
return store[key] || (store[key] = value || {}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters