Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 32994ee4
authored
Mar 31, 2016
by
Daniel Pedersen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove dependency on wellknown in favor of terraformer-wkt-parser
1 parent
35e68f67
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
changelog.md
lib/data-types.js
package.json
changelog.md
View file @
32994ee
# Next
# Next
-
[
FIXED
]
Support lower case type names in SQLite
[
#5482
](
https://github.com/sequelize/sequelize/issues/5482
)
-
[
FIXED
]
Support lower case type names in SQLite
[
#5482
](
https://github.com/sequelize/sequelize/issues/5482
)
-
[
INTERNALS
]
Removed dependency on wellknown in favor of terraformer-wkt-parser
# 3.20.0
# 3.20.0
-
[
ADDED
]
rejectOnEmpty mode
[
#272
](
https://github.com/sequelize/sequelize/issues/272
)
[
#5480
]
(https://github.com/sequelize/sequelize/issues/5480)
-
[
ADDED
]
rejectOnEmpty mode
[
#272
](
https://github.com/sequelize/sequelize/issues/272
)
[
#5480
]
(https://github.com/sequelize/sequelize/issues/5480)
...
...
lib/data-types.js
View file @
32994ee
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
var
util
=
require
(
'util'
)
var
util
=
require
(
'util'
)
,
_
=
require
(
'lodash'
)
,
_
=
require
(
'lodash'
)
,
Wkt
=
require
(
'
wellknown
'
)
,
Wkt
=
require
(
'
terraformer-wkt-parser
'
)
,
sequelizeErrors
=
require
(
'./errors'
)
,
sequelizeErrors
=
require
(
'./errors'
)
,
warnings
=
{}
,
warnings
=
{}
,
Validator
=
require
(
'validator'
)
,
Validator
=
require
(
'validator'
)
...
@@ -898,7 +898,7 @@ GEOMETRY.prototype.key = GEOMETRY.key = 'GEOMETRY';
...
@@ -898,7 +898,7 @@ GEOMETRY.prototype.key = GEOMETRY.key = 'GEOMETRY';
GEOMETRY
.
prototype
.
escape
=
false
;
GEOMETRY
.
prototype
.
escape
=
false
;
GEOMETRY
.
prototype
.
$stringify
=
function
(
value
)
{
GEOMETRY
.
prototype
.
$stringify
=
function
(
value
)
{
return
'GeomFromText(\''
+
Wkt
.
stringify
(
value
)
+
'\')'
;
return
'GeomFromText(\''
+
Wkt
.
convert
(
value
)
+
'\')'
;
};
};
/**
/**
...
@@ -923,7 +923,7 @@ GEOGRAPHY.prototype.key = GEOGRAPHY.key = 'GEOGRAPHY';
...
@@ -923,7 +923,7 @@ GEOGRAPHY.prototype.key = GEOGRAPHY.key = 'GEOGRAPHY';
GEOGRAPHY
.
prototype
.
escape
=
false
;
GEOGRAPHY
.
prototype
.
escape
=
false
;
GEOGRAPHY
.
prototype
.
$stringify
=
function
(
value
)
{
GEOGRAPHY
.
prototype
.
$stringify
=
function
(
value
)
{
return
'GeomFromText(\''
+
Wkt
.
stringify
(
value
)
+
'\')'
;
return
'GeomFromText(\''
+
Wkt
.
convert
(
value
)
+
'\')'
;
};
};
Object
.
keys
(
helpers
).
forEach
(
function
(
helper
)
{
Object
.
keys
(
helpers
).
forEach
(
function
(
helper
)
{
...
...
package.json
View file @
32994ee
...
@@ -44,9 +44,9 @@
...
@@ -44,9 +44,9 @@
"retry-as-promised"
:
"^2.0.0"
,
"retry-as-promised"
:
"^2.0.0"
,
"semver"
:
"^5.0.1"
,
"semver"
:
"^5.0.1"
,
"shimmer"
:
"1.1.0"
,
"shimmer"
:
"1.1.0"
,
"terraformer-wkt-parser"
:
"^1.1.0"
,
"toposort-class"
:
"^1.0.1"
,
"toposort-class"
:
"^1.0.1"
,
"validator"
:
"^4.6.1"
,
"validator"
:
"^4.6.1"
,
"wellknown"
:
"^0.4.1"
,
"wkx"
:
"0.2.0"
"wkx"
:
"0.2.0"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment