New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

string.prototype.replaceall

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string.prototype.replaceall - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

.editorconfig

34

CHANGELOG.md

@@ -8,4 +8,20 @@ # Changelog

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
## [v1.0.4](https://github.com/es-shims/String.prototype.replaceAll/compare/v1.0.3...v1.0.4) - 2020-11-21
### Commits
- [Tests] migrate tests to Github Actions [`a3561c7`](https://github.com/es-shims/String.prototype.replaceAll/commit/a3561c7bcbe2e88bbd5d0d648f7ffb79634fad78)
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `es6-shim`, `tape` [`80dfacb`](https://github.com/es-shims/String.prototype.replaceAll/commit/80dfacb9694d9227d8c59138cf908c5909001d86)
- [Deps] update `es-abstract`, `is-regex`; use `get-intrinsic` and `call-bind` where applicable [`a956402`](https://github.com/es-shims/String.prototype.replaceAll/commit/a956402c4f9ee6127962acea0ac86d9e9a8531d5)
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `functions-have-names`; add `safe-publish-latest` [`5e469fd`](https://github.com/es-shims/String.prototype.replaceAll/commit/5e469fda0c48702efc3f816e4be8bdf99cf44ee6)
- [Tests] run `nyc` on all tests [`b5d1eeb`](https://github.com/es-shims/String.prototype.replaceAll/commit/b5d1eebe06414a87b49d01b61755dee8f628685e)
- [actions] add "Allow Edits" workflow [`03f0140`](https://github.com/es-shims/String.prototype.replaceAll/commit/03f0140a2c6a64e8c6c10a06eaedaadf980dc700)
- [Deps] update `es-abstract`, `is-regex`; refactor away from `function-bind` [`dadd98c`](https://github.com/es-shims/String.prototype.replaceAll/commit/dadd98c7b156f9572123520416ee3d73081d16de)
- [Dev Deps] update `es5-shim`, `tape` [`1740467`](https://github.com/es-shims/String.prototype.replaceAll/commit/174046765a0ae2e55eb9eae0f6564f58cefa62e7)
- [Dev Deps] update `auto-changelog`; add `aud` [`41ce396`](https://github.com/es-shims/String.prototype.replaceAll/commit/41ce39649906b98522226fc27ffbc5fa876b1f6e)
- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`77ce2cd`](https://github.com/es-shims/String.prototype.replaceAll/commit/77ce2cd20f0f1b4d5f1ca94c826b11b083fac16f)
- [Dev Deps] update `auto-changelog`, `tape` [`a13336c`](https://github.com/es-shims/String.prototype.replaceAll/commit/a13336c38bb6c35c68a49bac90e34dd0c41bdd66)
- [Tests] only audit prod deps [`c122c88`](https://github.com/es-shims/String.prototype.replaceAll/commit/c122c885a34af4da75f414f7aeb10e2ab0601b51)
- [Deps] update `es-abstract` [`f6b0048`](https://github.com/es-shims/String.prototype.replaceAll/commit/f6b0048e5e1371ee2e599bc25952cdfec8b94445)
## [v1.0.3](https://github.com/es-shims/String.prototype.replaceAll/compare/v1.0.2...v1.0.3) - 2019-12-14

@@ -15,9 +31,9 @@

- [Tests] use shared travis-ci configs [`3568ec6`](https://github.com/es-shims/String.prototype.replaceAll/commit/3568ec65bd75a5e1bb26385416c6152a0b46aa8a)
- [meta] rerun `auto-changelog` [`d3d9c4b`](https://github.com/es-shims/String.prototype.replaceAll/commit/d3d9c4b49d6b4e570dac8ea994fa66feeef68501)
- [Refactor] use split-up `es-abstract` (71% bundle size decrease) [`ea58502`](https://github.com/es-shims/String.prototype.replaceAll/commit/ea585029afa62b850ec937a4d4ef39472b4d52c1)
- [actions] add automatic rebasing / merge commit blocking [`b560c40`](https://github.com/es-shims/String.prototype.replaceAll/commit/b560c408c1249cb0c5c56a0608a97cb4b0e9595c)
- [Deps] update `es-abstract`, `has-symbols` [`8835acf`](https://github.com/es-shims/String.prototype.replaceAll/commit/8835acf51d5b39c3d7e815dc04e0da803b2838e9)
- [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`9bf0752`](https://github.com/es-shims/String.prototype.replaceAll/commit/9bf07522a32a425bb955a8a26b71c1044402cbab)
- [meta] add `funding` field [`b224153`](https://github.com/es-shims/String.prototype.replaceAll/commit/b224153fd7015edea8da28426d05690f20cf29db)
- [Tests] use shared travis-ci configs [`410a2f8`](https://github.com/es-shims/String.prototype.replaceAll/commit/410a2f88ae5ab038f58fa77d00760a0d74257b99)
- [meta] rerun `auto-changelog` [`de4a904`](https://github.com/es-shims/String.prototype.replaceAll/commit/de4a904e8d530091db510b31598c46da71bd12f1)
- [Refactor] use split-up `es-abstract` (71% bundle size decrease) [`dd62b57`](https://github.com/es-shims/String.prototype.replaceAll/commit/dd62b57c7f51147ac13b401c86bd47f9a16ee767)
- [actions] add automatic rebasing / merge commit blocking [`f390fa7`](https://github.com/es-shims/String.prototype.replaceAll/commit/f390fa70f019a290f6be9b2daa9f38895a0f13f4)
- [Deps] update `es-abstract`, `has-symbols` [`ff7ab0c`](https://github.com/es-shims/String.prototype.replaceAll/commit/ff7ab0c7ec18f3eca5cdcc6e49d54e61be453dc5)
- [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`5945afc`](https://github.com/es-shims/String.prototype.replaceAll/commit/5945afccb80b8b4750f8b2b9173c1265a53846d1)
- [meta] add `funding` field [`f0fdbf1`](https://github.com/es-shims/String.prototype.replaceAll/commit/f0fdbf1f23b8f474c0e427a565be37c62faf07cd)

@@ -44,3 +60,3 @@ ## [v1.0.2](https://github.com/es-shims/String.prototype.replaceAll/compare/v1.0.1...v1.0.2) - 2019-10-31

## v1.0.0 - 2019-09-04
## v1.0.0 - 2019-09-03

@@ -47,0 +63,0 @@ ### Commits

'use strict';
var Call = require('es-abstract/2019/Call');
var GetMethod = require('es-abstract/2019/GetMethod');
var GetSubstitution = require('es-abstract/2019/GetSubstitution');
var IsCallable = require('es-abstract/2019/IsCallable');
var IsInteger = require('es-abstract/2019/IsInteger');
var RequireObjectCoercible = require('es-abstract/2019/RequireObjectCoercible');
var ToString = require('es-abstract/2019/ToString');
var Type = require('es-abstract/2019/Type');
var GetIntrinsic = require('es-abstract/GetIntrinsic');
var callBound = require('es-abstract/helpers/callBound');
var Call = require('es-abstract/2020/Call');
var GetMethod = require('es-abstract/2020/GetMethod');
var GetSubstitution = require('es-abstract/2020/GetSubstitution');
var IsCallable = require('es-abstract/2020/IsCallable');
var IsInteger = require('es-abstract/2020/IsInteger');
var RequireObjectCoercible = require('es-abstract/2020/RequireObjectCoercible');
var ToString = require('es-abstract/2020/ToString');
var Type = require('es-abstract/2020/Type');
var GetIntrinsic = require('get-intrinsic');
var callBound = require('call-bind/callBound');
var hasSymbols = require('has-symbols')();

@@ -24,4 +24,4 @@ var isRegex = require('is-regex');

// TODO: replace this with the es-abstract 2020 impl once it's merged and published
// eslint-disable-next-line max-params, func-style
// TODO: replace this with the es-abstract 2021 impl once it's merged and published
// eslint-disable-next-line func-style
function StringIndexOf(string, searchValue, fromIndex) {

@@ -45,3 +45,3 @@ if (Type(string) !== 'String' || Type(searchValue) !== 'String') {

// eslint-disable-next-line complexity, max-statements, max-lines-per-function
// eslint-disable-next-line max-statements, max-lines-per-function
module.exports = function replaceAll(searchValue, replaceValue) {

@@ -48,0 +48,0 @@ var O = RequireObjectCoercible(this);

'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.replaceall",
"version": "1.0.3",
"version": "1.0.4",
"description": "Spec-compliant polyfill for String.prototype.replaceAll ESnext proposal",
"main": "index.js",
"scripts": {
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
"prepublish": "safe-publish-latest",
"pretest": "npm run lint",
"test": "npm run tests-only",
"posttest": "npx aud",
"tests-only": "npm run test:module && npm run test:shim",
"test:module": "node test",
"test:shim": "node test/shimmed",
"posttest": "npx aud --production",
"tests-only": "nyc tape 'test/**/*.js'",
"prelint": "evalmd *.md",
"lint": "eslint .",
"postlint": "es-shim-api --bound"
"postlint": "es-shim-api --bound",
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
},

@@ -45,16 +44,21 @@ "repository": {

"@es-shims/api": "^2.1.2",
"@ljharb/eslint-config": "^15.0.2",
"auto-changelog": "^1.16.2",
"es5-shim": "^4.5.13",
"es6-shim": "^0.35.5",
"eslint": "^6.7.2",
"@ljharb/eslint-config": "^17.2.0",
"aud": "^1.1.3",
"auto-changelog": "^2.2.1",
"es5-shim": "^4.5.14",
"es6-shim": "^0.35.6",
"eslint": "^7.14.0",
"evalmd": "^0.0.19",
"functions-have-names": "^1.2.0"
"functions-have-names": "^1.2.1",
"nyc": "^10.3.2",
"safe-publish-latest": "^1.1.4",
"tape": "^5.0.1"
},
"dependencies": {
"call-bind": "^1.0.0",
"define-properties": "^1.1.3",
"es-abstract": "^1.17.0-next.1",
"function-bind": "^1.1.1",
"es-abstract": "^1.18.0-next.1",
"get-intrinsic": "^1.0.1",
"has-symbols": "^1.0.1",
"is-regex": "^1.0.4"
"is-regex": "^1.1.1"
},

@@ -66,4 +70,5 @@ "auto-changelog": {

"commitLimit": false,
"backfillLimit": false
"backfillLimit": false,
"hideCredit": true
}
}

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

var defineProperties = require('define-properties');
var bind = require('function-bind');
var callBind = require('call-bind');

@@ -31,3 +31,3 @@ var isEnumerable = Object.prototype.propertyIsEnumerable;

runTests(
bind.call(Function.call, String.prototype.replaceAll),
callBind(String.prototype.replaceAll),
t

@@ -34,0 +34,0 @@ );

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