Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sencrop-js-api-client

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sencrop-js-api-client - npm Package Compare versions

Comparing version 1.12.0 to 1.13.0

dist/__snapshots__/index.test.js.snap

2

.github/ISSUE_TEMPLATE.md

@@ -44,3 +44,3 @@ <!--

```
If the result is lower than 6.10.0, there is
If the result is lower than 8.10.0, there is
poor chances we even have a look to it. Please,

@@ -47,0 +47,0 @@ use the last [NodeJS LTS version](https://nodejs.org/en/).

@@ -1,6 +0,6 @@

<!--
# This file is automatically generated by the `jsarch`
# module. Do not change it elsewhere, changes would
# be overriden.
-->
[//]: # ( )
[//]: # (This file is automatically generated by the `jsarch`)
[//]: # (module. Do not change it elsewhere, changes would)
[//]: # (be overriden.)
[//]: # ( )
# Architecture Notes

@@ -7,0 +7,0 @@

@@ -20,3 +20,3 @@ /* eslint no-console:0 */

getSwaggerOperations,
} = require('swagger-http-router/src/utils');
} = require('swagger-http-router/dist/utils');

@@ -67,3 +67,3 @@ flattenSwagger(require('../src/swagger.api.json'))

}
* ${parameter.description}`
* ${parameter.description}`,
)}

@@ -92,3 +92,3 @@ * @param {Object} options

throw new Error('Missing required parameter : ${camelCase(
parameter.name
parameter.name,
)}. Value : ' + ${camelCase(parameter.name)});

@@ -121,3 +121,3 @@ }

parameter => `
${parameter.name}: ${camelCase(parameter.name)},`
${parameter.name}: ${camelCase(parameter.name)},`,
)

@@ -132,3 +132,3 @@ .join('')}

parameter.ordered ? '.sort(sortMultipleQuery)' : ''
},`
},`,
)

@@ -135,0 +135,0 @@ .join('')}

@@ -62,3 +62,3 @@ 'use strict';

path.join(__dirname, '../src/swagger.api.json'),
JSON.stringify(api, null, 2)
JSON.stringify(api, null, 2),
);

@@ -65,0 +65,0 @@ } catch (err) {

@@ -0,1 +1,6 @@

<a name="1.13.0"></a>
# [1.13.0](https://github.com/sencrop/sencrop-js-api-client/compare/v1.12.0...v1.13.0) (2018-09-28)
<a name="1.12.0"></a>

@@ -2,0 +7,0 @@ # [1.12.0](https://github.com/sencrop/sencrop-js-api-client/compare/v1.11.0...v1.12.0) (2018-08-24)

@@ -8,7 +8,5 @@ 'use strict';

config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use

@@ -18,14 +16,8 @@ // available frameworks: https://npmjs.org/browse/keyword/karma-adapter

// list of files / patterns to load in the browser
files: [
'test/**/*.spec.js',
],
files: ['test/**/*.e2e.js'],
// list of files to exclude
exclude: [
],
exclude: [],
// preprocess matching files before serving them to the browser

@@ -41,3 +33,2 @@ // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor

// test results reporter to use

@@ -48,19 +39,14 @@ // possible values: 'dots', 'progress'

// web server port
port: 9876,
// enable / disable colors in the output (reporters and logs)
colors: true,
// level of logging
logLevel: config.LOG_INFO,
// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,
// start these browsers

@@ -70,3 +56,2 @@ // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher

// Continuous Integration mode

@@ -73,0 +58,0 @@ // if true, Karma captures browsers, runs the tests and exits

{
"name": "sencrop-js-api-client",
"version": "1.12.0",
"version": "1.13.0",
"description": "The Sencrop JavaScript API client",

@@ -12,2 +12,3 @@ "main": "dist/src/index.js",

"jsdocs",
"tests",
"oss",

@@ -17,8 +18,12 @@ "eslint"

"data": {
"files": "src/**/*.js bin/*.js test/*.js",
"ignore": []
"files": "'src/**/*.js' bin/*.js test/*.js",
"testFiles": "'src/**/*.test..js'",
"ignore": [
"dist",
"API.md"
]
}
},
"scripts": {
"architecture": "jsarch src/**/*.js bin/*.js test/*.js > ARCHITECTURE.md",
"architecture": "jsarch 'src/**/*.js' bin/*.js test/*.js > ARCHITECTURE.md",
"build": "node bin/build.js && npm run prettier",

@@ -28,11 +33,13 @@ "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",

"compile": "babel src/*.js --out-dir dist",
"cover": "jest --coverage",
"cover": "NODE_ENV=${NODE_ENV:-test} jest --coverage",
"cz": "env NODE_ENV=${NODE_ENV:-cli} git cz",
"doc": "mkdir -p .readme; echo \"# API\" > .readme/API.md; jsdoc2md src/**/*.js bin/*.js test/*.js >> .readme/API.md",
"doc": " echo \"# API\" > API.md; jsdoc2md 'src/**/*.js' bin/*.js test/*.js >> API.md",
"import": "node bin/import.js",
"lint": "eslint src/**/*.js bin/*.js test/*.js",
"jest": "NODE_ENV=${NODE_ENV:-test} jest",
"lint": "eslint 'src/**/*.js' bin/*.js test/*.js",
"metapak": "metapak",
"prettier": "prettier --write src/**/*.js bin/*.js test/*.js",
"preversion": "npm run compile && npm run lint && npm t",
"test": "npm run compile && jest --config=.jest.config.js && karma start karma.conf.js",
"precz": "npm run lint && npm run metapak -- -s && npm t",
"prettier": "prettier --write 'src/**/*.js' bin/*.js test/*.js",
"preversion": "npm run compile && npm run lint && npm t && npm run metapak -- -s",
"test": "npm run compile && npm run jest && karma start karma.conf.js",
"version": "npm run changelog && git add CHANGELOG.md"

@@ -55,36 +62,39 @@ },

"dependencies": {
"axios": "^0.16.2",
"axios": "^0.18.0",
"camel-case": "^3.0.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"browserify": "^14.4.0",
"commitizen": "^2.9.6",
"conventional-changelog-cli": "^1.3.8",
"@anilanar/moxios": "^0.9.0",
"@babel/cli": "^7.1.0",
"@babel/core": "^7.1.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"babel-core": "^7.0.0-0",
"browserify": "^16.2.3",
"commitizen": "^2.10.1",
"conventional-changelog-cli": "^2.0.5",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^4.16.0",
"eslint-plugin-prettier": "^2.5.0",
"inquirer": "^5.2.0",
"istanbul": "0.4.5",
"jasmine-core": "^2.7.0",
"jest": "20.0.4",
"jsarch": "1.2.7",
"eslint": "^5.6.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-prettier": "^2.6.2",
"inquirer": "^6.2.0",
"jasmine-core": "^3.2.1",
"jest": "^23.6.0",
"jsarch": "^1.3.0",
"jsdoc-to-markdown": "^4.0.1",
"karma": "^1.7.0",
"karma-browserify": "^5.2.0",
"karma": "^3.0.0",
"karma-browserify": "^5.3.0",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.0.1",
"karma-jasmine": "^1.1.0",
"metapak": "1.0.2",
"metapak-sencrop": "4.1.0",
"moxios": "^0.4.0",
"nock": "^9.0.14",
"prettier": "^1.10.2",
"sinon": "2.3.8",
"swagger-http-router": "^0.1.0",
"karma-firefox-launcher": "^1.1.0",
"karma-jasmine": "^1.1.2",
"metapak": "1.0.3",
"metapak-sencrop": "6.2.0",
"nock": "^10.0.0",
"prettier": "^1.14.3",
"sinon": "^6.3.4",
"swagger-http-router": "^1.6.3",
"watchify": "^3.11.0"
},
"engines": {
"node": ">=6.10.0"
"node": ">=8.10.0"
},

@@ -95,3 +105,51 @@ "config": {

}
},
"eslintConfig": {
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 9
},
"env": {
"es6": true,
"node": true,
"jest": true,
"mocha": true
},
"plugins": [
"prettier",
"import"
],
"rules": {
"prettier/prettier": "error"
}
},
"prettier": {
"semi": true,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "all",
"proseWrap": "always"
},
"babel": {
"presets": [
[
"@babel/env",
{
"targets": {
"node": "6.9.5"
}
}
]
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread"
]
},
"jest": {
"coverageReporters": [
"lcov"
],
"testEnvironment": "node"
}
}

@@ -33,3 +33,3 @@ 'use strict';

'chunked',
]
],
);

@@ -42,3 +42,3 @@

body: response.data,
}).toMatchSnapshot()
}).toMatchSnapshot(),
);

@@ -118,3 +118,3 @@ });

'chunked',
]
],
);

@@ -134,3 +134,3 @@

body: response.data,
}).toMatchSnapshot()
}).toMatchSnapshot(),
);

@@ -179,3 +179,3 @@ });

'chunked',
]
],
);

@@ -202,3 +202,3 @@

body: response.data,
}).toMatchSnapshot()
}).toMatchSnapshot(),
);

@@ -205,0 +205,0 @@ });

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc