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

@jymfony/util

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jymfony/util - npm Package Compare versions

Comparing version 0.1.0-alpha.16 to 0.1.0-alpha.17

6

lib/Regex/named.js

@@ -48,3 +48,7 @@ 'use strict';

*/
[Symbol.hasInstance](instance) {
static [Symbol.hasInstance](instance) {
if (! instance) {
return false;
}
return instance.constructor === RegExp || instance.constructor === __jymfony.RegExp;

@@ -51,0 +55,0 @@ }

4

package.json
{
"name": "@jymfony/util",
"version": "0.1.0-alpha.16",
"version": "0.1.0-alpha.17",
"description": "Jymfony util functions",

@@ -20,3 +20,3 @@ "main": "index.js",

"dependencies": {
"@jymfony/exceptions": "0.1.0-alpha.16"
"@jymfony/exceptions": "0.1.0-alpha.17"
},

@@ -23,0 +23,0 @@ "devDependencies": {

@@ -9,2 +9,8 @@ require('../../lib/Regex/quote');

});
if (! __jymfony.Platform.hasModernRegex()) {
it('native regex instanceof named regex should return true', () => {
expect(/23/gi instanceof RegExp).to.be.true;
});
}
});

@@ -223,3 +223,3 @@ /// <reference lib="esnext" />

}
declare type Constructor<T = any> = Function | { prototype: T };
declare type Constructor<T = any> = Function & { prototype: T };

@@ -230,4 +230,4 @@ declare class MixinInterface {

declare function getInterface<T = any>(definition: T): T & MixinInterface;
declare function getTrait<T = any>(definition: T): T & MixinInterface;
declare function getInterface<T = any>(definition: T): Constructor<T & MixinInterface>;
declare function getTrait<T = any>(definition: T): Constructor<T & MixinInterface>;

@@ -234,0 +234,0 @@ declare type AsyncFunction = (...args: any[]) => Promise<any>;

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