Skip to content

Commit 5b1f56a

Browse files
authored
Prepare v1.2.0 release (#1647)
1 parent ce877b6 commit 5b1f56a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

packages/web-features/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ npm install web-features
99
```
1010

1111
```js
12-
import { features, groups, snapshots } from "web-features";
12+
import { browsers, features, groups, snapshots } from "web-features";
1313
```
1414

1515
Or, without Node.js:
1616

1717
```js
1818
import data from "web-features/data.json" with { type: "json" };
19-
const { features, groups, snapshots } = data;
19+
const { browsers, features, groups, snapshots } = data;
2020
```
2121

2222
To import the JSON schema with or without Node.js:

packages/web-features/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { fileURLToPath } from "node:url";
44
import { WebFeaturesData } from "./types";
55

66
const jsonPath = fileURLToPath(new URL("./data.json", import.meta.url));
7-
const { features, groups, snapshots } = JSON.parse(
7+
const { browsers, features, groups, snapshots } = JSON.parse(
88
readFileSync(jsonPath, { encoding: "utf-8" }),
99
) as WebFeaturesData;
1010

11-
export { features, groups, snapshots };
11+
export { browsers, features, groups, snapshots };

packages/web-features/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/web-features/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "web-features",
33
"description": "Curated list of Web platform features",
4-
"version": "1.1.0",
4+
"version": "1.2.0",
55
"license": "Apache-2.0",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)