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.9 to 1.0.10

10

CHANGELOG.md

@@ -8,2 +8,12 @@ # Changelog

## [v1.0.10](https://github.com/es-shims/String.prototype.replaceAll/compare/v1.0.9...v1.0.10) - 2024-03-19
### Commits
- [Deps] update `call-bind`, `es-abstract`, `es-errors`, `get-intrinsic` [`769d1cf`](https://github.com/es-shims/String.prototype.replaceAll/commit/769d1cf2ee05915f9a666f7ad55dbd60eebf99e0)
- [actions] remove redundant finisher [`74bfab2`](https://github.com/es-shims/String.prototype.replaceAll/commit/74bfab2b3b63b406677b725b685e0b62e1ae6914)
- [Refactor] use `es-object-atoms` where possible [`6696151`](https://github.com/es-shims/String.prototype.replaceAll/commit/6696151c0b5ffd8374a0f8fcc5872ddc7eff894e)
- [meta] add missing `engines.node` [`e38cb2b`](https://github.com/es-shims/String.prototype.replaceAll/commit/e38cb2b68328349e689a0ac996298e027ec4570d)
- [Dev Deps] update `tape` [`784df8c`](https://github.com/es-shims/String.prototype.replaceAll/commit/784df8c7f611a1f09db5b59e4cc2beaa1b0cfb3d)
## [v1.0.9](https://github.com/es-shims/String.prototype.replaceAll/compare/v1.0.8...v1.0.9) - 2024-02-04

@@ -10,0 +20,0 @@

18

implementation.js
'use strict';
var Call = require('es-abstract/2023/Call');
var GetMethod = require('es-abstract/2023/GetMethod');
var GetSubstitution = require('es-abstract/2023/GetSubstitution');
var IsCallable = require('es-abstract/2023/IsCallable');
var RequireObjectCoercible = require('es-abstract/2023/RequireObjectCoercible');
var ToString = require('es-abstract/2023/ToString');
var StringIndexOf = require('es-abstract/2023/StringIndexOf');
var Type = require('es-abstract/2023/Type');
var Call = require('es-abstract/2024/Call');
var GetMethod = require('es-abstract/2024/GetMethod');
var GetSubstitution = require('es-abstract/2024/GetSubstitution');
var IsCallable = require('es-abstract/2024/IsCallable');
var RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');
var ToString = require('es-abstract/2024/ToString');
var StringIndexOf = require('es-abstract/2024/StringIndexOf');
var GetIntrinsic = require('get-intrinsic');

@@ -68,3 +68,3 @@ var callBound = require('call-bind/callBound');

} else {
if (Type(replaceValue) !== 'String') {
if (typeof replaceValue !== 'string') {
throw new $TypeError('Assertion failed: `replaceValue` should be a string at this point');

@@ -71,0 +71,0 @@ }

{
"name": "string.prototype.replaceall",
"version": "1.0.9",
"version": "1.0.10",
"description": "Spec-compliant polyfill for String.prototype.replaceAll ESnext proposal",

@@ -58,10 +58,11 @@ "main": "index.js",

"safe-publish-latest": "^2.0.0",
"tape": "^5.7.4"
"tape": "^5.7.5"
},
"dependencies": {
"call-bind": "^1.0.5",
"call-bind": "^1.0.7",
"define-properties": "^1.2.1",
"es-abstract": "^1.22.3",
"es-errors": "^1.1.0",
"get-intrinsic": "^1.2.3",
"es-abstract": "^1.23.2",
"es-errors": "^1.3.0",
"es-object-atoms": "^1.0.0",
"get-intrinsic": "^1.2.4",
"has-symbols": "^1.0.3",

@@ -82,3 +83,6 @@ "is-regex": "^1.1.4"

]
},
"engines": {
"node": ">= 0.4"
}
}
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