Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

string.prototype.trimleft

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string.prototype.trimleft - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

.eslintignore

17

CHANGELOG.md

@@ -0,1 +1,18 @@

2.1.3 / 2020-11-22
=================
* [Deps] update `string.prototype.trimstart`; use `call-bind` instead of `es-abstract`
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`; add `aud`
* [actions] add "Allow Edits" workflow
* [actions] switch Automatic Rebase workflow to `pull_request_target` event
* [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
2.1.2 / 2020-03-30
=================
* [Refactor] use `string.prototype.trimstart` for the implementation
* [Refactor] use `es-abstract`’s `callBind` helper instead of `function-bind` directly
* [meta] correct spec year
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `functions-have-names`; add `safe-publish-latest`
2.1.1 / 2019-12-17

@@ -2,0 +19,0 @@ =================

2

index.js
'use strict';
var callBind = require('es-abstract/helpers/callBind');
var callBind = require('call-bind');
var define = require('define-properties');

@@ -5,0 +5,0 @@

{
"name": "string.prototype.trimleft",
"version": "2.1.2",
"version": "2.1.3",
"author": "Jordan Harband <ljharb@gmail.com>",

@@ -13,10 +13,8 @@ "funding": {

"prepublish": "safe-publish-latest",
"pretest": "npm run lint && es-shim-api --bound",
"pretest": "npm run lint",
"test": "npm run tests-only",
"posttest": "npx aud",
"tests-only": "npm run --silent test:shimmed && npm run --silent test:module",
"test:shimmed": "node test/shimmed",
"test:module": "node test",
"coverage": "covert test/*.js",
"lint": "eslint ."
"posttest": "aud --production",
"tests-only": "nyc tape 'test/**/*.js'",
"lint": "eslint .",
"postlint": "es-shim-api --bound"
},

@@ -42,14 +40,16 @@ "repository": {

"dependencies": {
"call-bind": "^1.0.0",
"define-properties": "^1.1.3",
"es-abstract": "^1.17.5",
"string.prototype.trimstart": "^1.0.0"
"string.prototype.trimstart": "^1.0.3"
},
"devDependencies": {
"@es-shims/api": "^2.1.2",
"@ljharb/eslint-config": "^16.0.0",
"covert": "^1.1.1",
"eslint": "^6.8.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.0-next.4"
"tape": "^5.0.1"
},

@@ -56,0 +56,0 @@ "testling": {

@@ -10,3 +10,3 @@ 'use strict';

var defineProperties = require('define-properties');
var callBind = require('es-abstract/helpers/callBind');
var callBind = require('call-bind');
var isEnumerable = Object.prototype.propertyIsEnumerable;

@@ -13,0 +13,0 @@ var functionsHaveNames = require('functions-have-names')();

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc