Skip to content

Commit fd26e74

Browse files
modify bugs
1 parent a0ddcf9 commit fd26e74

File tree

4 files changed

+104
-3
lines changed

4 files changed

+104
-3
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ NativeCss.prototype._filterValueMixed = function (property, valueMixed) {
164164
* @return {[type]} [description]
165165
*/
166166
NativeCss.prototype._boxTransfer = function (propertyName, value) {
167-
const _arr = value.split(' '),
167+
const _arr = value.split(' ');
168168
const _arrLen = _arr.length;
169169

170170
if (_arrLen === 1) {

npm-debug.log

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
0 info it worked if it ends with ok
2+
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'publish' ]
3+
2 info using npm@2.15.5
4+
3 info using node@v6.4.0
5+
4 verbose publish [ '.' ]
6+
5 silly cache add args [ '.', null ]
7+
6 verbose cache add spec .
8+
7 silly cache add parsed spec Result {
9+
7 silly cache add raw: '.',
10+
7 silly cache add scope: null,
11+
7 silly cache add name: null,
12+
7 silly cache add rawSpec: '.',
13+
7 silly cache add spec: '/Users/wangsiyuan/Works/css-parse',
14+
7 silly cache add type: 'directory' }
15+
8 verbose addLocalDirectory /Users/wangsiyuan/.npm/react-native-css-parse/0.1.0/package.tgz not in flight; packing
16+
9 verbose correctMkdir /Users/wangsiyuan/.npm correctMkdir not in flight; initializing
17+
10 verbose tar pack [ '/Users/wangsiyuan/.npm/react-native-css-parse/0.1.0/package.tgz',
18+
10 verbose tar pack '/Users/wangsiyuan/Works/css-parse' ]
19+
11 verbose tarball /Users/wangsiyuan/.npm/react-native-css-parse/0.1.0/package.tgz
20+
12 verbose folder /Users/wangsiyuan/Works/css-parse
21+
13 info prepublish react-native-css-parse@0.1.0
22+
14 verbose addLocalTarball adding from inside cache /Users/wangsiyuan/.npm/react-native-css-parse/0.1.0/package.tgz
23+
15 verbose correctMkdir /Users/wangsiyuan/.npm correctMkdir not in flight; initializing
24+
16 silly cache afterAdd react-native-css-parse@0.1.0
25+
17 verbose afterAdd /Users/wangsiyuan/.npm/react-native-css-parse/0.1.0/package/package.json not in flight; writing
26+
18 verbose correctMkdir /Users/wangsiyuan/.npm correctMkdir not in flight; initializing
27+
19 verbose afterAdd /Users/wangsiyuan/.npm/react-native-css-parse/0.1.0/package/package.json written
28+
20 silly publish { name: 'react-native-css-parse',
29+
20 silly publish version: '0.1.0',
30+
20 silly publish description: 'css parser for react-native',
31+
20 silly publish main: 'index.js',
32+
20 silly publish scripts: { test: 'mocha' },
33+
20 silly publish keywords: [ 'css', 'parse', 'sass', 'react-native' ],
34+
20 silly publish author: { name: 'wangsiyuan' },
35+
20 silly publish license: 'MIT',
36+
20 silly publish dependencies: { 'css-parse': '^2.0.0', mocha: '^3.2.0' },
37+
20 silly publish devDependencies: { chai: '^3.5.0' },
38+
20 silly publish readme: '# react-native-css-parse',
39+
20 silly publish readmeFilename: 'README.md',
40+
20 silly publish gitHead: 'a0ddcf9e91fee754cbe4ea34c04deb035d185737',
41+
20 silly publish _id: 'react-native-css-parse@0.1.0',
42+
20 silly publish _shasum: 'c852ca21693aad20150f56b831dace0288a14517',
43+
20 silly publish _from: '.' }
44+
21 verbose getPublishConfig undefined
45+
22 silly mapToRegistry name react-native-css-parse
46+
23 silly mapToRegistry using default registry
47+
24 silly mapToRegistry registry https://registry.npmjs.org/
48+
25 silly mapToRegistry data Result {
49+
25 silly mapToRegistry raw: 'react-native-css-parse',
50+
25 silly mapToRegistry scope: null,
51+
25 silly mapToRegistry name: 'react-native-css-parse',
52+
25 silly mapToRegistry rawSpec: '',
53+
25 silly mapToRegistry spec: 'latest',
54+
25 silly mapToRegistry type: 'tag' }
55+
26 silly mapToRegistry uri https://registry.npmjs.org/react-native-css-parse
56+
27 verbose publish registryBase https://registry.npmjs.org/
57+
28 silly publish uploading /Users/wangsiyuan/.npm/react-native-css-parse/0.1.0/package.tgz
58+
29 verbose request uri https://registry.npmjs.org/react-native-css-parse
59+
30 verbose request sending authorization for write operation
60+
31 info attempt registry request try #1 at 2:47:42 PM
61+
32 verbose request using bearer token for auth
62+
33 verbose request id f3e0d22ff9078cf8
63+
34 http request PUT https://registry.npmjs.org/react-native-css-parse
64+
35 http 403 https://registry.npmjs.org/react-native-css-parse
65+
36 verbose headers { 'content-type': 'application/json',
66+
36 verbose headers 'cache-control': 'max-age=300',
67+
36 verbose headers 'content-length': '95',
68+
36 verbose headers 'accept-ranges': 'bytes',
69+
36 verbose headers date: 'Tue, 28 Feb 2017 06:47:44 GMT',
70+
36 verbose headers via: '1.1 varnish',
71+
36 verbose headers connection: 'keep-alive',
72+
36 verbose headers 'x-served-by': 'cache-itm7425-ITM',
73+
36 verbose headers 'x-cache': 'MISS',
74+
36 verbose headers 'x-cache-hits': '0',
75+
36 verbose headers 'x-timer': 'S1488264463.439385,VS0,VE628',
76+
36 verbose headers vary: 'Accept-Encoding' }
77+
37 verbose request invalidating /Users/wangsiyuan/.npm/registry.npmjs.org/react-native-css-parse on PUT
78+
38 error publish Failed PUT 403
79+
39 verbose stack Error: "You cannot publish over the previously published version 0.1.0." : react-native-css-parse
80+
39 verbose stack at makeError (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:264:12)
81+
39 verbose stack at CachingRegistryClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:252:14)
82+
39 verbose stack at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:172:14)
83+
39 verbose stack at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:200:22)
84+
39 verbose stack at emitTwo (events.js:106:13)
85+
39 verbose stack at Request.emit (events.js:191:7)
86+
39 verbose stack at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1067:10)
87+
39 verbose stack at emitOne (events.js:101:20)
88+
39 verbose stack at Request.emit (events.js:188:7)
89+
39 verbose stack at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:988:12)
90+
40 verbose statusCode 403
91+
41 verbose pkgid react-native-css-parse
92+
42 verbose cwd /Users/wangsiyuan/Works/css-parse
93+
43 error Darwin 15.6.0
94+
44 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "publish"
95+
45 error node v6.4.0
96+
46 error npm v2.15.5
97+
47 error code E403
98+
48 error "You cannot publish over the previously published version 0.1.0." : react-native-css-parse
99+
49 error If you need help, you may report this error at:
100+
49 error <https://github.com/npm/npm/issues>
101+
50 verbose exit [ 1, true ]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-css-parse",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "css parser for react-native",
55
"main": "index.js",
66
"scripts": {

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe('Testing start', function () {
3939
});
4040

4141

42-
describe('_toObejct()', function () {
42+
describe('_toObejct()', function () ::{
4343
it ('should be a Object', function (done) {
4444
fileContent._toObject();
4545

0 commit comments

Comments
 (0)