instructure-canvas-api
Advanced tools
Comparing version 2.0.2 to 2.0.4
@@ -1,1 +0,32 @@ | ||
var _apis=require('../apis/');var _apis2=_interopRequireDefault(_apis);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};} | ||
// | ||
// Copyright (C) 2016-present Instructure, Inc. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
/* @flow */ | ||
import canvas from '../apis/' | ||
export type ApiResponse<T> = AxiosResponse<T> & { | ||
next: ?(() => Promise<ApiResponse<T>>), | ||
} | ||
export type ApiError = { | ||
status: number, | ||
data: { | ||
errors: { message: string }[], | ||
}, | ||
} | ||
export type CanvasApi = typeof canvas |
@@ -1,1 +0,34 @@ | ||
Object.defineProperty(exports,"__esModule",{value:true});var _ref=global,afterAll=_ref.afterAll,afterEach=_ref.afterEach,beforeAll=_ref.beforeAll,beforeEach=_ref.beforeEach,describe=_ref.describe,test=_ref.test,it=_ref.it,expect=_ref.expect;exports.afterAll=afterAll;exports.afterEach=afterEach;exports.beforeAll=beforeAll;exports.beforeEach=beforeEach;exports.describe=describe;exports.test=test;exports.it=it;exports.expect=expect; | ||
// | ||
// Copyright (C) 2016-present Instructure, Inc. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
// @flow | ||
declare var require: typeof require & { requireActual: (string) => any } | ||
declare var jest: any | ||
declare var fail: Function | ||
export const { | ||
afterAll, | ||
afterEach, | ||
beforeAll, | ||
beforeEach, | ||
describe, | ||
test, | ||
it, | ||
expect, | ||
} = (global: any) |
{ | ||
"name": "instructure-canvas-api", | ||
"version": "2.0.2", | ||
"version": "2.0.4", | ||
"description": "API module to interact with canvas", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"prepublishOnly": "gulp prepublish", | ||
"test": "jest", | ||
@@ -24,6 +25,5 @@ "flow": "flow check --show-all-errors", | ||
"jest": "^20.0.4", | ||
"merge-stream": "^1.0.1", | ||
"gulp-json-editor": "^2.2.1" | ||
"merge-stream": "^1.0.1" | ||
}, | ||
"license": "Apache-2.0" | ||
} |
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
76174
7
950
1
3
70