mirror of
https://github.com/github/codeql-action.git
synced 2026-01-04 21:50:17 +08:00
Update checked-in dependencies
This commit is contained in:
17
node_modules/string.prototype.trim/CHANGELOG.md
generated
vendored
17
node_modules/string.prototype.trim/CHANGELOG.md
generated
vendored
@@ -5,7 +5,22 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [v1.2.8](https://github.com/es-shims/String.prototype.trim/compare/v1.2.7...v1.2.8) - 2022-11-07
|
||||
## [v1.2.9](https://github.com/es-shims/String.prototype.trim/compare/v1.2.8...v1.2.9) - 2024-03-16
|
||||
|
||||
### Commits
|
||||
|
||||
- [Refactor] use `es-object-atoms`; update `call-bind`, `define-properties`, `es-abstract` [`f6fe1af`](https://github.com/es-shims/String.prototype.trim/commit/f6fe1af4cb9381757971b294afc845e3b2e7c1e9)
|
||||
- [Dev Deps] update `aud`, `npmignore`, `tape` [`d4e2b81`](https://github.com/es-shims/String.prototype.trim/commit/d4e2b81878478d7090826b73d52bc42f117a2189)
|
||||
|
||||
## [v1.2.8](https://github.com/es-shims/String.prototype.trim/compare/v1.2.7...v1.2.8) - 2023-09-07
|
||||
|
||||
### Commits
|
||||
|
||||
- [Tests] add passing test cases [`2ab172c`](https://github.com/es-shims/String.prototype.trim/commit/2ab172c3ddeec62fb4f6ead3c7e10d24e340ecad)
|
||||
- [Deps] update `es-abstract` [`8c16598`](https://github.com/es-shims/String.prototype.trim/commit/8c16598aba57e30c5e8446f91fb998a5790c1f81)
|
||||
- [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `aud`, `tape` [`2b99fad`](https://github.com/es-shims/String.prototype.trim/commit/2b99fad6f32386b5bf1b304acb0fdd2a73c77a95)
|
||||
- [Dev Deps] update `@ljharb/eslint-config`, `@ljharb/eslint-config`, `aud`, `tape` [`97be2b5`](https://github.com/es-shims/String.prototype.trim/commit/97be2b55a3902753f50fadc2e9df6b7ff0f0f669)
|
||||
- [Deps] update `define-properties`, `es-abstract` [`1fdc65f`](https://github.com/es-shims/String.prototype.trim/commit/1fdc65ff4b9c73cc9d132832943a89a57f1f93a5)
|
||||
|
||||
## [v1.2.7](https://github.com/es-shims/String.prototype.trim/compare/v1.2.6...v1.2.7) - 2022-11-07
|
||||
|
||||
|
||||
4
node_modules/string.prototype.trim/implementation.js
generated
vendored
4
node_modules/string.prototype.trim/implementation.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
var RequireObjectCoercible = require('es-abstract/2022/RequireObjectCoercible');
|
||||
var ToString = require('es-abstract/2022/ToString');
|
||||
var RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');
|
||||
var ToString = require('es-abstract/2024/ToString');
|
||||
var callBound = require('call-bind/callBound');
|
||||
var $replace = callBound('String.prototype.replace');
|
||||
|
||||
|
||||
2
node_modules/string.prototype.trim/index.js
generated
vendored
2
node_modules/string.prototype.trim/index.js
generated
vendored
@@ -2,7 +2,7 @@
|
||||
|
||||
var callBind = require('call-bind');
|
||||
var define = require('define-properties');
|
||||
var RequireObjectCoercible = require('es-abstract/2022/RequireObjectCoercible');
|
||||
var RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');
|
||||
|
||||
var implementation = require('./implementation');
|
||||
var getPolyfill = require('./polyfill');
|
||||
|
||||
19
node_modules/string.prototype.trim/package.json
generated
vendored
19
node_modules/string.prototype.trim/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "string.prototype.trim",
|
||||
"version": "1.2.7",
|
||||
"version": "1.2.9",
|
||||
"author": {
|
||||
"name": "Jordan Harband",
|
||||
"email": "ljharb@gmail.com",
|
||||
@@ -46,23 +46,24 @@
|
||||
"es-shim API"
|
||||
],
|
||||
"dependencies": {
|
||||
"call-bind": "^1.0.2",
|
||||
"define-properties": "^1.1.4",
|
||||
"es-abstract": "^1.20.4"
|
||||
"call-bind": "^1.0.7",
|
||||
"define-properties": "^1.2.1",
|
||||
"es-abstract": "^1.23.0",
|
||||
"es-object-atoms": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@es-shims/api": "^2.2.3",
|
||||
"@ljharb/eslint-config": "^21.0.0",
|
||||
"aud": "^2.0.1",
|
||||
"@es-shims/api": "^2.4.2",
|
||||
"@ljharb/eslint-config": "^21.1.0",
|
||||
"aud": "^2.0.4",
|
||||
"auto-changelog": "^2.4.0",
|
||||
"eslint": "=8.8.0",
|
||||
"functions-have-names": "^1.2.3",
|
||||
"has-strict-mode": "^1.0.1",
|
||||
"in-publish": "^2.0.1",
|
||||
"npmignore": "^0.3.0",
|
||||
"npmignore": "^0.3.1",
|
||||
"nyc": "^10.3.2",
|
||||
"safe-publish-latest": "^2.0.0",
|
||||
"tape": "^5.6.1"
|
||||
"tape": "^5.7.5"
|
||||
},
|
||||
"testling": {
|
||||
"files": "test/index.js",
|
||||
|
||||
17
node_modules/string.prototype.trim/test/tests.js
generated
vendored
17
node_modules/string.prototype.trim/test/tests.js
generated
vendored
@@ -1,5 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
var forEach = require('for-each');
|
||||
|
||||
module.exports = function (trim, t) {
|
||||
t.test('normal cases', function (st) {
|
||||
st.equal(trim(' \t\na \t\n'), 'a', 'strips whitespace off left and right sides');
|
||||
@@ -42,4 +44,19 @@ module.exports = function (trim, t) {
|
||||
st.equal(trim(zeroWidth), zeroWidth, 'zero width space does not trim');
|
||||
st.end();
|
||||
});
|
||||
|
||||
t.test('non-whitespace characters', function (st) {
|
||||
// Zero-width space (zws), next line character (nel), and non-character (bom) are not whitespace.
|
||||
var nonWhitespaces = {
|
||||
'\\u0085': '\u0085',
|
||||
'\\u200b': '\u200b',
|
||||
'\\ufffe': '\ufffe'
|
||||
};
|
||||
|
||||
forEach(nonWhitespaces, function (nonWhitespace, name) {
|
||||
st.equal(trim(nonWhitespace), nonWhitespace, name + ' does not trim');
|
||||
});
|
||||
|
||||
st.end();
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user