string.prototype.padstart
Advanced tools
Comparing version
@@ -0,1 +1,14 @@ | ||
3.1.1 / 2020-11-21 | ||
================= | ||
* [Deps] update `es-abstract`; use `call-bind` where applicable | ||
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `functions-have-names`, `tape`; add `aud` | ||
* [actions] add "Allow Edits" workflow | ||
* [actions] switch Automatic Rebase workflow to `pull_request_target` event | ||
* [meta] gitignore nyc output | ||
* [meta] add `safe-publish-latest` | ||
* [Tests] migrate tests to Github Actions | ||
* [Tests] run `nyc` on all tests | ||
* [Tests] add `implementation` test; run `es-shim-api` in postlint; use `tape` runner | ||
* [Tests] update `function-bind` | ||
3.1.0 / 2019-12-14 | ||
@@ -2,0 +15,0 @@ ================= |
'use strict'; | ||
var ToLength = require('es-abstract/2019/ToLength'); | ||
var ToString = require('es-abstract/2019/ToString'); | ||
var RequireObjectCoercible = require('es-abstract/2019/RequireObjectCoercible'); | ||
var ToLength = require('es-abstract/2020/ToLength'); | ||
var ToString = require('es-abstract/2020/ToString'); | ||
var RequireObjectCoercible = require('es-abstract/2020/RequireObjectCoercible'); | ||
var callBound = require('es-abstract/helpers/callBound'); | ||
var callBound = require('call-bind/callBound'); | ||
var $slice = callBound('String.prototype.slice'); | ||
@@ -9,0 +9,0 @@ |
'use strict'; | ||
var define = require('define-properties'); | ||
var RequireObjectCoercible = require('es-abstract/2019/RequireObjectCoercible'); | ||
var callBind = require('es-abstract/helpers/callBind'); | ||
var RequireObjectCoercible = require('es-abstract/2020/RequireObjectCoercible'); | ||
var callBind = require('call-bind'); | ||
@@ -7,0 +7,0 @@ var implementation = require('./implementation'); |
{ | ||
"name": "string.prototype.padstart", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"author": "Jordan Harband <ljharb@gmail.com>", | ||
@@ -12,11 +12,9 @@ "funding": { | ||
"scripts": { | ||
"pretest": "npm run --silent lint", | ||
"test": "npm run --silent tests-only", | ||
"posttest": "npx aud", | ||
"tests-only": "es-shim-api --bound && npm run --silent test:shimmed && npm run --silent test:module", | ||
"test:shimmed": "node test/shimmed.js", | ||
"test:module": "node test/index.js", | ||
"coverage": "covert test/*.js", | ||
"coverage-quiet": "covert test/*.js --quiet", | ||
"lint": "eslint ." | ||
"prepublish": "safe-publish-latest", | ||
"pretest": "npm run lint", | ||
"test": "npm run tests-only", | ||
"posttest": "aud --production", | ||
"tests-only": "nyc tape 'test/**/*.js'", | ||
"lint": "eslint .", | ||
"postlint": "es-shim-api --bound" | ||
}, | ||
@@ -43,13 +41,16 @@ "repository": { | ||
"dependencies": { | ||
"call-bind": "^1.0.0", | ||
"define-properties": "^1.1.3", | ||
"es-abstract": "^1.17.0-next.1" | ||
"es-abstract": "^1.18.0-next.1" | ||
}, | ||
"devDependencies": { | ||
"@es-shims/api": "^2.1.2", | ||
"@ljharb/eslint-config": "^15.0.2", | ||
"covert": "^1.1.1", | ||
"eslint": "^6.7.2", | ||
"function-bind": "^1.1.1", | ||
"functions-have-names": "^1.2.0", | ||
"tape": "^4.11.0" | ||
"@ljharb/eslint-config": "^17.2.0", | ||
"aud": "^1.1.3", | ||
"eslint": "^7.14.0", | ||
"functions-have-names": "^1.2.1", | ||
"has-strict-mode": "^1.0.0", | ||
"nyc": "^10.3.2", | ||
"safe-publish-latest": "^1.1.4", | ||
"tape": "^5.0.1" | ||
}, | ||
@@ -56,0 +57,0 @@ "testling": { |
@@ -8,3 +8,3 @@ 'use strict'; | ||
var defineProperties = require('define-properties'); | ||
var bind = require('function-bind'); | ||
var callBind = require('call-bind'); | ||
var isEnumerable = Object.prototype.propertyIsEnumerable; | ||
@@ -35,5 +35,5 @@ var functionsHaveNames = require('functions-have-names')(); | ||
runTests(bind.call(Function.call, String.prototype.padStart), t); | ||
runTests(callBind(String.prototype.padStart), t); | ||
t.end(); | ||
}); |
Sorry, the diff of this file is not supported yet
18650
53.46%24
50%149
12.03%3
50%9
28.57%+ Added
Updated