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

Commit 92b1bd1

Browse files
syxolkkazupon
authored andcommitted
⚡ improvement(npm): revert node >= 6.0 engine restriction (#110) by @syxolk
* 🔙 config(npm): revert node >= 6.0 engine restriction Partially revert commit a2ec64f that introduced backwards-incompatible change in 5.0.1. Fixes #109 * 💚 test: add 'use strict' to fix tests for node 4
1 parent c41aa13 commit 92b1bd1

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

config/build.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
'use strict'
12
const fs = require('fs')
23
const exist = fs.existsSync
34
const mkdir = fs.mkdirSync

config/bundle.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
'use strict'
12
const fs = require('fs')
23
const readFile = fs.readFile
34
const writeFile = fs.writeFile

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@
6161
"webpack": "^2.2.0",
6262
"webpack-dev-server": "^2.2.1"
6363
},
64-
"engines": {
65-
"node": ">= 6.0"
66-
},
6764
"files": [
6865
"dist/vue-i18n.js",
6966
"dist/vue-i18n.min.js",

test/e2e/runner.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
'use strict'
12
const path = require('path')
23
const spawn = require('cross-spawn')
34
const httpServer = require('http-server')

0 commit comments

Comments
 (0)