|
|
93cdd19 |
commit 7284934aab9a54d82cb9f7b7ae0823186b2ff3b0
|
|
|
93cdd19 |
Author: Tom Hughes <tom@compton.nu>
|
|
|
93cdd19 |
Date: Fri Jan 15 15:07:50 2016 +0000
|
|
|
93cdd19 |
|
|
|
93cdd19 |
Revert "Update lodash dependency to 4.0.0"
|
|
|
93cdd19 |
|
|
|
93cdd19 |
This reverts commit 6b4ce3cbacd82d8319ce4ad31a3d868436f3be1d.
|
|
|
93cdd19 |
|
|
|
93cdd19 |
diff --git a/package.json b/package.json
|
|
|
93cdd19 |
index e18f260..2ba5498 100644
|
|
|
93cdd19 |
--- a/package.json
|
|
|
93cdd19 |
+++ b/package.json
|
|
|
93cdd19 |
@@ -22,7 +22,7 @@
|
|
|
93cdd19 |
"node": ">=0.8.0"
|
|
|
93cdd19 |
},
|
|
|
93cdd19 |
"dependencies": {
|
|
|
93cdd19 |
- "lodash": "^4.0.0"
|
|
|
93cdd19 |
+ "lodash": "^3.5.0"
|
|
|
93cdd19 |
},
|
|
|
93cdd19 |
"devDependencies": {
|
|
|
93cdd19 |
"coffee-script": "*",
|
|
|
93cdd19 |
diff --git a/src/XMLAttribute.coffee b/src/XMLAttribute.coffee
|
|
|
93cdd19 |
index f2a1f30..3d72ec4 100644
|
|
|
93cdd19 |
--- a/src/XMLAttribute.coffee
|
|
|
93cdd19 |
+++ b/src/XMLAttribute.coffee
|
|
|
93cdd19 |
@@ -1,4 +1,4 @@
|
|
|
93cdd19 |
-create = require 'lodash/create'
|
|
|
93cdd19 |
+create = require 'lodash/object/create'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
# Represents an attribute
|
|
|
93cdd19 |
module.exports = class XMLAttribute
|
|
|
93cdd19 |
diff --git a/src/XMLCData.coffee b/src/XMLCData.coffee
|
|
|
93cdd19 |
index cd50cae..9b9ead2 100644
|
|
|
93cdd19 |
--- a/src/XMLCData.coffee
|
|
|
93cdd19 |
+++ b/src/XMLCData.coffee
|
|
|
93cdd19 |
@@ -1,4 +1,4 @@
|
|
|
93cdd19 |
-create = require 'lodash/create'
|
|
|
93cdd19 |
+create = require 'lodash/object/create'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
XMLNode = require './XMLNode'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
diff --git a/src/XMLComment.coffee b/src/XMLComment.coffee
|
|
|
93cdd19 |
index 35681c0..3c1a72d 100644
|
|
|
93cdd19 |
--- a/src/XMLComment.coffee
|
|
|
93cdd19 |
+++ b/src/XMLComment.coffee
|
|
|
93cdd19 |
@@ -1,4 +1,4 @@
|
|
|
93cdd19 |
-create = require 'lodash/create'
|
|
|
93cdd19 |
+create = require 'lodash/object/create'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
XMLNode = require './XMLNode'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
diff --git a/src/XMLDTDAttList.coffee b/src/XMLDTDAttList.coffee
|
|
|
93cdd19 |
index 836c4ce..b3ece2d 100644
|
|
|
93cdd19 |
--- a/src/XMLDTDAttList.coffee
|
|
|
93cdd19 |
+++ b/src/XMLDTDAttList.coffee
|
|
|
93cdd19 |
@@ -1,4 +1,4 @@
|
|
|
93cdd19 |
-create = require 'lodash/create'
|
|
|
93cdd19 |
+create = require 'lodash/object/create'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
# Represents an attribute list
|
|
|
93cdd19 |
module.exports = class XMLDTDAttList
|
|
|
93cdd19 |
diff --git a/src/XMLDTDElement.coffee b/src/XMLDTDElement.coffee
|
|
|
93cdd19 |
index 7a27811..07b9eb5 100644
|
|
|
93cdd19 |
--- a/src/XMLDTDElement.coffee
|
|
|
93cdd19 |
+++ b/src/XMLDTDElement.coffee
|
|
|
93cdd19 |
@@ -1,4 +1,4 @@
|
|
|
93cdd19 |
-create = require 'lodash/create'
|
|
|
93cdd19 |
+create = require 'lodash/object/create'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
# Represents an attribute
|
|
|
93cdd19 |
module.exports = class XMLDTDElement
|
|
|
93cdd19 |
diff --git a/src/XMLDTDEntity.coffee b/src/XMLDTDEntity.coffee
|
|
|
93cdd19 |
index edb8183..fa6531e 100644
|
|
|
93cdd19 |
--- a/src/XMLDTDEntity.coffee
|
|
|
93cdd19 |
+++ b/src/XMLDTDEntity.coffee
|
|
|
93cdd19 |
@@ -1,5 +1,5 @@
|
|
|
93cdd19 |
-create = require 'lodash/create'
|
|
|
93cdd19 |
-isObject = require 'lodash/isObject'
|
|
|
93cdd19 |
+create = require 'lodash/object/create'
|
|
|
93cdd19 |
+isObject = require 'lodash/lang/isObject'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
# Represents an entity declaration in the DTD
|
|
|
93cdd19 |
module.exports = class XMLDTDEntity
|
|
|
93cdd19 |
diff --git a/src/XMLDTDNotation.coffee b/src/XMLDTDNotation.coffee
|
|
|
93cdd19 |
index daafe62..901fa62 100644
|
|
|
93cdd19 |
--- a/src/XMLDTDNotation.coffee
|
|
|
93cdd19 |
+++ b/src/XMLDTDNotation.coffee
|
|
|
93cdd19 |
@@ -1,4 +1,4 @@
|
|
|
93cdd19 |
-create = require 'lodash/create'
|
|
|
93cdd19 |
+create = require 'lodash/object/create'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
# Represents a NOTATION entry in the DTD
|
|
|
93cdd19 |
module.exports = class XMLDTDNotation
|
|
|
93cdd19 |
diff --git a/src/XMLDeclaration.coffee b/src/XMLDeclaration.coffee
|
|
|
93cdd19 |
index 6cc7140..27f2485 100644
|
|
|
93cdd19 |
--- a/src/XMLDeclaration.coffee
|
|
|
93cdd19 |
+++ b/src/XMLDeclaration.coffee
|
|
|
93cdd19 |
@@ -1,5 +1,5 @@
|
|
|
93cdd19 |
-create = require 'lodash/create'
|
|
|
93cdd19 |
-isObject = require 'lodash/isObject'
|
|
|
93cdd19 |
+create = require 'lodash/object/create'
|
|
|
93cdd19 |
+isObject = require 'lodash/lang/isObject'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
XMLNode = require './XMLNode'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
diff --git a/src/XMLDocType.coffee b/src/XMLDocType.coffee
|
|
|
93cdd19 |
index 350b5eb..30dfe21 100644
|
|
|
93cdd19 |
--- a/src/XMLDocType.coffee
|
|
|
93cdd19 |
+++ b/src/XMLDocType.coffee
|
|
|
93cdd19 |
@@ -1,5 +1,5 @@
|
|
|
93cdd19 |
-create = require 'lodash/create'
|
|
|
93cdd19 |
-isObject = require 'lodash/isObject'
|
|
|
93cdd19 |
+create = require 'lodash/object/create'
|
|
|
93cdd19 |
+isObject = require 'lodash/lang/isObject'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
XMLCData = require './XMLCData'
|
|
|
93cdd19 |
XMLComment = require './XMLComment'
|
|
|
93cdd19 |
diff --git a/src/XMLElement.coffee b/src/XMLElement.coffee
|
|
|
93cdd19 |
index 49c6701..1ce9999 100644
|
|
|
93cdd19 |
--- a/src/XMLElement.coffee
|
|
|
93cdd19 |
+++ b/src/XMLElement.coffee
|
|
|
93cdd19 |
@@ -1,7 +1,7 @@
|
|
|
93cdd19 |
-create = require 'lodash/create'
|
|
|
93cdd19 |
-isObject = require 'lodash/isObject'
|
|
|
93cdd19 |
-isFunction = require 'lodash/isFunction'
|
|
|
93cdd19 |
-every = require 'lodash/every'
|
|
|
93cdd19 |
+create = require 'lodash/object/create'
|
|
|
93cdd19 |
+isObject = require 'lodash/lang/isObject'
|
|
|
93cdd19 |
+isFunction = require 'lodash/lang/isFunction'
|
|
|
93cdd19 |
+every = require 'lodash/collection/every'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
XMLNode = require './XMLNode'
|
|
|
93cdd19 |
XMLAttribute = require './XMLAttribute'
|
|
|
93cdd19 |
diff --git a/src/XMLNode.coffee b/src/XMLNode.coffee
|
|
|
93cdd19 |
index 7f1792f..cf0e4d9 100644
|
|
|
93cdd19 |
--- a/src/XMLNode.coffee
|
|
|
93cdd19 |
+++ b/src/XMLNode.coffee
|
|
|
93cdd19 |
@@ -1,6 +1,6 @@
|
|
|
93cdd19 |
-isObject = require 'lodash/isObject'
|
|
|
93cdd19 |
-isFunction = require 'lodash/isFunction'
|
|
|
93cdd19 |
-isEmpty = require 'lodash/isEmpty'
|
|
|
93cdd19 |
+isObject = require 'lodash/lang/isObject'
|
|
|
93cdd19 |
+isFunction = require 'lodash/lang/isFunction'
|
|
|
93cdd19 |
+isEmpty = require 'lodash/lang/isEmpty'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
XMLElement = null
|
|
|
93cdd19 |
XMLCData = null
|
|
|
93cdd19 |
diff --git a/src/XMLProcessingInstruction.coffee b/src/XMLProcessingInstruction.coffee
|
|
|
93cdd19 |
index 1b31a8b..06a3d51 100644
|
|
|
93cdd19 |
--- a/src/XMLProcessingInstruction.coffee
|
|
|
93cdd19 |
+++ b/src/XMLProcessingInstruction.coffee
|
|
|
93cdd19 |
@@ -1,4 +1,4 @@
|
|
|
93cdd19 |
-create = require 'lodash/create'
|
|
|
93cdd19 |
+create = require 'lodash/object/create'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
# Represents a processing instruction
|
|
|
93cdd19 |
module.exports = class XMLProcessingInstruction
|
|
|
93cdd19 |
diff --git a/src/XMLRaw.coffee b/src/XMLRaw.coffee
|
|
|
93cdd19 |
index 0be7712..160d08e 100644
|
|
|
93cdd19 |
--- a/src/XMLRaw.coffee
|
|
|
93cdd19 |
+++ b/src/XMLRaw.coffee
|
|
|
93cdd19 |
@@ -1,4 +1,4 @@
|
|
|
93cdd19 |
-create = require 'lodash/create'
|
|
|
93cdd19 |
+create = require 'lodash/object/create'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
XMLNode = require './XMLNode'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
diff --git a/src/XMLText.coffee b/src/XMLText.coffee
|
|
|
93cdd19 |
index dc3a34e..6415773 100644
|
|
|
93cdd19 |
--- a/src/XMLText.coffee
|
|
|
93cdd19 |
+++ b/src/XMLText.coffee
|
|
|
93cdd19 |
@@ -1,4 +1,4 @@
|
|
|
93cdd19 |
-create = require 'lodash/create'
|
|
|
93cdd19 |
+create = require 'lodash/object/create'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
XMLNode = require './XMLNode'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
diff --git a/src/index.coffee b/src/index.coffee
|
|
|
93cdd19 |
index b43ab4e..f7e2459 100644
|
|
|
93cdd19 |
--- a/src/index.coffee
|
|
|
93cdd19 |
+++ b/src/index.coffee
|
|
|
93cdd19 |
@@ -1,4 +1,4 @@
|
|
|
93cdd19 |
-assign = require 'lodash/assign'
|
|
|
93cdd19 |
+assign = require 'lodash/object/assign'
|
|
|
93cdd19 |
|
|
|
93cdd19 |
XMLBuilder = require './XMLBuilder'
|
|
|
93cdd19 |
|