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

regexp.prototype.flags

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regexp.prototype.flags - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

CHANGELOG.md

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

1.1.1 / 2015-08-16
=================
* [Fix] cover the case where there is no descriptor on the prototype
1.1.0 / 2015-08-16

@@ -2,0 +6,0 @@ =================

7

package.json
{
"name": "regexp.prototype.flags",
"version": "1.1.0",
"version": "1.1.1",
"author": "Jordan Harband",

@@ -25,8 +25,11 @@ "description": "ES6 spec-compliant RegExp.prototype.flags shim.",

"regex",
"regular expression",
"ES6",
"shim",
"flag",
"flags",
"regexp",
"RegExp#flags",
"polyfill"
"polyfill",
"es-shim API"
],

@@ -33,0 +36,0 @@ "dependencies": {

@@ -14,5 +14,8 @@ 'use strict';

if (/a/mig.flags === 'gim') {
return gOPD(RegExp.prototype, 'flags').get;
var descriptor = gOPD(RegExp.prototype, 'flags');
if (descriptor && typeof descriptor.get === 'function') {
return descriptor.get;
}
}
return implementation;
};

@@ -55,2 +55,1 @@ RegExp.prototype.flags <sup>[![Version Badge][npm-version-svg]][package-url]</sup>

[downloads-url]: http://npm-stat.com/charts.html?package=regexp.prototype.flags
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