parse-server
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -47,2 +47,4 @@ // A database adapter that works with data exported from the hosted | ||
// Generally just for internal use. | ||
var joinRegex = /^_Join:[A-Za-z0-9_]+:[A-Za-z0-9_]+/; | ||
var otherRegex = /^[A-Za-z][A-Za-z0-9_]*$/; | ||
ExportAdapter.prototype.collection = function(className) { | ||
@@ -54,4 +56,4 @@ if (className !== '_User' && | ||
className !== '_Role' && | ||
!className.match(/^_Join:[A-Za-z0-9_]+:[A-Za-z0-9_]+/) && | ||
!className.match(/^[A-Za-z][A-Za-z0-9_]*$/)) { | ||
!joinRegex.test(className) && | ||
!otherRegex.test(className)) { | ||
throw new Parse.Error(Parse.Error.INVALID_CLASS_NAME, | ||
@@ -58,0 +60,0 @@ 'invalid className: ' + className); |
{ | ||
"name": "parse-server", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "An express module providing a Parse-compatible API server", | ||
@@ -28,3 +28,6 @@ "main": "index.js", | ||
"test": "TESTING=1 jasmine" | ||
}, | ||
"engines": { | ||
"node": ">=4.1" | ||
} | ||
} |
@@ -5,2 +5,8 @@ ## parse-server | ||
Read the announcement blog post here: http://blog.parse.com/announcements/introducing-parse-server-and-the-database-migration-tool/ | ||
Read the migration guide here: https://parse.com/docs/server/guide#migrating | ||
There is a development wiki here on GitHub: https://github.com/ParsePlatform/parse-server/wiki | ||
--- | ||
@@ -36,3 +42,3 @@ | ||
``` | ||
```js | ||
var express = require('express'); | ||
@@ -86,2 +92,2 @@ var ParseServer = require('parse-server').ParseServer; | ||
* Push - We did not rebuild a new push delivery system for parse-server, but we are open to working on one together with the community. | ||
* Push - We did not rebuild a new push delivery system for parse-server, but we are open to working on one together with the community. |
@@ -631,2 +631,3 @@ var mongodb = require('mongodb'); | ||
case '_acl': | ||
case '_email_verify_token': | ||
case '_perishable_token': | ||
@@ -633,0 +634,0 @@ break; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
462924
13531
91
1