fsevents 1.1.3 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fsevents might be problematic. Click here for more details.

package/.travis.yml CHANGED
@@ -11,7 +11,6 @@ env:
11
11
  - NODE_VERSION="v6"
12
12
  - NODE_VERSION="v5"
13
13
  - NODE_VERSION="v4"
14
- - NODE_VERSION="v0.12"
15
14
  - NODE_VERSION="v0.10"
16
15
 
17
16
  before_install:
package/fsevents.cc CHANGED
@@ -41,6 +41,7 @@ namespace fse {
41
41
  void threadStop();
42
42
 
43
43
  // methods.cc - internal
44
+ Nan::AsyncResource async_resource;
44
45
  Nan::Callback *handler;
45
46
  void emitEvent(const char *path, UInt32 flags, UInt64 id);
46
47
 
@@ -59,7 +60,8 @@ namespace fse {
59
60
 
60
61
  using namespace fse;
61
62
 
62
- FSEvents::FSEvents(const char *path, Nan::Callback *handler): handler(handler) {
63
+ FSEvents::FSEvents(const char *path, Nan::Callback *handler)
64
+ : async_resource("fsevents:FSEvents"), handler(handler) {
63
65
  CFStringRef dirs[] = { CFStringCreateWithCString(NULL, path, kCFStringEncodingUTF8) };
64
66
  paths = CFArrayCreate(NULL, (const void **)&dirs, 1, NULL);
65
67
  threadloop = NULL;
@@ -1,27 +1,30 @@
1
1
  {
2
- "_from": "detect-libc@^1.0.2",
2
+ "_args": [
3
+ [
4
+ "detect-libc@1.0.2",
5
+ "/Users/eshanker/Code/fsevents"
6
+ ]
7
+ ],
8
+ "_from": "detect-libc@1.0.2",
3
9
  "_id": "detect-libc@1.0.2",
4
10
  "_inBundle": false,
5
11
  "_integrity": "sha1-ca1dIEvxempsqPRQxhRUBm70YeE=",
6
12
  "_location": "/detect-libc",
7
13
  "_phantomChildren": {},
8
14
  "_requested": {
9
- "type": "range",
15
+ "type": "version",
10
16
  "registry": true,
11
- "raw": "detect-libc@^1.0.2",
17
+ "raw": "detect-libc@1.0.2",
12
18
  "name": "detect-libc",
13
19
  "escapedName": "detect-libc",
14
- "rawSpec": "^1.0.2",
20
+ "rawSpec": "1.0.2",
15
21
  "saveSpec": null,
16
- "fetchSpec": "^1.0.2"
22
+ "fetchSpec": "1.0.2"
17
23
  },
18
- "_requiredBy": [
19
- "/node-pre-gyp"
20
- ],
24
+ "_requiredBy": [],
21
25
  "_resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.2.tgz",
22
- "_shasum": "71ad5d204bf17a6a6ca8f450c61454066ef461e1",
23
- "_spec": "detect-libc@^1.0.2",
24
- "_where": "/Users/eshanker/Code/fsevents/node_modules/node-pre-gyp",
26
+ "_spec": "1.0.2",
27
+ "_where": "/Users/eshanker/Code/fsevents",
25
28
  "author": {
26
29
  "name": "Lovell Fuller",
27
30
  "email": "npm@lovell.info"
@@ -32,14 +35,12 @@
32
35
  "bugs": {
33
36
  "url": "https://github.com/lovell/detect-libc/issues"
34
37
  },
35
- "bundleDependencies": false,
36
38
  "contributors": [
37
39
  {
38
40
  "name": "Niklas Salmoukas",
39
41
  "email": "niklas@salmoukas.com"
40
42
  }
41
43
  ],
42
- "deprecated": false,
43
44
  "description": "Node.js module to detect the C standard library (libc) implementation family and version",
44
45
  "devDependencies": {
45
46
  "ava": "^0.23.0",
@@ -1,26 +1,31 @@
1
1
  {
2
- "_from": "node-pre-gyp@^0.6.39",
2
+ "_args": [
3
+ [
4
+ "node-pre-gyp@0.6.39",
5
+ "/Users/eshanker/Code/fsevents"
6
+ ]
7
+ ],
8
+ "_from": "node-pre-gyp@0.6.39",
3
9
  "_id": "node-pre-gyp@0.6.39",
4
10
  "_inBundle": false,
5
11
  "_integrity": "sha512-OsJV74qxnvz/AMGgcfZoDaeDXKD3oY3QVIbBmwszTFkRisTSXbMQyn4UWzUMOtA5SVhrBZOTp0wcoSBgfMfMmQ==",
6
12
  "_location": "/node-pre-gyp",
7
13
  "_phantomChildren": {},
8
14
  "_requested": {
9
- "type": "range",
15
+ "type": "version",
10
16
  "registry": true,
11
- "raw": "node-pre-gyp@^0.6.39",
17
+ "raw": "node-pre-gyp@0.6.39",
12
18
  "name": "node-pre-gyp",
13
19
  "escapedName": "node-pre-gyp",
14
- "rawSpec": "^0.6.39",
20
+ "rawSpec": "0.6.39",
15
21
  "saveSpec": null,
16
- "fetchSpec": "^0.6.39"
22
+ "fetchSpec": "0.6.39"
17
23
  },
18
24
  "_requiredBy": [
19
25
  "/"
20
26
  ],
21
27
  "_resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.6.39.tgz",
22
- "_shasum": "c00e96860b23c0e1420ac7befc5044e1d78d8649",
23
- "_spec": "node-pre-gyp@^0.6.39",
28
+ "_spec": "0.6.39",
24
29
  "_where": "/Users/eshanker/Code/fsevents",
25
30
  "author": {
26
31
  "name": "Dane Springmeyer",
@@ -32,7 +37,6 @@
32
37
  "bugs": {
33
38
  "url": "https://github.com/mapbox/node-pre-gyp/issues"
34
39
  },
35
- "bundleDependencies": false,
36
40
  "dependencies": {
37
41
  "detect-libc": "^1.0.2",
38
42
  "hawk": "3.1.3",
@@ -46,7 +50,6 @@
46
50
  "tar": "^2.2.1",
47
51
  "tar-pack": "^3.4.0"
48
52
  },
49
- "deprecated": false,
50
53
  "description": "Node.js native addon binary install tool",
51
54
  "devDependencies": {
52
55
  "aws-sdk": "^2.28.0",
@@ -21,9 +21,7 @@
21
21
  "saveSpec": null,
22
22
  "fetchSpec": "1.4.1"
23
23
  },
24
- "_requiredBy": [
25
- "/tough-cookie"
26
- ],
24
+ "_requiredBy": [],
27
25
  "_resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
28
26
  "_spec": "1.4.1",
29
27
  "_where": "/Users/eshanker/Code/fsevents",
@@ -44,7 +42,6 @@
44
42
  "url": "http://allyoucanleet.com/"
45
43
  }
46
44
  ],
47
- "dependencies": {},
48
45
  "description": "A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.",
49
46
  "devDependencies": {
50
47
  "coveralls": "^2.11.4",
@@ -80,7 +77,6 @@
80
77
  "license": "MIT",
81
78
  "main": "punycode.js",
82
79
  "name": "punycode",
83
- "optionalDependencies": {},
84
80
  "repository": {
85
81
  "type": "git",
86
82
  "url": "git+https://github.com/bestiejs/punycode.js.git"
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "fsevents",
3
- "version": "1.1.3",
3
+ "version": "1.2.0",
4
4
  "description": "Native Access to Mac OS-X FSEvents",
5
5
  "main": "fsevents.js",
6
6
  "dependencies": {
7
- "nan": "^2.3.0",
8
- "node-pre-gyp": "^0.6.39"
7
+ "nan": "^2.9.2",
8
+ "node-pre-gyp": "^0.9.0"
9
9
  },
10
10
  "os": [
11
11
  "darwin"
package/src/methods.cc CHANGED
@@ -11,7 +11,7 @@ void FSEvents::emitEvent(const char *path, UInt32 flags, UInt64 id) {
11
11
  Nan::New<v8::Number>(flags),
12
12
  Nan::New<v8::Number>(id)
13
13
  };
14
- handler->Call(3, argv);
14
+ handler->Call(3, argv, &async_resource);
15
15
  }
16
16
 
17
17
  NAN_METHOD(FSEvents::New) {