Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 5fdc3e0

Browse files
authored
Updates engines.node stanza to reflect actual requirements (optimizely#472)
Summary: The version spec in package.json#engines.node is out of date from what is specified in the corresponding READMEs. This updates the package to declare the correct minimum version of node. While it may seem unimportant, the package.json#engines.node spec is respected by some tools, like nodenv, for node version selection. So this being incorrect can potentially activate the wrong version of node for someone developing locally.
1 parent 146fb43 commit 5fdc3e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/datafile-manager/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Optimizely Full Stack Datafile Manager",
55
"license": "Apache-2.0",
66
"engines": {
7-
"node": ">=6.0.0"
7+
"node": ">=8.0.0"
88
},
99
"main": "lib/index.node.js",
1010
"browser": "lib/index.browser.js",

packages/optimizely-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"license": "Apache-2.0",
2727
"engines": {
28-
"node": ">=4.0.0"
28+
"node": ">=8.0.0"
2929
},
3030
"keywords": [
3131
"optimizely"

0 commit comments

Comments
 (0)