@udacity/types-service-worker-mock
Advanced tools
Comparing version 1.0.0-rc8 to 1.0.0
"use strict"; | ||
// Why is this a global augmentation? | ||
// | ||
// Because service-worker-mock uses the ServiceWorkerGlobalScope class name | ||
// instead of ServiceWorkerGlobalScopeMock. | ||
// ref: https://github.com/pinterest/service-workers/issues/110 | ||
/* | ||
Copyright 2019 Udacity, 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. | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,1 +1,17 @@ | ||
/* | ||
Copyright 2019 Udacity, 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. | ||
*/ | ||
declare module 'service-worker-mock' { | ||
@@ -2,0 +18,0 @@ export interface EnvOptions { |
{ | ||
"name": "@udacity/types-service-worker-mock", | ||
"version": "1.0.0-rc8", | ||
"version": "1.0.0", | ||
"description": "TypeScript types for service-worker-mock", | ||
@@ -30,3 +30,4 @@ "main": "global.js", | ||
"global.d.ts", | ||
"index.d.ts" | ||
"index.d.ts", | ||
"LICENSE" | ||
], | ||
@@ -33,0 +34,0 @@ "dependencies": { |
@@ -6,2 +6,16 @@ # TypeScript types for Service Worker Mock | ||
Source: https://github.com/udacity/cloudflare-typescript-workers | ||
See additional details and a demo in: | ||
https://github.com/udacity/cloudflare-typescript-workers | ||
## Warning | ||
These types are incomplete as they were created in service of extending the | ||
`service-worker-mock` project for use with Cloudflare Workers. The types should | ||
be pushed to the `@types` project or directly in `service-worker-mock` when | ||
complete. | ||
## License | ||
Licensed under the Apache License, Version 2.0. | ||
© 2019 Udacity, Inc. |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
14979
6
53
1
21