string.prototype.padstart
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -0,1 +1,11 @@ | ||
3.1.3 / 2021-10-04 | ||
================= | ||
* [Robustness] avoid a runtime call to `.push` | ||
* [Deps] update `es-abstract` | ||
* [readme] add github actions/codecov badges | ||
* [meta] use `prepublishOnly` script for npm 7+ | ||
* [actions] update workflows | ||
* [actions] use `node/install` instead of `node/run`; use `codecov` action | ||
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `aud`, `tape` | ||
3.1.2 / 2021-02-20 | ||
@@ -2,0 +12,0 @@ ================= |
'use strict'; | ||
var ToLength = require('es-abstract/2020/ToLength'); | ||
var ToString = require('es-abstract/2020/ToString'); | ||
var RequireObjectCoercible = require('es-abstract/2020/RequireObjectCoercible'); | ||
var ToLength = require('es-abstract/2021/ToLength'); | ||
var ToString = require('es-abstract/2021/ToString'); | ||
var RequireObjectCoercible = require('es-abstract/2021/RequireObjectCoercible'); | ||
@@ -7,0 +7,0 @@ var callBound = require('call-bind/callBound'); |
'use strict'; | ||
var define = require('define-properties'); | ||
var RequireObjectCoercible = require('es-abstract/2020/RequireObjectCoercible'); | ||
var RequireObjectCoercible = require('es-abstract/2021/RequireObjectCoercible'); | ||
var callBind = require('call-bind'); | ||
@@ -15,6 +15,3 @@ | ||
RequireObjectCoercible(str); | ||
var args = [maxLength]; | ||
if (arguments.length > 2) { | ||
args.push(arguments[2]); | ||
} | ||
var args = arguments.length > 2 ? [maxLength, arguments[2]] : [maxLength]; | ||
return bound(str, args); | ||
@@ -21,0 +18,0 @@ }; |
{ | ||
"name": "string.prototype.padstart", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"author": "Jordan Harband <ljharb@gmail.com>", | ||
@@ -12,3 +12,4 @@ "funding": { | ||
"scripts": { | ||
"prepublish": "safe-publish-latest", | ||
"prepublish": "not-in-publish || npm run prepublishOnly", | ||
"prepublishOnly": "safe-publish-latest", | ||
"pretest": "npm run lint", | ||
@@ -43,9 +44,9 @@ "test": "npm run tests-only", | ||
"define-properties": "^1.1.3", | ||
"es-abstract": "^1.18.0-next.2" | ||
"es-abstract": "^1.19.1" | ||
}, | ||
"devDependencies": { | ||
"@es-shims/api": "^2.1.2", | ||
"@ljharb/eslint-config": "^17.5.1", | ||
"aud": "^1.1.4", | ||
"eslint": "^7.20.0", | ||
"@es-shims/api": "^2.2.2", | ||
"@ljharb/eslint-config": "^18.0.0", | ||
"aud": "^1.1.5", | ||
"eslint": "^7.32.0", | ||
"functions-have-names": "^1.2.2", | ||
@@ -55,3 +56,3 @@ "has-strict-mode": "^1.0.1", | ||
"safe-publish-latest": "^1.1.4", | ||
"tape": "^5.2.0" | ||
"tape": "^5.3.1" | ||
}, | ||
@@ -58,0 +59,0 @@ "testling": { |
# String.prototype.padStart <sup>[![Version Badge][npm-version-svg]][package-url]</sup> | ||
[![Build Status][travis-svg]][travis-url] | ||
[![github actions][actions-image]][actions-url] | ||
[![coverage][codecov-image]][codecov-url] | ||
[![dependency status][deps-svg]][deps-url] | ||
@@ -42,1 +43,5 @@ [![dev dependency status][dev-deps-svg]][dev-deps-url] | ||
[downloads-url]: http://npm-stat.com/charts.html?package=string.prototype.padstart | ||
[codecov-image]: https://codecov.io/gh/es-shims/String.prototype.padStart/branch/main/graphs/badge.svg | ||
[codecov-url]: https://app.codecov.io/gh/es-shims/String.prototype.padStart/ | ||
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/String.prototype.padStart | ||
[actions-url]: https://github.com/es-shims/String.prototype.padStart/actions |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14404
47
145
Updatedes-abstract@^1.19.1