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

@funboxteam/diamonds

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@funboxteam/diamonds - npm Package Compare versions

Comparing version 6.0.0 to 6.1.0

dist/cjs/find-last.js

5

CHANGELOG.md
# Changelog
## 6.1.0 (12.09.2020)
Added [findLast](./lib/findLast.ts).
## 6.0.0 (24.07.2020)

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

2

dist/cjs/index.js

@@ -18,2 +18,4 @@ "use strict";

Object.defineProperty(exports, "equals", { enumerable: true, get: function () { return equals_1.default; } });
var find_last_1 = require("./find-last");
Object.defineProperty(exports, "findLast", { enumerable: true, get: function () { return find_last_1.default; } });
var format_number_string_1 = require("./format-number-string");

@@ -20,0 +22,0 @@ Object.defineProperty(exports, "formatNumberString", { enumerable: true, get: function () { return format_number_string_1.default; } });

@@ -8,2 +8,3 @@ export { enableBodyScroll, disableBodyScroll } from './body-scroll';

export { default as equals } from './equals';
export { default as findLast } from './find-last';
export { default as formatNumberString } from './format-number-string';

@@ -10,0 +11,0 @@ export { default as formatPhoneNumberString } from './format-phone-number-string';

@@ -8,2 +8,3 @@ export { enableBodyScroll, disableBodyScroll } from './body-scroll';

export { default as equals } from './equals';
export { default as findLast } from './find-last';
export { default as formatNumberString } from './format-number-string';

@@ -10,0 +11,0 @@ export { default as formatPhoneNumberString } from './format-phone-number-string';

2

package.json
{
"name": "@funboxteam/diamonds",
"version": "6.0.0",
"version": "6.1.0",
"description": "A shiny pile of typed JS helpers for everyday use",

@@ -5,0 +5,0 @@ "scripts": {

@@ -11,3 +11,3 @@ # @funboxteam/diamonds

All helpers are independent from each other, which means that your project's bundle won't be bloated by useless code.
All helpers are independent of each other, which means that your project's bundle won't be bloated by useless code.

@@ -29,2 +29,3 @@ [По-русски](./README.ru.md)

- [equals](#equals)
- [findLast](#findLast)
- [formatNumberString](#formatnumberstring)

@@ -121,2 +122,7 @@ - [formatPhoneNumberString](#formatphonenumberstring)

### [findLast](./lib/find-last.ts)
Returns the value of the last element in the provided array that satisfies the provided testing function.
Otherwise `undefined`.
### [formatNumberString](./lib/format-number-string.ts)

@@ -147,3 +153,3 @@

```javascript
```js
getImageOrientation.call(this, image, orientation => {

@@ -150,0 +156,0 @@ let rotate;

@@ -28,2 +28,3 @@ # @funboxteam/diamonds

- [equals](#equals)
- [findLast](#findLast)
- [formatNumberString](#formatnumberstring)

@@ -105,3 +106,3 @@ - [formatPhoneNumberString](#formatphonenumberstring)

Возвращает функцию, которая вызовет колбэк только через указанное количество времени,
прошеднее с момента последнего вызова этой функции.
прошедшее с момента последнего вызова этой функции.

@@ -122,2 +123,7 @@ Пригождается, когда нужно, например, повесить обработчик на скролл,

### [findLast](./lib/find-last.ts)
Возвращает значение последнего найденного в массиве элемента, которое удовлетворяет условию переданному в колбэке.
Или `undefined`, если такого элемента нет.
### [formatNumberString](./lib/format-number-string.ts)

@@ -149,3 +155,3 @@

```javascript
```js
getImageOrientation.call(this, image, orientation => {

@@ -152,0 +158,0 @@ let rotate;

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