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.17 to 0.1.0-alpha.18

22

lib/Platform.js

@@ -5,2 +5,3 @@ global.__jymfony = global.__jymfony || {};

let _asyncGeneratorSupport = undefined;
let _nativeDecoratorSupport = undefined;
let _modernRegex = undefined;

@@ -61,2 +62,23 @@ let _publicFields = undefined;

/**
* Checks if this node version has native decorators support.
*
* @return {boolean}
*/
static hasNativeDecoratorsSupport() {
if (undefined === _nativeDecoratorSupport) {
_nativeDecoratorSupport = false;
try {
eval('decorator @testDecorator(options) { _nativeDecoratorSupport = true; }\n@testDecorator class Foo {}');
} catch (e) {
if (!(e instanceof SyntaxError)) {
throw e;
}
}
}
return _nativeDecoratorSupport;
}
/**
* Are we running on windows?

@@ -63,0 +85,0 @@ *

2

lib/String/sprintf.js

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

// Grab value using valueIndex if required?
value = valueIndex ? a[valueIndex.slice(0, -1)] : a[i++];
value = valueIndex ? a[valueIndex.slice(0, -1) - 1] : a[i++];

@@ -150,0 +150,0 @@ switch (type) {

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

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

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

@@ -26,4 +26,4 @@ "devDependencies": {

"@jymfony/datastructure": "*",
"chai": "^3.5.0",
"mocha": "^5.0"
"chai": "^4.2",
"mocha": "^6.0"
},

@@ -30,0 +30,0 @@ "config": {

require('../../index');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ function * doWork() {

require('../../index');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ const kNext = 1;

require('../../index');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('Mutex', function () {

require('../../lib/Error/trigger_deprecated');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('Deprecation Trigger', function () {

require('../../lib/Function/BoundFunction');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ class TestObject {

require('../../lib/Function/callableArray');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ class TestObject {

require('../../lib/Function/Debounce');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('Debounce', function () {

require('../../lib/Function/getFunction');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ class TestObject {

require('../lib/is');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ class InvokableObject {

require('../lib/mixins');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('Mixins.getInterface', function () {

require('../../lib/Object/clone');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ class GrandParent {

require('../../lib/Object/deepMerge');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('Deep Merge', function () {

require('../../lib/Object/equal');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('Equal', function () {

require('../../lib/Object/clone');
const expect = require('chai').expect;
const { expect } = require('chai');
const sym = Symbol('test');

@@ -4,0 +4,0 @@

require('../../lib/Object/serialize');
const Namespace = Jymfony.Component.Autoloader.Namespace;
const expect = require('chai').expect;
const { expect } = require('chai');
const path = require('path');

@@ -6,0 +6,0 @@

require('../../lib/Object/sort');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('Sort', function () {

require('../../lib/Regex/quote');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('Regex quote', function () {

require('../../lib/String/crc32');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('crc32', function () {

require('../../lib/String/htmlentities');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('htmlentities', function () {

require('../../lib/String/levenshtein');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('Levenshtein distance', function () {

require('../../lib/String/querystring');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('Parse query string', function () {

require('../../lib/String/sprintf');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('Sprintf', function () {

require('../../lib/String/strcspn');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('Strcspn', function () {

require('../../lib/String/strtr');
const expect = require('chai').expect;
const { expect } = require('chai');

@@ -4,0 +4,0 @@ describe('Strtr', function () {

@@ -1,2 +0,2 @@

const expect = require('chai').expect;
const { expect } = require('chai');

@@ -3,0 +3,0 @@ describe('Trim', function () {

@@ -1,2 +0,2 @@

const expect = require('chai').expect;
const { expect } = require('chai');

@@ -3,0 +3,0 @@ describe('Uppercase first character', function () {

@@ -1,2 +0,2 @@

const expect = require('chai').expect;
const { expect } = require('chai');

@@ -3,0 +3,0 @@ describe('Uppercase first words characters', function () {

@@ -1,2 +0,2 @@

const expect = require('chai').expect;
const { expect } = require('chai');

@@ -3,0 +3,0 @@ const special_forms = [ '-dev', 'a1', 'b1', 'RC1', 'rc1', '', 'pl1' ];

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

export function getEntries<V>(object: V[]): IterableIterator<[number, V]>;
export function getEntries<K extends string | number | symbol, V>(object: Record<K, V>): IterableIterator<[K, V]>;
export function getEntries<T, K extends keyof T>(object: T): IterableIterator<[K, T[K]]>;

@@ -312,2 +312,3 @@ /**

isArray(value: any): value is Array<any>;
isArray<T>(value: any): value is Array<T>;
isBuffer(value: any): value is Buffer;

@@ -314,0 +315,0 @@ isObject(value: any): value is object;

@@ -14,2 +14,7 @@ declare namespace __jymfony {

/**
* Checks if this node version has native decorators support.
*/
static hasNativeDecoratorsSupport(): boolean;
/**
* Are we running on windows?

@@ -16,0 +21,0 @@ */

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