aboutsummaryrefslogtreecommitdiff
path: root/node_modules/json5/lib/require.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/json5/lib/require.js')
-rw-r--r--node_modules/json5/lib/require.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/node_modules/json5/lib/require.js b/node_modules/json5/lib/require.js
new file mode 100644
index 0000000..3aa29be
--- /dev/null
+++ b/node_modules/json5/lib/require.js
@@ -0,0 +1,4 @@
+// This file is for backward compatibility with v0.5.1.
+require('./register')
+
+console.warn("'json5/require' is deprecated. Please use 'json5/register' instead.")