Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit 4a9a544

Browse files
committed
v3.0.3
1 parent de3de9d commit 4a9a544

File tree

6 files changed

+9
-50
lines changed

6 files changed

+9
-50
lines changed

.circleci/config.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 3.0.3 / 2024-01-10
2+
3+
- Update `README` in preparation for archiving the project.
4+
15
# 3.0.2 / 2023-07-06
26

37
- Remove extraneous dependencies from `babel-plugin-idx`.

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# idx [![CircleCI](https://dl.circleci.com/status-badge/img/gh/facebook/idx/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/facebook/idx/tree/main)
1+
# idx
22

3-
[![Support Ukraine](https://img.shields.io/badge/Support-Ukraine-FFD500?style=flat&labelColor=005BBB)](https://opensource.fb.com/support-ukraine)
3+
**This module is deprecated and no longer maintained. Use [optional chaining](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Optional_chaining) instead.**
44

55
`idx` is a utility function for traversing properties on objects and arrays,
66
where intermediate properties may be null or undefined.
77

8-
**This module has since been deprecated, in favor of [optional chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining).**
9-
108
One notable difference between `idx` and optional chaining is what happens when
119
an intermediate property is null or undefined. With `idx`, the null or undefined
1210
value is returned, whereas optional chaining would resolve to undefined.

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"packages": ["packages/*"],
3-
"version": "3.0.2",
3+
"version": "3.0.3",
44
"npmClient": "yarn"
55
}

packages/babel-plugin-idx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "babel-plugin-idx",
3-
"version": "3.0.2",
3+
"version": "3.0.3",
44
"description": "Babel plugin for transforming the idx utility function.",
55
"main": "lib/babel-plugin-idx.js",
66
"files": [

packages/idx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "idx",
3-
"version": "3.0.1",
3+
"version": "3.0.3",
44
"description": "Utility function for traversing properties on objects and arrays.",
55
"main": "lib/idx.js",
66
"types": "lib/idx.d.ts",

0 commit comments

Comments
 (0)